Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]

use in-app purchases plugins for local app market
Started by amirmatinpoor Apr 10 2017 07:45 AM

1 reply to this topic
in-app purchases google iap iap badger
This topic has been archived. This means that you cannot reply to this topic.
[TOPIC: post.html]


[GLOBAL: userInfoPane.html]
  • Observer

  • 5 posts
  • Corona SDK

Hi dear Corona team and users

I want to publish my app on an android market in my country and China.
this market uses the google IN-APP BILLING VERSION 3 to provide in- app  purchases for developers .however they changed 3 lines
of TrivialDrive example code for this purpose that the app connect to their server against google play .
these changes are as follows:

1) in AndroidManifest.xml

<uses-permission android:name="com.android.vending.BILLING"/>
changed to
<uses-permission android:name="com.farsitel.bazaar.permission.PAY_THROUGH_BAZAAR"/>

2,3) in IabHelper class

Intent serviceIntent = new Intent("com.android.vending.billing.InAppBillingService.BIND");

changed to
Intent serviceIntent = new Intent("ir.cafebazaar.pardakht.InAppBillingService.BIND");

With these explanation !; how can i use corona  IAP plugins to implement and adapting with this changes ?


[TOPIC: post.html]


[GLOBAL: userInfoPane.html]
  • Observer

  • 24 posts
  • Corona SDK

hi amir :)

you should use corona enterprise, you cannot do that in corona sdk