Results 1 to 4 of 4

Thread: Google Nexus 7 tablet is treated as phone in Sencha 2.4.1

    You found a bug! We've classified it as TOUCH-5649 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha User
    Join Date
    Apr 2013
    Location
    Hyderabad
    Posts
    37

    Default Google Nexus 7 tablet is treated as phone in Sencha 2.4.1

    Google Nexus 7 is treated as phone in the latest Sencha touch 2.4.1 after upgrading to lollipop.
    Is this a bug? Has it been noted?

    Any one has a solution for this??


    Abhi.

  2. #2
    Sencha Premium User lumberjack's Avatar
    Join Date
    Nov 2014
    Location
    Kansas
    Posts
    781

    Default

    Thanks for the report. This is a known issue that we are working to resolve in an upcoming release.

    Regards,
    Brian

  3. #3
    Sencha User
    Join Date
    Apr 2013
    Location
    Hyderabad
    Posts
    37

    Default

    Can you please give us an acceptable workaround for this? And why is it after lollipop upgrade?
    --
    Abhi

  4. #4
    Sencha User
    Join Date
    Jul 2015
    Posts
    3

    Default

    The root cause would be

    Code:
     else if (osEnv.is.iPad || osEnv.is.RIMTablet || osEnv.is.Android3 || Ext.browser.is.Silk || (osEnv.is.Android4 && userAgent.search(/mobile/i) == -1)) {
                 deviceType = 'Tablet';
             }
             else {
                 deviceType = 'Phone';
             }
    On Android 5 Nexus 7, (osEnv.is.Android4 && userAgent.search(/mobile/i) == -1) will be false, so Nexus 7 will be considered as a phone.

    I can't believe this issue haven't been solved for almost one year.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •