Jez D
Jez D

Reputation: 1489

Sencha onUpdated() function & native apps

I have read much about this function and I understand how it works in the web environment. This article gives a good explanation. How does onUpdated work

What I would like to know is how do I get this to work on Native Apps

Upvotes: 0

Views: 397

Answers (1)

Claudio Bertozzi
Claudio Bertozzi

Reputation: 616

When you encapsulate a web app to build a native app using a framework like PhoneGap for example, you have to build the Sencha app in package mode that disable the use of the manifest, finally you have to copy the built app in the native OS specific folder of your app and build it to make the binary, so, the web app sources are inside your native binary and not downloaded from a server.

So, the "onUpdate" event is never triggered in native apps and you have to manually release a new version of the app every time you change the web app sources.

Upvotes: 2

Related Questions