[SOLVED]How not to include in-app purchases in Android applications
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
[SOLVED]How not to include in-app purchases in Android applications
Hello.
I am working on a game with Ren'Py version 7.4.11.2266.
I'm thinking of releasing an Android app on Google Play that doesn't use app billing.
When I try to release an aab file built with Ren'Py,
the Google Play Console says "you need to add physical address in account details" and the app page says "in-app purchases".
I have checked the page in question, but it seems to be different from my current environment.
Is there a solution?
I am working on a game with Ren'Py version 7.4.11.2266.
I'm thinking of releasing an Android app on Google Play that doesn't use app billing.
When I try to release an aab file built with Ren'Py,
the Google Play Console says "you need to add physical address in account details" and the app page says "in-app purchases".
I have checked the page in question, but it seems to be different from my current environment.
Is there a solution?
Last edited by ty_0523 on Mon Jun 20, 2022 6:05 am, edited 1 time in total.
- Imperf3kt
- Lemma-Class Veteran
- Posts: 3636
- Joined: Mon Dec 14, 2015 5:05 am
- Location: Your monitor
- Contact:
Re: How not to include in-app purchases in Android applications
Most likely you have set your app to include in app purchases within the Google play console.
There are a lot of options and things to do in there, maybe you did it by accident?
There are a lot of options and things to do in there, maybe you did it by accident?
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Free Android GUI - Updated occasionally
Twitter
Imperf3kt Blackjack - a WIP blackjack game for Android made using Ren'Py
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Free Android GUI - Updated occasionally
Imperf3kt Blackjack - a WIP blackjack game for Android made using Ren'Py
Re: How not to include in-app purchases in Android applications
Thanks for the replies!
Well...as it turns out, I was successful in removing the in-app purchase description.
But I did it the bad way and I don't think this is the best solution.
Let me start by telling you what's going on with my Google Play console!
・The app is not priced. The app is set free.
・not created in-app items.
・Subscription purchases are not created.
・Content rating: can users purchase digital goods through the game? I answered no.
So I assumed the cause was "com.android.vending.BILLING" and deleted everything with the name BILLING in rapt.
I know it's a barbaric way...
In this way, the permission of "com.android.vending.BILLING" disappeared.
And the in-app purchase indicator disappeared from the app page.
Did I do something wrong or is it the default that "com.android.vending.BILLING" was installed? Hmmm.
Well...as it turns out, I was successful in removing the in-app purchase description.
But I did it the bad way and I don't think this is the best solution.
Let me start by telling you what's going on with my Google Play console!
・The app is not priced. The app is set free.
・not created in-app items.
・Subscription purchases are not created.
・Content rating: can users purchase digital goods through the game? I answered no.
So I assumed the cause was "com.android.vending.BILLING" and deleted everything with the name BILLING in rapt.
I know it's a barbaric way...
In this way, the permission of "com.android.vending.BILLING" disappeared.
And the in-app purchase indicator disappeared from the app page.
Did I do something wrong or is it the default that "com.android.vending.BILLING" was installed? Hmmm.
- PyTom
- Ren'Py Creator
- Posts: 15893
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Re: How not to include in-app purchases in Android applications
I just landed a fix for this in Ren'Py 7.5/8.0.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom
Re: How not to include in-app purchases in Android applications
Thank you!
I look forward to the day when the update will be reflected.
I look forward to the day when the update will be reflected.
- PyTom
- Ren'Py Creator
- Posts: 15893
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Re: How not to include in-app purchases in Android applications
It should be in the 8.0/7.5 prerelease that just came out.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom
Re: How not to include in-app purchases in Android applications
Thank you!!!!
But for some reason <uses-permission android:name="com.android.vending.BILLING" /> still exists.
store in my .android.json is none. Hmmm?
But for some reason <uses-permission android:name="com.android.vending.BILLING" /> still exists.
store in my .android.json is none. Hmmm?
- PyTom
- Ren'Py Creator
- Posts: 15893
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Re: How not to include in-app purchases in Android applications
Can you post the entire .android.json ?
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom
Re: How not to include in-app purchases in Android applications
Here it is!
Code: Select all
{"layout": null, "orientation": "sensorLandscape", "package": "jp.ty.hamina1031", "include_pil": false, "expansion": false, "name": "Hamizuki", "update_always": true, "source": false, "icon_name": "Hamizuki", "version": "1.3341", "heap_size": "3", "update_icons": true, "permissions": ["INTERNET"], "numeric_version": "101", "include_sqlite": false, "store": "none"}- PyTom
- Ren'Py Creator
- Posts: 15893
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Re: How not to include in-app purchases in Android applications
Which files are you seeing com.android.BILLING in?
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom
Re: How not to include in-app purchases in Android applications
First, app-AndroidManifest.xml in the templates folder in the rapt folder.(This is the state that changed this time)
Next,
"renpy-7.3.5-sdk\rapt\project\app\build\intermediates\instant_app_manifest\release"
"renpy-7.3.5-sdk\rapt\project\app\build\intermediates\merged_manifests\release"
"renpy-7.3.5-sdk\rapt\project\app\build\intermediates\bundle_manifest\release\bundle-manifest"
was in AndroidManifest.xml.
Next,
"renpy-7.3.5-sdk\rapt\project\app\build\intermediates\instant_app_manifest\release"
"renpy-7.3.5-sdk\rapt\project\app\build\intermediates\merged_manifests\release"
"renpy-7.3.5-sdk\rapt\project\app\build\intermediates\bundle_manifest\release\bundle-manifest"
was in AndroidManifest.xml.
- Attachments
-
- app-AndroidManifest.xml
- (2.09 KiB) Downloaded 2 times
-
- AndroidManifest.xml
- (3.89 KiB) Downloaded 2 times
Re: How not to include in-app purchases in Android applications
By deleting "implementation 'com.android.billingclient:billing:3.0.0" at line 36 of the file "renpyandroid/build.gradle",
"com.android.vending.BILLING" is deleted.
I am reporting this because I didn't mention it here and I also forgot about it.
"com.android.vending.BILLING" is deleted.
I am reporting this because I didn't mention it here and I also forgot about it.
Re: How not to include in-app purchases in Android applications
The June 20 pre-release update resolves this issue!
viewtopic.php?f=8&t=64626&p=553301#p553301
Thank you so much!
viewtopic.php?f=8&t=64626&p=553301#p553301
Thank you so much!
Who is online
Users browsing this forum: No registered users