This question is locked. New answers and comments are not allowed.
Hey guys,
I'm trying to follow the Photo Album Native App tutorial and I'm at the point where I am to test it using QR scan on my iPhone. But every time I scan the QR code using the NativeScript app I get a crash with an error. Can anyone help me figure this out?
Here is the screen shot of stack trace http://i.imgur.com/NJJTaGy.png
Thank you
4 Answers, 1 is accepted
0
Accepted
Hi Ryan,
With the latest version of the NativeScript framework we introduced some changes in the file structure of the NativeScript project. The tutorial and the template project were updated to follow those changes, but the iOS companion app that should work with those changes is still not live at the AppStore. Until the new version comes out, I would suggest the following workaround:
This will allow you to correctly preview the sample application.
Let me know if you have additional questions.
Regards,
Nikolay
Telerik
With the latest version of the NativeScript framework we introduced some changes in the file structure of the NativeScript project. The tutorial and the template project were updated to follow those changes, but the iOS companion app that should work with those changes is still not live at the AppStore. Until the new version comes out, I would suggest the following workaround:
- In the Photo Album Native Code project, right-click the app folder and create a new JavaScript file called bootstrap.js.
- Place the following code line in the bootstrap.js file:
require(
"./"
);
This will allow you to correctly preview the sample application.
Let me know if you have additional questions.
Regards,
Nikolay
Telerik
See What's Next in App Development. Register for TelerikNEXT.
0

Richard
Top achievements
Rank 1
answered on 16 May 2015, 06:17 PM
Thanks for the info Nikolay, if possible, it would be a great help if you guys updated the Nativescript tutorial (I lost time on this as I'm sure everyone will). Also the LiveSync feature doesn't seem to be working in the iOS nativescript app, is this a know issue too?
0

Richard
Top achievements
Rank 1
answered on 17 May 2015, 06:18 PM
Turns out turning off "Zoom" under accessibility settings on iPhone 6 Plus solved the problem for "LiveSync", now it works fine :) The iOS Zoom feature recognizes a 3-finger double tab that apparently interfered with the 3-finger long touch need for the NativeScript app to activate "LiveSync". Not sure if this an iOS bug/feature or one of the NativeScript app.
0
Hi Ryan,
Thank you for the feedback.
I confirm the unexpected behavior when the Zoom feature is turned on. We will think how we can update the LiveSync mechanism, so that it does not interfere with the Accessibility options. You are also correct about the bootstrap.js experience. Actually, we were expecting the NativeScript app update to become live at the AppStore sooner, but since it's still not there, I temporarily added the file in the template project, so that this project can run on both iOS and Android devices.
Regards,
Nikolay
Telerik
Thank you for the feedback.
I confirm the unexpected behavior when the Zoom feature is turned on. We will think how we can update the LiveSync mechanism, so that it does not interfere with the Accessibility options. You are also correct about the bootstrap.js experience. Actually, we were expecting the NativeScript app update to become live at the AppStore sooner, but since it's still not there, I temporarily added the file in the template project, so that this project can run on both iOS and Android devices.
Regards,
Nikolay
Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items