Revenue Analytics Android Integration¶
Setup¶
In order to use Google In App Billing / Flurry logPayment, you must add the IInAppBillingService.aidl
file to your app under
src/main/aidl/com/android/vending/billing.
Although, If you receive a DexException during your build, specifically
“Multiple dex files define Lcom/android/vending/billing/IInAppBillingService”,
please remove your IInAppBillingService.aidl and use the one provided in Flurry.
Two public APIs have been added:
logPayment: used to pass result from Google In App Billing to Flurry. This method is supposed to be called when you get an activity result back from a Google Play Purchase in your Activity.onActivityResult()
Sample integration
logPayment - Used to pass Flurry explicit details about the payment. This method is supposed to be called when you get an activity result back from a Google Play Purchase in your Activity.onActivityResult()
Example integration
For Revenue Analytics Reporting learn more at Revenue Analytics.