You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tutorials/platform/android/android_in_app_purchases.rst
+2-4Lines changed: 2 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
Android in-app purchases
4
4
========================
5
5
6
-
Godot offers a first-party ``GodotGooglePlayBilling`` Android plugin compatible with Godot 4 which uses the `Google Play Billing library <https://developer.android.com/google/play/billing>`_.
6
+
Godot offers a first-party ``GodotGooglePlayBilling`` Android plugin compatible with Godot 4.2+ which uses the `Google Play Billing library <https://developer.android.com/google/play/billing>`_.
7
7
8
8
9
9
Usage
@@ -29,8 +29,6 @@ Initialization example:
29
29
30
30
::
31
31
32
-
var billing_client
33
-
34
32
func _ready():
35
33
BillingClient.connected.connect(_on_connected) # No params
36
34
BillingClient.disconnected.connect(_on_disconnected) # No params
@@ -44,7 +42,7 @@ Initialization example:
44
42
BillingClient.start_connection()
45
43
46
44
The API must be in a connected state prior to use. The ``connected`` signal is sent
47
-
when the connection process succeeds. You can also use ``isReady()`` to determine if the plugin
45
+
when the connection process succeeds. You can also use ``is_ready()`` to determine if the plugin
48
46
is ready for use. The ``get_connection_state()`` function returns the current connection state
0 commit comments