Installation
Enable Plugin
After downloading the plugin from AssetLib, it needs to be enabled manually in the Godot editor. Follow these steps to enable the plugin:
- In the Godot editor, go to
Project > Project Settings
. - Navigate to the
Plugins
section. - Locate
GodotPlayBilling
and enable it.
Note: The plugin includes all necessary
.aar
and.gdap
files for setup. Developers do not need to separately activate the plugin in the Android export settings.
Install Android Build Template
If the Android Build Template is already set up, you can skip this step. Otherwise, follow these steps:
- In Godot Editor, go to
Projects > Install Android Build
Template`.
- Click
Install
to confirm and set up the Build Template.
Update Android Manifest
To enable Play Billing permissions, follow these steps:
- From the project root, navigate to
android > build
. - Locate
AndroidManifest.xml
and open it in your preferred text editor. - Add the following line within the
tag:
<uses-permission android:name="com.android.vending.BILLING" />
The updated manifest file should look like this:
1 2 3 4 5 6 7 8 9 |
|