Closed yaroslavnikiforov closed 2 years ago
Also payOrderId
property in InAppPurchaseData
returned by obtainOwnedPurchases
method is equal to "SandBox_1650649777607.4CF742B3.0023", but in HMS Core app I have a real subscription
The solution is in this message from HMSIapModule.isSandboxActivated()
response:
"errMsg": "The versionInApk should be more advanced than versionFrMarket"
So versionCode
in defaultConfig under android/app/build.gradle should be higher than the latest released app version in AppGallery.
Description I added my Huawei ID to the test accounts in AppGallery Connect according to the instruction but I don't get any dialogs that it is a test: https://developer.huawei.com/consumer/en/doc/distribution/app/agc-help-testaccount-0000001146438651 https://developer.huawei.com/consumer/en/doc/development/HMSCore-Guides/sandbox-testing-0000001050035039
Expected behavior Should see messages about sandbox testing on the checkout screen.
Current behavior Don't have any test messages on the checkout screen.
Logs Response for
HMSIapModule.isSandboxActivated()
Environment