Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Detect Huawei app is uninstalled from phone

I’m having difficulty figuring out if the user has deleted my app from their Huawei phone when sending a Push.

I’m looking at the push docs, I do not see any error code for this case. Also, looking at the sample app that Huawei has given, I can’t see it there either.

Does anyone know exactly what I need to look for when sending a push to Huawei to detect if an app is deleted from the phone?

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

One gets posted a receipt state with value 2, when the app isn’t installed anymore.

If the app does not exist after the message is successfully sent to the device, the app has been uninstalled.

My ReceiptStatus.php would feature these values, but not yet implemented.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading