The difference between "com.android.vending.BILLING" and "android.permission.BILLING"

While setting up in-app purchases in my application, I came across the fact that there are two permissions related to billing:

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

What is the difference between these two permissions? Most people on the Internet seem to claim to use the former for in-app purchases, but then why the latter?

+4
source share
1 answer

The payment in the application depends on the Google Play application, which handles all communication between your application and the Google Play server. In order to use the Google Play app, your app must request the correct permission. You do this by adding com.android.vending.BILLING permission to your AndroidManifest.xml file:

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

but for

 <uses-permission android:name="android.permission.BILLING" /> 

I don’t see if any value matters if in the latest version of android they don’t have a library for such permissions, without having to use the Google Play application to process billing in the application. Read more here http://developer.android.com/google/play/billing/billing_integrate.html

0
source

All Articles