mirror of
https://github.com/godotengine/godot.git
synced 2025-02-17 22:43:01 +08:00
Merge pull request #2203 from volzhs/fix_android_payments
Fix android payments
This commit is contained in:
commit
3d121b474b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user