Android Liberarcodigo

Embed Size (px)

DESCRIPTION

lkkkk

Citation preview

  • //limpiar proyecto ionic --> cordova clean

    http://ionicframework.com/docs/guide/publishing.htmlpass: cobropago_2015cordova build --release android//se guarda en carpeta: platforms/android/build/outputs/apkkeytool -genkey -v -keystore cobro-pago-key.keystore -alias cobro_pago -keyalg RSA -keysize 2048 -validity 10000//debe estar el keystore y el release-unsigned.apkjarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore cobro-pago-key.keystore android-release-unsigned.apk cobro_pago

    //verificar firma --> jarsigner -verify -verbose -certs android-release-unsigned.apk//debe estar en el dir android con el android-release-unsigned.apk android.apk./zipalign -v 4 android-release-unsigned.apk android.apk //root/Android/sdk/build-tools/VERSION/zipalignzipalign -v 4 android-release-unsigned.apk android.apk

    i'll try to make a short list as for me has been a real pain in the ass.

    First, create a new account and pay 99$ at https://developer.apple.com/programs/ios/117login with your developer account (use safari, because cgrome has a bug when creating certificates) and create:1 certificate for development (this needs a Mac OS X computer)1 certificate for production (this needs a Mac OS X computer)1 app ID identifier (with a bundle ID wich will identify your app on xcode and other sites like facebook SDK1 provisioning profile for development1 provisioning profile for productionon xCode, you can set the "team" of your app in the target general. After that, you can specify on target build settings and project build settings the provisioning profiles for production.

    Make sure you have the latest xcode version (5.1.1) because in the 5.1 there is a bug that not allows you to submit to the store throwing a stupid message on screen.

    Go to https://itunesconnect.apple.com109 and click on "manage your apps". There you'll find a ridiculous form asking you some things about your app.

    now, with your iphone unplugged, archive your app making Product > clean, product > clean build folder, product > archive

    if everything goes right, the archiver window should open. Select your "app" and validate it.It will make a previous validation and if everything is nice, you can send ut to apple for revision. Then you must wait a week for apple to reject your app because you've violated the localstorage guidelines and enabled icloud data backup.