Skip to content
This repository has been archived by the owner on Apr 28, 2022. It is now read-only.

How To support Nokia Store

akarimova edited this page Nov 10, 2014 · 5 revisions

In the Code

  1. In the AndroidManifest.xml add the corresponding billing permission

    <uses-permission android:name="com.nokia.payment.BILLING"/>
  2. Map the SKUs if required.

    OpenIabHelper.mapSku(SKU_PREMIUM, OpenIabHelper.NAME_NOKIA, "1023608");
    OpenIabHelper.mapSku(SKU_GAS, OpenIabHelper.NAME_NOKIA, "1023609");
    // subs are not supported
    // OpenIabHelper.mapSku(SKU_INFINITE_GAS, OpenIabHelper.NAME_NOKIA, "1023610");
  3. In the proguard configuration file

    # NOKIA
    -keep class com.nokia.payment.iap.aidl.**
    

Test

To test .apk, please ensure that

  • for OpenIAB

    # install for Nokia Store:
    adb install -i com.nokia.payment.iapenabler /path/to/YourApp.apk
Clone this wiki locally