rm -rf platforms; ionic cordova build android --prod --release
rm -rf platforms; ionic cordova build ios --prod
./zipalign -v 4 [appname-unsigned].apk [appname-signed].apk
java -jar apk-signer-1.8.5.jar verify [appname-signed].apk
./zipalign -v 4 [appname-signed-UNALIGNED].apk [appname-signed-ALIGNED].apk
- Upload the signed and aligned apk via the Google Play Console.
open ./platforms/ios/[appname].xcodeproj
- (Xcode) In the project navigator > [appname].
- In the Project editor
- Select a signing team in "signing"
- In the project navigator > [appname] > resources > [appname]-info.plist
- Add the key references about your app Full List.
- Example
<key>NSPhotoLibraryUsageDescription</key> <string>This app needs to access the Photo Library to update the user profile picture</string>
- Build the app and verify if no errors displaying.
- Product > Archive > [wait...] > publish to app store