You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Merge pull request #2203 from volzhs/fix_android_payments
Fix android payments
This commit is contained in:
@@ -47,8 +47,10 @@ public class PaymentsManager {
|
||||
}
|
||||
|
||||
public PaymentsManager initService(){
|
||||
Intent intent = new Intent("com.android.vending.billing.InAppBillingService.BIND");
|
||||
intent.setPackage("com.android.vending");
|
||||
activity.bindService(
|
||||
new Intent("com.android.vending.billing.InAppBillingService.BIND"),
|
||||
intent,
|
||||
mServiceConn,
|
||||
Context.BIND_AUTO_CREATE);
|
||||
return this;
|
||||
|
||||
Reference in New Issue
Block a user