We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
#Introduction to OPFIab OPFIab is Android library which provides easy way to integrate in-app billing, developed with following goals in mind:
Dependencies:
compile 'de.greenrobot:eventbus:2.4.0'
compile 'org.onepf:opfutils:x.x.x'
compile 'org.onepf:opfiab:x.x.x@aar
If for some reason you don't want to use AAR it's possible to hook up OPFIab as jar.
AAR
OPFIab
jar
Add following to you AndroidManifest.xml
AndroidManifest.xml
<application> <activity android:name="org.onepf.opfiab.android.OPFIabActivity" android:configChanges="fontScale|keyboard|keyboardHidden|layoutDirection|locale|mcc|mnc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|touchscreen|uiMode" android:launchMode="singleTask" android:theme="@android:style/Theme.Translucent.NoTitleBar"/> </application>
To add support for specific billing provider check out corresponding wiki page.
Be sure to check out our usage guide:
Enable logging:
OPFLog.setEnabled(BuildConfig.DEBUG, true);
-keepclassmembers class ** { public void onEvent*(**); }