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

Web Push需要配置appSecret吗? #4

Open
csm-dev-hub opened this issue Feb 26, 2021 · 0 comments
Open

Web Push需要配置appSecret吗? #4

csm-dev-hub opened this issue Feb 26, 2021 · 0 comments

Comments

@csm-dev-hub
Copy link

您好,我正在尝试配置使用Web Push的功能;
send_webpush_message.py,我看到有三个配置项提示我配置

 app_id_at = "Your android application's app id"
 app_secret_at = "Your android application's app secret"
 app_id_push = "Your Web application' app id "

我能在开发者网站上找到我项目的app_id,于是我用这个id配置了 app_id_at app_id_push . 但运行程序后返回状态码400。
请问是因为我没有配置app_secret_at导致的吗? 可是我找不到在那里获取 app_secret_at

能给我一些指导吗, 到底需要怎么配置, 才能正常和华为Push服务器通信呢 ? 谢谢

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

1 participant