Page 1 of 1

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

Posted: Mon Jun 06, 2022 8:53 am
by ty_0523
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?

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

Posted: Mon Jun 06, 2022 4:31 pm
by Imperf3kt
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?

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

Posted: Tue Jun 07, 2022 6:14 am
by ty_0523
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.

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

Posted: Tue Jun 07, 2022 10:24 pm
by PyTom
I just landed a fix for this in Ren'Py 7.5/8.0.

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

Posted: Wed Jun 08, 2022 7:26 am
by ty_0523
Thank you!
I look forward to the day when the update will be reflected.

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

Posted: Wed Jun 08, 2022 11:28 pm
by PyTom
It should be in the 8.0/7.5 prerelease that just came out.

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

Posted: Fri Jun 10, 2022 6:43 am
by ty_0523
Thank you!!!!
But for some reason <uses-permission android:name="com.android.vending.BILLING" /> still exists.
store in my .android.json is none. Hmmm?

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

Posted: Fri Jun 10, 2022 2:41 pm
by PyTom
Can you post the entire .android.json ?

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

Posted: Fri Jun 10, 2022 9:42 pm
by ty_0523
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"}

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

Posted: Fri Jun 10, 2022 10:01 pm
by PyTom
Which files are you seeing com.android.BILLING in?

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

Posted: Sat Jun 11, 2022 1:27 am
by ty_0523
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.

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

Posted: Thu Jun 16, 2022 7:44 am
by ty_0523
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.

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

Posted: Mon Jun 20, 2022 6:05 am
by ty_0523
The June 20 pre-release update resolves this issue!
viewtopic.php?f=8&t=64626&p=553301#p553301

Thank you so much!