BILLING_KEY. That piece of information can be found on the Google Play Publisher Console.
cordova plugin addcommand. There is little subtleties on Android.
cordova build android --releasewith the correct command line arguments. It requires you have generated a
keystorefile for your application already.
aliasas release, you can use any value, but just remember the value you chose.
android-release.keystorefile in a safe place, backup it everywhere you can! Don't loose it, don't loose the password. You won't EVER be able to update your app on Google Play without it!
$KEYSTORE_PASSWORDwith whatever match your those from your
www/index.htmlfile with the below.
Content-Security-Policyby adding it to the
nonconsumable1that we registered in the initialization code above.
initStore()function, line 20.
refreshProductUI()function at the bottom of the file.
android-release.shscript has a shortcut that will build, install and start
canPurchasestate of the product will change to
false. But remember, we added this in the previous step:
approvedevent, let's handle it by adding the below to the
initStore()function, before the call to
initStore()function, anywhere before the initial
store.refresh(). Also add the recommended
index.htmlas mentioned in the documentation.