Does shared_preferences stored setting/ properties/ data still exist after user update a new version of the app? - flutter

e.g. app v1.0 stored some user settings through shared_preferences plug-in,
then app v1.1 is published in App Store and Play Store, and user updated to app v1.1,
do those customized settings still work?

Yes, the shared preferences survive app updates.

Related

App developers: Invalidate privisiong profiles when add/remove App Capabilities

My application it's already published on the App store.
I need to add "Associate Domains" to capabilities so I can use Universal Links in my app.
If I save the edit of the capabilities list, a popup appears:
Modify App Capabilities
Adding or removing any capabilities will invalidate any provisioning profiles that include this App ID and they must be regenerated for future use.
This will compromise the future updates of the app and the version that is still on the store?

To update ios app when newer version is available

I am totally new to ios development.
I have an ios7 and ios8 app which do polling to Server to check for latest version.
Once the latest version of app is available I am opening Alert Box(Notification) for user to update App.
Now, once user click on Update Button, Which API I need to use to get latest version of App from Apple App Store or Web Store.
And how can I move the user's saved preferences to new App.
Will be helpful If some one can put code sample to do so.
I don't believe there's an API which you can call to update the app. The only option available is to send the user to the App Store page for your app where they will see the update button.
As far as preferences go if you're storing them in NSUserDefaults or as a plist then they should persist unless the user deletes the application from the device.
I found the solution to my problem.
Every App has a unique url in the App Store.
Lets assume you have updated your app from version 1.1 to 1.2 and releases app in app store.
Now in the application after checking your app version you can use openURL method to redirect to the url of App in app Store
e.g.
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:#"AppURL-String"]];

iOS - is the user able to restore apps that were removed from the store

Suppose the following situation:
A user buys an app
this app is removed from the store temporarily, by changing the availability date to a year in the future. Note that the app was not deleted from the store, it is just hidden by a change on the availability date.
the user deletes the app
the user regrets deleting and wants to restore the app from icloud.
will the user be able to do that? and what about apps that were completely deleted from the store?
thanks.
The other answer is incorrect. Unless you indicate in iTunes Connect that the app was removed for legal reasons (Rights and Pricing section) the user will still be able to re-download the app from iCloud.
If the app is not displayed in the app store(developer hide or remove), user can not re-install it after deleting, until developer make it displayed in app store again.
if developer deleted the app completely from app store , that means the app is not displayed int the app store, user can not re-install it yet, but the developer can re-upload the app again using the same app-id.
Can or not can re-install app depends on whether the app is displayed in app store
Also depends on whether it is the same app-id

Notify User about new update of application in app store as a alert and automatically install updated version in iPhone?

Currently my application with version 1.1 is available in app store.
Current Scenario: when i update new version update is shown in app store when user goes to app store.
Required: As soon as user starts application alert should be popped up and if new version is available in app store it should automatically install that if user clicks OK.
Please suggest me the way to do this.
You can't make it install automatically, you can send the user to the app store app with your itunes app url.
Also you will need to make you're own webservice to check if a new version is available.

iphone application update

i would like to check:
if a user downloaded my app, than i make some update to app, data etc., itunes will auto remind the user of the update through app store, and the user can update for free? or do i have to set such reminder in my application?
else, is there a way for me to send this notification?
thks
Rgds
Yes, the phone notifies of app updates through the App Store app and app updates are free.
Alternatively, you can use push notifications to notify the user that a new version is available, or display an alert the next time they open the app.
To do the latter you can query the version of the app ([[NSBundle mainBundle] objectForInfoDictionaryKey:#"CFBundleVersion"];) and compare it to a value provided by your web server.