mnill / cordova-app-updater Goto Github PK
View Code? Open in Web Editor NEWSimple plugin for hot update cordova app
License: MIT License
Simple plugin for hot update cordova app
License: MIT License
Get update from sever, perfect working in android but having issue with ios in iOS i have to kill the background app then it is updating the app .
In android it is working without killing background app.
content and path is correct, but can't show the content of index.html.
perhaps iOS don't permit to do like this.
open file://**index.html under app-directory is possible。
error:Received an unexpected URL from the web process: 'file:///Users/mac/Library/Developer/CoreSimulator/Devices/A1BE91E9-93D8-446E-8631-164EAC873377/data/Containers/Data/Application/3789B421-894D-4278-8960-5D1E64DD6B47/Documents/cache/www/index.html'
Received an invalid message "WebPageProxy.DecidePolicyForNavigationAction" from the web process.
Hi, can you please provide the Grunt script that calculates a list of new files?
I've got this error on Cordova 6.1.1 with the following procedure:
There is config.xml for testing.
instruction:
cordova create test
cd test
cordova platform add ios
cordova plugin add https://github.com/mnill/cordova-app-updater
copy\paste my config
cordova run ios --device
config.xml.zip
Update is OK with "mustupdate" but nothing happens with "tryupdate".
What happens if a user misses an update?
How the updater will know which files to download?
Getting error "no network connection". Used an example ionic app checked manifest and
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
Is present. Checked the server and the config.json file and other files exists on the server.\
please advise.
Current version requires internet connection on startup
now i can track this issue =)
I already use a splashcreen in my project that I'm hiding.
<preference name="AutoHideSplashScreen" value="false" />
<preference name="FadeSplashScreenDuration" value="1000" />
<preference name="UpdaterPolicy" value="tryupdate" />
<preference name="UpdaterHideSplashScreen" value="false" />
platform.ready()
.then(log.info('platform ready'))
.then(() => this.getOrCreateUser(this))
.then(() => this.getOrCreateDevice(this))
.then(device => this.registerNotification(device))
.then(() => navigator.splashscreen.hide());
I tried UpdaterHideSplashScreen = true but my splashcreen does not hide. With UpdaterHideSplashScreen = false, the hiding is not triggered by me.
And I never saw the updating progress as mentioned in the documentation.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.