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

AppManagerLiveSync Cordova 6.5.0 bug, TypeScript typings, and API documentation

1 Answer 54 Views
AppBuilder extension for Visual Studio
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Enterprise
Top achievements
Rank 1
Enterprise asked on 10 May 2017, 06:27 AM

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`.

http://docs.telerik.com/platform/appbuilder/cordova/appmanager-livesync/customize-appmanager-livesync-updates

http://docs.telerik.com/platform/appbuilder/cordova/appmanager-livesync/appmanager-livesync-api-reference

 

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?

 

1 Answer, 1 is accepted

Sort by
0
Accepted
Garo
Telerik team
answered on 12 May 2017, 04:34 PM
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.

Regards,
Garo
Telerik by Progress
 

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

 
Tags
AppBuilder extension for Visual Studio
Asked by
Enterprise
Top achievements
Rank 1
Answers by
Garo
Telerik team
Share this question
or