libgdx / gdx-pay

A libGDX cross-platform API for InApp purchasing.
Apache License 2.0
224 stars 83 forks source link

Removed login dialog when installing InApps for Huawei #236

Closed aberkowski closed 3 years ago

aberkowski commented 3 years ago

Removed login dialog when installing InApps for Huawei. Changed to call handleInstallError when user is not logged in. There was a problem when installing InApps when user is logged out. HuaweiPurchaseManager was opening login window - handleInstallError was not called and InApp products was still not installed after successful login. I think that it will be better to call handleInstallError and leave it to a programmer - he can open login window or show text dialog.

MrStahlfelge commented 3 years ago

Thanks for your contribution. How can the user login, is it possible via an other app?

aberkowski commented 3 years ago

Yes, user can login via Huawei AppGallery app. If logged once he will be logged all the time unless he click to log out.

MrStahlfelge commented 3 years ago

Good to know!