This is a migrated thread and some comments may be shown as answers.

Iphone Simulator issue after latest AppBuilder update

3 Answers 30 Views
Report a bug
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Matthew
Top achievements
Rank 1
Matthew asked on 12 Nov 2014, 04:44 AM
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

3 Answers, 1 is accepted

Sort by
0
Matthew
Top achievements
Rank 1
answered on 12 Nov 2014, 04:54 AM
And before you mention it, no clearing the BlackDragon cache does not resolve the issue
0
Matthew
Top achievements
Rank 1
answered on 13 Nov 2014, 12:02 AM
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
}
0
Kaloyan
Telerik team
answered on 14 Nov 2014, 01:50 PM
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.

 
Tags
Report a bug
Asked by
Matthew
Top achievements
Rank 1
Answers by
Matthew
Top achievements
Rank 1
Kaloyan
Telerik team
Share this question
or