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

Issue with Everlive and Coredova After build for real devices

1 Answer 49 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Skysoft
Top achievements
Rank 1
Skysoft asked on 29 Apr 2016, 03:44 AM

I build the app for android and select App Packages, in which it generate downloadable .apk file. I import that .apk file on android mobile and install the app and it throws the error and I can't be able login(The error is everlive object is undefined). But when I install AppBuilder Companion App on android device and scan the QR code to test the application, and as a result it working fine. For Android and Windows devices, the application working fine when we test the app through the scan of QR code in AppBuilder Companion App but only the issue left with iPhone devices and .apk file.

Please suggest how to resolve this issue?

1 Answer, 1 is accepted

Sort by
0
Anton Dobrev
Telerik team
answered on 03 May 2016, 09:26 AM
Hi Carlos,

As far as I understand from your post, your app throws an Everlive is not defined error when the app is build as APK and installed on Android device. The same issue occurs when the app is opened via a QR code in the companion app on iOS device.

This is a common error when the Backend Services (formerly known as Everlive) JavaScript SDK is not accessible or unavailable in your code. Could you please verify if you have referenced the Backend Services JavaScript SDK in your project? There are a few means to import the SDK in your project explained here.

Next, I would recommend you to check the order in which your scripts are being loaded depending on your application's life-cycle - is the Everlive instance used before it is loaded?

Also you may need to check whether there is another error in the developer console using the debugging tools as explained here which prevents the script from loading.

If the issue persists, please provide a runnable sample that illustrates the issue and we will investigate it.

I look forward to your reply.

Regards,
Anton Dobrev
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
Tags
General Discussions
Asked by
Skysoft
Top achievements
Rank 1
Answers by
Anton Dobrev
Telerik team
Share this question
or