Playstore: I can't create subscriptions
Asked Answered
L

1

11

I'm just trying to create a subscription. If you read the oficial documentation you will see:

Open Play Console and go to the Subscriptions page (Monetize > Products > Subscriptions). Click Create subscription.

The problem is that I don't have the label. I only have a button to upload a APK.

Playstore create subscription

Lindstrom answered 24/12, 2022 at 11:21 Comment(0)
D
14

I had the same problem... it turns out that before you can set up a subscription, your app needs to have the <uses-permission android:name="com.android.vending.BILLING" /> permission in your manifest file. You can get that in there one of two ways: either by manually adding it, or by simply adding a library dependency to implementation "com.android.billingclient:billing:5.1.0" (or whatever the latest version is) to your build file, rebuilding, and re-upload. Once Play console sees the billing permission on your APK, it will allow you to create a subscription (assuming you also have a merchant account setup correctly).

Disburden answered 20/1, 2023 at 20:38 Comment(3)
It took me way too long to find this solutionEpileptoid
@robert-c-barth Extremely helpful, got me unblocked on an Expo project to get the billing client implemented using the withDangerousMond approach.Subbase
@Robert C. Barth once I added the permission to the manifest file, should I upload it to the internal testing? or it must be at least closed testing?Birdman

© 2022 - 2024 — McMap. All rights reserved.