As a rule, SharedPreferences (as well as other user data) will be stored during the update process, but sometimes, due to some "unknown" problem, the data may be lost, and I think that it is not under your control. That way, you can simply believe that SharedPreferences will be saved.
As for alarms, how did you set these alarms? If you install them in code, it should be 100% normal if you install them correctly in code.
Of course, the best way to check is to install your updated application on your device before you bring it to the market. First, you must install your market version of the application on your phone, and then export the application using your market key store on your local computer, and finally install the exported version on your phone (the installer must inform you of the update). And you can check if these settings remain.
When exporting, the most important thing is to make sure that you use the same keystore that you use with the market version of the application.
Hope this helps you.
Void Main Apr 18 2018-12-12T00: 00Z
source share