Why Huawei Push Kit is not working after publishing app?

Viewed 240

I build an app for Huawei devices in which Push Kit is implemented successfully. I published that app to App Gallery. After downloading my app from App Gallery, Push Notification is not working. But when I am running that app from my own system (directly from android studio), it is working fine.

2 Answers

99% that you use different signing keys. I.e. you've enabled signing of app by app gallery. So you have to add SHA-256 mentioned in AGC to project settings, where you have debug SHA-256 from AndroidStudio.

Huawei is generating 2 SHA-256 keys, one locally. Second at App Signing module at developer account. After adding both SHA-256 keys, my issue was resolved.

Related