Releasing on mobile platforms

From MMS Wiki
Jump to: navigation, search

Android

First, go to: https://play.google.com/apps/publish/

Done through Android studio:

In android/build.gradle add the versionName field inside defaultConfig and change the versionCode field to be the next from current found on play console:

defaultConfig { versionName "1.0.3" versionCode 100018

       applicationId privateHelpers.extractStringFromManifest("package")
       if (cdvMinSdkVersion != null) {
           minSdkVersion cdvMinSdkVersion
       }

}

Make sure gradle sync happens

Generate signed APK by selecting 'Build -> Generate Signed APK...' (use the passwords and keypass file from e-mail)

Upload the file: <project>/cordova/project/platforms/android/android-release.apk