I already have an application it's working and running on google play store using Android java , now I update the same application with react-native the whole app is changed , what options do I have to use the same account for my old app and can we update the application with the new one ? and what ill happen after the update especially if there is internal data saved?
-
So you want to know if once updated, the old version of the App can still be used on Play Store? Or are you asking how to update an App?G0dsquad– G0dsquad2018-06-14 09:48:53 +00:00Commented Jun 14, 2018 at 9:48
-
I'm asking what will happen to the old data saved once the old users do the update ?Marcel Adel– Marcel Adel2018-06-14 09:55:50 +00:00Commented Jun 14, 2018 at 9:55
-
Was it using RN before?G0dsquad– G0dsquad2018-06-14 10:05:18 +00:00Commented Jun 14, 2018 at 10:05
-
No it was regular android appMarcel Adel– Marcel Adel2018-06-14 10:07:33 +00:00Commented Jun 14, 2018 at 10:07
-
Then I don't think it's possible to migrate unless it's stored in a Cloud service or SQLite. stackoverflow.com/questions/44376002/…G0dsquad– G0dsquad2018-06-14 10:27:49 +00:00Commented Jun 14, 2018 at 10:27
Add a comment
|
1 Answer
As long as the application:
- is built to an APK or App Bundle
- has the same package name / application id
- has the same signing certificate
then Google Play doesn't care what language your app was built with, you can just replace one APK with another.
As with any update, internal data is stored on app specific local storage. You will have to write code in the new React app to read saved code from the Java app. How hard this is depends on how you wrote the internal saved data.