Iphone Simulator issue after latest AppBuilder update

4 posts, 0 answers
  1. Matthew
    Matthew avatar
    3 posts
    Member since:
    Sep 2013

    Posted 11 Nov 2014 Link to this post

    I have just updated the VS AppBuilder extension today (2014-11-12) and the Iphone devices in the simulator are not working anymore. Only the Android devices in the simulator are working.
    I am getting an undefined error in the SQLitePlugin.js file

    undefined at plugins/com.phonegap.plugins.sqlite/www/SQLitePlugin.js (line: 22)

    When will this be resolved as we are working on a production release at the moment and need the Iphone working in the simulator
  2. Matthew
    Matthew avatar
    3 posts
    Member since:
    Sep 2013

    Posted 11 Nov 2014 in reply to Matthew Link to this post

    And before you mention it, no clearing the BlackDragon cache does not resolve the issue
  3. Matthew
    Matthew avatar
    3 posts
    Member since:
    Sep 2013

    Posted 12 Nov 2014 Link to this post

    For anyone having this issue the fix is below:

    They have changed the device uuid's on the phones and to have it work in iphone, iphone 5, iphone 6 and 6+ include the following device.uuid checks before you fallback to the native SQL Lite database in the simulator

    if (device.uuid == "e0101010d38bde8e6740011221af335301010333" || device.uuid == "e0908060g38bde8e6740011221af335301010333"||
    device.uuid == "e010101036515BCB691C41BB97899D49BEC8DBC8" || device.uuid == "e01010101F30569B00494F8EA13D91A0BA016403"||
    device.uuid == "e0101010B8D89BAE795441BDB48DABC4EE1764A0") {
    //fallback to native sql lite
    }
    else {
    //use the plugin to open the database
    }
  4. Kaloyan
    Admin
    Kaloyan avatar
    872 posts

    Posted 14 Nov 2014 Link to this post

    Hi Matthew,

    Indeed, the latest AppBuilder release introduced two new devices in the AppBuilder simulator, for running your apps on iOS 8. As you have noted, these are the iPhone 6 and iPhone 6 Plus.

    Here are the device uuids for them:

    iPhone 6 - "e010101036515BCB691C41BB97899D49BEC8DBC8"

    iPhone 6 Plus - "e01010101F30569B00494F8EA13D91A0BA016403"

    Further, for sharing this with the community, we have updated your Telerik points accordingly. Thank you

    Regards,
    Kaloyan
    Telerik
     

    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

     
Back to Top