1. #1
    Sencha User
    Join Date
    Apr 2010
    Posts
    55
    Vote Rating
    0
    cavalleydude is on a distinguished road

      0  

    Default Sencha Touch, WebKit and Firefox

    Sencha Touch, WebKit and Firefox


    I've been looking for the definitive answer regarding the Touch library and it's ability to work in Firefox browsers. I've read multiple posts that state Touch is for browsers based on WebKit, and that seems to excludes Firefox.

    Is there any way to make it work on Firefox today (via a plug-in, etc)? Are there plans for Firefox support in the future?

    Any help would be appreciated.

    Cheers,
    Scott

  2. #2
    Sencha - Community Support Team VinylFox's Avatar
    Join Date
    Mar 2007
    Location
    Baltimore, MD
    Posts
    1,501
    Vote Rating
    8
    VinylFox will become famous soon enough VinylFox will become famous soon enough

      0  

    Default


    There is no easy way and there is also no motivation to make it work in FireFox since there are no mobile devices that use the Gecko layout engine.

  3. #3
    Sencha User
    Join Date
    Apr 2010
    Posts
    55
    Vote Rating
    0
    cavalleydude is on a distinguished road

      0  

    Default


    That's too bad. I like the ability to write the app once using the Touch framework and having the app format for the device {iPhone, Android, iPod, iPad, Desktop }. But, having to tell all users that FF is not supported is tough. Hopefully FF will enable WebKit in the near future. I'll check with the FF support group.

    Thanks for the answer.

  4. #4
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,547
    Vote Rating
    873
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    I doubt FireFox will ever "enable" WebKit. Sencha has blogged about wanting HTML5 to be more supported by all browsers so that they wouldn't have to rely on "-webkit*"
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  5. #5
    Ext User
    Join Date
    Jan 2011
    Posts
    1
    Vote Rating
    0
    web4everyone is on a distinguished road

      0  

    Default


    Quote Originally Posted by VinylFox View Post
    There is no easy way and there is also no motivation to make it work in FireFox since there are no mobile devices that use the Gecko layout engine.
    There may not be many of them compared to iOS and Android based devices, but there are mobile devices using gecko for their default web browser and firefox mobile is widely available.

    -posted from my N900

  6. #6
    Sencha User gcallaghan's Avatar
    Join Date
    Apr 2010
    Location
    Cupertino, Ca
    Posts
    247
    Vote Rating
    0
    gcallaghan is on a distinguished road

      0  

    Default


    I've been interested in this too. I haven't had a chance to take a look but I think that the place to start would be the sass files used to generate the css, specifically...

    Code:
    $experimental-support-for-mozilla: false;
    $experimental-support-for-opera: false;
    $experimental-support-for-microsoft: false;
    $experimental-support-for-khtml: false;
    ...found in resources/themes/stylesheets/sencha-touch/default/core/_core.scss

    Note, this is completely beyond the use case, is unsupported, and I haven't even tried it, so you mileage may vary on this rough terrain should you choose to pursue it. But let me know how it goes ;-)

    Also, I could be completely wrong.
    Last edited by gcallaghan; 13 Jan 2011 at 5:16 PM. Reason: punctuation

  7. #7
    Sencha - Community Support Team VinylFox's Avatar
    Join Date
    Mar 2007
    Location
    Baltimore, MD
    Posts
    1,501
    Vote Rating
    8
    VinylFox will become famous soon enough VinylFox will become famous soon enough

      0  

    Default


    Quote Originally Posted by web4everyone View Post
    There may not be many of them compared to iOS and Android based devices, but there are mobile devices using gecko for their default web browser and firefox mobile is widely available.

    -posted from my N900
    Wow, an N900. I thought the Maemo OS was long dead - even they replaced their Gecko based browser with an Opera based one like 2 years ago.

    Either way, the percentage of mobile devices less than 2 years old using gecko is so amazingly tiny. I don't know of a single one.

  8. #8
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,547
    Vote Rating
    873
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    In a perfect world, each browser would work exactly the same or close to it but that just isn't the case. On mobile devices, WebKit has so much more majority than any other that it's just not a good idea to compromise to include the very very small percentage of devices.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  9. #9
    Sencha User
    Join Date
    Apr 2010
    Posts
    55
    Vote Rating
    0
    cavalleydude is on a distinguished road

      0  

  10. #10
    Sencha User
    Join Date
    Mar 2009
    Posts
    14
    Vote Rating
    0
    keithoth is on a distinguished road

      0  

    Default


    The only way to get websockets to work in a mobile web application with sencha touch is with firefox. Firefox 4 mobile is the best mobile browser for the android. Sencha should support and android should make it the default browser for all android devices, unless google wants to create a mobile chrome.

Similar Threads

  1. Replies: 10
    Last Post: 20 Jan 2012, 10:10 AM
  2. WebKit error with sencha
    By anilcs0405 in forum Sencha Touch 1.x: Discussion
    Replies: 3
    Last Post: 17 Nov 2010, 9:36 PM
  3. Sencha Touch on iPhone v1 / iPod touch v1 ?
    By palnap in forum Sencha Touch 1.x: Discussion
    Replies: 4
    Last Post: 28 Oct 2010, 5:30 PM
  4. Sencha - Webkit browsers
    By GirijaSubramanian in forum Sencha Touch 1.x: Discussion
    Replies: 2
    Last Post: 2 Aug 2010, 1:12 PM

Thread Participants: 8