@LEKAPb

VS Cordova App + Cordova-app-loader как сделать автоматическое обновление?

Пытаюсь завести приложение которое должно обновляться с помощью плагина https://github.com/markmarijnissen/cordova-app-loader. Что сделал:
1.Полностью скопировал скрипты с гита.
2.Добавил плагины : File ,FileTransfer
3. Добавил политики
<!-- 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="*" />


при попытке обратиться к обновлению вываливается ошибка : Exception: Unexpected end of input

проект VS : https://yadi.sk/d/BfTdKYP9k5YMq
  • Вопрос задан
  • 387 просмотров
Пригласить эксперта
Ответы на вопрос 1
MetaDone
@MetaDone
Хорошо сформулированный вопрос - 50% решения
этого плагина у вас нет. в android.json тоже не прописан. скорее всего не правильно установили этот плагин
Ответ написан
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы