Issue with Everlive and Coredova After build for real devices

2 posts, 0 answers
  1. Carlos
    Carlos avatar
    1 posts
    Member since:
    May 2015

    Posted 28 Apr Link to this post

    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?

  2. Anton Dobrev
    Anton Dobrev avatar
    529 posts

    Posted 03 May Link to this post

    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.

    Anton Dobrev
    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
Back to Top