Skip to content

Instantly share code, notes, and snippets.

@kafaichoi
Created September 17, 2014 06:39
Show Gist options
  • Save kafaichoi/a6f8bda444da4e3a5886 to your computer and use it in GitHub Desktop.
Save kafaichoi/a6f8bda444da4e3a5886 to your computer and use it in GitHub Desktop.
Setting Up test build for Ionic App for HockeyApp
Register in HockeyApp
-Android
1. cordova build --release android
2. keytool -genkey -v -keystore my-release-key.keystore -alias alias_name -keyalg RSA -keysize 2048 -validity 10000
3. jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore my-release-key.keystore HelloWorld-release-unsigned.apk alias_name
4. zipalign -v 4 HelloWorld-release-unsigned.apk HelloWorld.apk
5. upload apk file to HockeyApp
-IOS
1. cordova build --release ios
2. open HelloWorld.xcodeproj in Xcode
3. archive it and distribute it as enterprise test
4. upload ipa file to HockeyApp
5. add testing iphone uid to provisioning file.
@jessamynsmith
Copy link

Thank you, very helpful! I can't create enterprise tests, so I had to get my testers' udids and make an ad hoc testing release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment