L
L
LEKAPb2015-10-28 19:11:06
Android
LEKAPb, 2015-10-28 19:11:06

VS Cordova App + Cordova-app-loader how to make automatic update?

I'm trying to start an application that should be updated using the plugin https://github.com/markmarijnissen/cordova-app-loader. What I did:
1. Completely copied the scripts from the git.
2. Added plugins: File ,FileTransfer
3. Added policies

<!-- Allow links to web pages to open in a browser -->
<allow-intent href="http://*/*" />
<allow-intent href="https://*/*" />

<!-- Allow links to example.com to open in a browser -->
<allow-intent href="http://example.com/*" />

<!-- Wildcards are allowed for the protocol, as a prefix
     to the host, or as a suffix to the path -->
<allow-intent href="*://*.example.com/*" />

<!-- Allow SMS links to open messaging app -->
<allow-intent href="sms:*" />

<!-- Allow tel: links to open the dialer -->
<allow-intent href="tel:*" />

<!-- Allow geo: links to open maps -->
<allow-intent href="geo:*" />

<!-- Allow all unrecognized URLs to open installed apps
     *NOT RECOMMENDED* -->
<allow-intent href="*" />
<!-- Allow images, xhrs, etc. to google.com -->
<access origin="http://*.*" />
<access origin="https://*.*" />



<!-- Access to all the subdomains on google.com -->
<access origin="http://*.*.*" />

<!-- Enable requests to content: URLs -->
<access origin="content:///*" />

<!-- Don't block any requests -->
<access origin="*" />

when trying to update, an error occurs: Exception: Unexpected end of input
VS project: https://yadi.sk/d/BfTdKYP9k5YMq

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
MetaDone, 2015-10-29
@MetaDone

you don't have this plugin. android.json is also not registered. You probably didn't install the plugin correctly.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question