Skip to content

Use Donations

Lumiq Creative edited this page Jul 15, 2020 · 4 revisions

Enable Billing

  • In /app/src/main/AndroidManifest.xml, uncomment the following.
    <!-- <uses-permission android:name="com.android.vending.BILLING" /> -->
  • In MainActivity.kt, set billingEnabled to true.
    override val billingEnabled = false

Add Products

In /app/src/main/res/values/dashboard_setup.xml, donation-items houses Product IDs, as defined in Google Play Console. Add each as item.

<string-array name="donation_items">
    <item></item>
</string-array>