BILLING_KEY
. That piece of information can be found on the Google Play Publisher Console.cordova plugin add
command. There is little subtleties on Android.BILLING_KEY
.cordova build android --release
with the correct command line arguments. It requires you have generated a keystore
file for your application already.alias
as release, you can use any value, but just remember the value you chose.android-release.keystore
file 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_ALIAS
and $KEYSTORE_PASSWORD
with whatever match your those from your keystore
file...<body>
from the www/index.html
file with the below.'unsafe-inline'
Content-Security-Policy
by adding it to the default-src
section.https://reeceipt-validation.fovea.cc
.js/index.js
. Replace the content with the code below, which will setup a minimal application framework and render some HTML into the page based on the app state.onDeviceReady
function.my_subscription1
and my_subscription2
.store.PAID_SUBSCRIPTION
). ⇒ API Documentation.store.refresh()
we will add an handler for the update
event:render()
function:store.off()
so your subscription view is only updated when it's visible.render()
function, we update the code that initialized purchaseProduct1
and purchaseProduct2
.owned
, I will let this as an exercise to the reader.