Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

event.type:PURCHASE_ERROR,event.data:Error: Service connection is disconnected., BillingResponseCode: -1 #105

Open
pengyangjin opened this issue Jul 13, 2021 · 0 comments

Comments

@pengyangjin
Copy link

pengyangjin commented Jul 13, 2021

When I call the API InAppPurchase.instance.makePurchase(productId);
A mistake occurred:event.type:PURCHASE_ERROR,event.data:Error: Service connection is disconnected., BillingResponseCode: -1
When I add the following to Manifest.xml

		<application >
			<!-- GOOGLE PLAY BILLING -->
		    <activity
		        android:name="com.android.billingclient.api.ProxyBillingActivity"
		        android:configChanges="keyboard|keyboardHidden|screenLayout|screenSize|orientation"
		        android:theme="@android:style/Theme.Translucent.NoTitleBar" />
		</application>

It's all right.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant