[SOLVED]How not to include in-app purchases in Android applications

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
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.
Post Reply
Message
Author
User avatar
ty_0523
Newbie
Posts: 9
Joined: Mon May 23, 2022 10:11 am
Completed: Hamizuki
itch: tyya
Contact:

[SOLVED]How not to include in-app purchases in Android applications

#1 Post by ty_0523 » Mon Jun 06, 2022 8:53 am

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?
Last edited by ty_0523 on Mon Jun 20, 2022 6:05 am, edited 1 time in total.

User avatar
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

#2 Post by Imperf3kt » Mon Jun 06, 2022 4:31 pm

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?
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

User avatar
ty_0523
Newbie
Posts: 9
Joined: Mon May 23, 2022 10:11 am
Completed: Hamizuki
itch: tyya
Contact:

Re: How not to include in-app purchases in Android applications

#3 Post by ty_0523 » Tue Jun 07, 2022 6:14 am

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.

User avatar
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

#4 Post by PyTom » Tue Jun 07, 2022 10:24 pm

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
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
ty_0523
Newbie
Posts: 9
Joined: Mon May 23, 2022 10:11 am
Completed: Hamizuki
itch: tyya
Contact:

Re: How not to include in-app purchases in Android applications

#5 Post by ty_0523 » Wed Jun 08, 2022 7:26 am

Thank you!
I look forward to the day when the update will be reflected.

User avatar
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

#6 Post by PyTom » Wed Jun 08, 2022 11:28 pm

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
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
ty_0523
Newbie
Posts: 9
Joined: Mon May 23, 2022 10:11 am
Completed: Hamizuki
itch: tyya
Contact:

Re: How not to include in-app purchases in Android applications

#7 Post by ty_0523 » Fri Jun 10, 2022 6:43 am

Thank you!!!!
But for some reason <uses-permission android:name="com.android.vending.BILLING" /> still exists.
store in my .android.json is none. Hmmm?

User avatar
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

#8 Post by PyTom » Fri Jun 10, 2022 2:41 pm

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
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
ty_0523
Newbie
Posts: 9
Joined: Mon May 23, 2022 10:11 am
Completed: Hamizuki
itch: tyya
Contact:

Re: How not to include in-app purchases in Android applications

#9 Post by ty_0523 » Fri Jun 10, 2022 9:42 pm

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"}

User avatar
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

#10 Post by PyTom » Fri Jun 10, 2022 10:01 pm

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
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
ty_0523
Newbie
Posts: 9
Joined: Mon May 23, 2022 10:11 am
Completed: Hamizuki
itch: tyya
Contact:

Re: How not to include in-app purchases in Android applications

#11 Post by ty_0523 » Sat Jun 11, 2022 1:27 am

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.
Attachments
app-AndroidManifest.xml
(2.09 KiB) Downloaded 2 times
AndroidManifest.xml
(3.89 KiB) Downloaded 2 times

User avatar
ty_0523
Newbie
Posts: 9
Joined: Mon May 23, 2022 10:11 am
Completed: Hamizuki
itch: tyya
Contact:

Re: How not to include in-app purchases in Android applications

#12 Post by ty_0523 » Thu Jun 16, 2022 7:44 am

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.

User avatar
ty_0523
Newbie
Posts: 9
Joined: Mon May 23, 2022 10:11 am
Completed: Hamizuki
itch: tyya
Contact:

Re: How not to include in-app purchases in Android applications

#13 Post by ty_0523 » Mon Jun 20, 2022 6:05 am

The June 20 pre-release update resolves this issue!
viewtopic.php?f=8&t=64626&p=553301#p553301

Thank you so much!

Post Reply

Who is online

Users browsing this forum: No registered users