Software Archive
Read-only legacy content
17061 Discussions

Can't add BILLING permissions

Antoine_D_
Beginner
491 Views

Hi,

I'm using this plugin https://github.com/j3k0/cordova-plugin-purchase to implement in app purchase. I followed this little tutorial http://www.html5gamedevs.com/topic/12570-in-app-purchase-mission-accomplished/

But I can't add the BILLING permissions. I tried to add BILLING or com.android.vending.BILLING

but the permissions are rewritten when the build is done and they become :

  • Added permission "android.permission.com.android.vending.BILLING"
  • AND
  • Added permission "android.permission.BILLING"

 

I should have "com.android.vending.BILLING" in my permission or the google developper console doesn't recognize that my app have in app purchase  :

Capture.jpg

I tried to add this in the intelxdk.config.additions.xml

<preference name="android-permission" value="BILLING" />
<preference name="android-permission" value="com.android.vending.BILLING" />
<preference name="uses-permission" value="BILLING" />
<preference name="uses-permission" value="com.android.vending.BILLING" />

but that didn't work either..

Thanks for the help.

0 Kudos
2 Replies
Antoine_D_
Beginner
491 Views

Is there somebody that used Intel XDK for an app with in-app purchase ??
 

0 Kudos
PaulF_IntelCorp
Employee
491 Views

You do not need to set the BILLING permission if you are using that plugin, the plugin.xml file sets it for your, see the contents of this file from the repo you are pointing to: https://github.com/j3k0/cordova-plugin-purchase/blob/master/plugin.xml

0 Kudos
Reply