You found a bug! We've classified it as TOUCH-5455 . 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
    Jul 2013
    Posts
    13
    Vote Rating
    0
    SoftCel is on a distinguished road

      0  

    Default [Sencha Touch 2.3.1] After reload page "Ext.device.Device.uuid" do not work

    [Sencha Touch 2.3.1] After reload page "Ext.device.Device.uuid" do not work


    Sencha Touch: 2.3.1
    Cmd: 4.0.2.67 (on Windows 7 x32)
    Android API Level: 16
    Device: Nexus 7 (Android 4.2.2)

    I build native application, and i have problems with Ext.device.Device.uuid.
    When i launch application (first run) Ext.device.Device.uuid show me correct uuid, but after command window.location.realod() (reload page for language change) Ext.device.Device.uuid show anonymous.

    I test this application on many other Android devices - this problem persist.

    This is bug, or i do not know how to use this function?

  2. #2
    Sencha - Support Team
    Join Date
    Oct 2011
    Posts
    3,978
    Vote Rating
    132
    fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all

      1  

    Default


    Thanks for the report. I just want to verify that you are using Sencha native packager and not cordova. I also noticed that your Android API level is wrong. For Android 4.4.2 you should be using Android API 19. Please provide source code for a test case to reproduce this issue.
    Get more personalized support via a support subscription.

    Want to learn Sencha Touch 2? Check out
    Sencha training
    Sencha Touch in Action

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

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

    Need to include a test case use:
    The official Sencha Fiddle

  3. #3
    Sencha User
    Join Date
    Jul 2013
    Posts
    13
    Vote Rating
    0
    SoftCel is on a distinguished road

      0  

    Default


    Sencha Touch: 2.3.1
    Cmd: 5.0.0.114 (on Windows 7 x32)
    Android API Level: 16 (packager.json)
    Test Device: Nexus 7 (with Android 4.2.2)

    Generate application: sencha generate app test C:\path\test
    Build application: sencha app build native

    I attached source code.

    Thank you for your help in advance.
    Attached Files

  4. #4
    Sencha User
    Join Date
    Jul 2013
    Posts
    13
    Vote Rating
    0
    SoftCel is on a distinguished road

      0  

    Default


    Testing


    Device: Asus Nexus 7 (Android 4.2.2):
    1. Launch: correct uuid
    2. Reload: anonymouse uuid
    3, 4, 5, 6, 7, 8, 9: Reload: anonymouse uuid

    Device: Asus ME173X (Android 4.2.2):
    1. Launch: anonymouse uuid
    2. Reload: anonymouse uuid
    3. Reload: correctuuid
    4. Reload: anonymouse uuid
    5. Reload: anonymouse uuid
    6. Reload: correctuuid
    7. Reload: correctuuid
    8. Reload: anonymouseuuid
    9. Reload: anonymouseuuid

    Device: Nexus 5 (phone) (Android 4.4.2):
    ~
    Same results like Asus ME173X

    +
    Other devices on Android 4.2.2 - same problem.

  5. #5
    Ext JS Premium Member
    Join Date
    May 2011
    Posts
    11
    Vote Rating
    0
    csowell is on a distinguished road

      0  

    Default


    I have the same issue running on a Samsung Rugby Pro, Android 4.1.2 (API Level 16).

  6. #6
    Sencha - Support Team
    Join Date
    Oct 2011
    Posts
    3,978
    Vote Rating
    132
    fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all

      1  

    Default


    Thanks for the test case! I have opened a bug in our bug tracker. Have you tried using cordova.

    https://github.com/apache/cordova-plugin-device/blob/dev/doc/index.md

    I received consistent results when I packaged the same app with cordova.

  7. #7
    Sencha User
    Join Date
    Jul 2013
    Posts
    13
    Vote Rating
    0
    SoftCel is on a distinguished road

      0  

    Default


    Please inform us when this bug will be solutioned.

    fmoseley, Thanks.

  8. #8
    Sencha - Support Team
    Join Date
    Oct 2011
    Posts
    3,978
    Vote Rating
    132
    fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all

      0  

    Default


    I cannot say. This issue is in Engineering's hands now where it must be vetted and prioritized against the current existing issues in the framework. I would strongly recommend packaging your application with cordova and using the plugin I mentioned in my previous post.
    Get more personalized support via a support subscription.

    Want to learn Sencha Touch 2? Check out
    Sencha training
    Sencha Touch in Action

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

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

    Need to include a test case use:
    The official Sencha Fiddle

Thread Participants: 2