Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notification treated as advertisement #3

Open
AlohaDM opened this issue Sep 29, 2020 · 1 comment
Open

Notification treated as advertisement #3

AlohaDM opened this issue Sep 29, 2020 · 1 comment

Comments

@AlohaDM
Copy link

AlohaDM commented Sep 29, 2020

my push notification being treated as advertisement, and never alert and vibrate. my request body as below.

{ "validate_only": false, "message": { "android": { "notification": { "important": "HIGH", "title": "message title", "body": " message body", "click_action": { "type": 1, "intent": "#Intent;compo=com.rvr/.Activity;S.W=U;end" }, "style": 1, "buttons": [ { "name": "Learn more", "action_type": 1, "intent_type": 0, "intent": "intent://com.huawei.codelabpush/deeplink?#Intent;scheme=pushscheme;launchFlags=0x4000000;i.age=180;S.name=abc;end", "data": "{\"key1\":\"value1\",\"key2\":\"value2\",\"keyn\":\"valuen\"}" } ], "big_title": "HUAWEI Push Kit", "big_body": "HUAWEI Push Kit is a messaging service provided by Huawei for developers. It establishes a messaging channel from the cloud to devices." } }, "token": [ "my_token" ] } }

@Mike-mei
Copy link
Contributor

Would you please tell us your appid?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants