Huawei AppGallery In-App Purchases
Set Installer Package
In order to correctly detect that the app was installed via the Huawei AppGallery you must set the installer package when installing your debug application. This is done normally by the App Gallery.
When installing your application you will need to use the following commands using the
adb terminal command:
YOURAPP.apk to be the path to your application. This command will set the installer package name to be the Huawei AppGallery's package name
If you don't set this and rely on the default detection then you will find debugging may default to the Google Play Billing implementation.