Reputation: 19725
How is that supercell's clash royale update it's app (features, content, etc) inside the app itself without going to the app store?
Is it because they are supercell or is it possible to mere mortals to have an awesome in-app update experience like that? Any clue on how to do it?
UPDATE: I know this can be done for javascript-framework apps (react, cordova, etc) I'm asking for non-javascript ones (xamarin, swift, obj-c, c++, native, whatever)
Upvotes: 1
Views: 4914
Reputation: 2321
one way is(for android):
Edit for IOS:
Upvotes: 1
Reputation: 69479
You are allowed to download data, like Clash of the titans does. They download level data but they do not patch or upgrade there main app. Since all data in main bundle is read only you can not just override it.
Also the App Store Review Guidelines restrict this:
Apps should be self-contained in their bundles, and may not read or write data outside the designated container area, nor may they download, install, or execute code, including other iOS, watchOS, macOS, or tvOS apps
Upvotes: 2