AppManagerLiveSync Cordova 6.5.0 bug, TypeScript typings, and API documentation

Thread is closed for posting
2 posts, 1 answers
  1. Enterprise
    Enterprise avatar
    5 posts
    Member since:
    Feb 2016

    Posted 10 May 2017 Link to this post

    Cordova plugin Telerik AppManager LiveSync 1.2.0 in a Cordova 6.4.0 app with Cordova WKWebView Engine plugin v1.1.1  is not automatically fetching and installing updates on deviceready and resume events as it did with Cordova 4.0.0 with the Telerik WKWebView plugin v0.6.10. As a workaround I am attempting to programmatically call `AppManagerLiveSync.getActiveUpdate` and `AppManagerLiveSync.applyActiveUpdate` on these events but have hit a wall with this implementation.


    I have read fairly extensively through all online documentation I can find on the subject and am unable to find typescript documentation for the AppManagerLiveSync plugin. The following search yielded no results either `typings search AppManagerLiveSync`.


    1. Are there any known bugs with Cordova 6.4.0 + WKWebView Engine 1.1.1 + AppManagerLiveSync 1.2.0 auto configuration?

    2. What are valid plugin configuration values for "Telerik AppManager LiveSync" 1.2.0 IS_API_ENABLED?

    3. How do you import the AppManagerLiveSync class into an Angular 4 typescript component?


  2. Answer
    Garo avatar
    156 posts

    Posted 12 May 2017 Link to this post

    Hello Derek,

    I have addressed the first issue in the separate support ticket that you have opened and if I am not mistaken you have resolved the second one yourself. Please, correct me if this is not the case.

    As for your third question, if I understand you correctly, AppManager does not have a TypeScript implementation and thus documentation. With this in mind, you cannot use the import statement to reference AppManagerLiveSync in your app. However, you should be able to reference it by using require. For example:

    var livesync = require(pathToAppManagerLiveSync);

    I hope this is of any help.

    Telerik by Progress

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

Back to Top