-
Notifications
You must be signed in to change notification settings - Fork 5
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
如何接收推送,更新实时活动? #1
Comments
已更新readme -> 关于Push更新 |
推送的时候,一直报 TopicDisallowed,不知道何原因 |
curl -v -d '{ |
你是用的tokenbase还是证书呀 感觉你的这个curl不应该有cert部分 去掉试试? |
"To use remote push notifications to update your Live Activities, you need to use push tokens for authenticating with APNs as described in Establishing a Token-Based Connection to APNs." @tiayako |
curl --location --request POST 'https://api.sandbox.push.apple.com:443/3/device/**your live token here**' |
如题,当前已获取到pushToken, 模拟推送到app,一直显示 TopicDisallowed,已设置 apns-topic = com.sa.SALiveActivities.push-type.liveactivity; apns-push-type = liveactivity; 不知道作者是如何更新的,希望能更新一版demo让大家共通进步,感谢!!
The text was updated successfully, but these errors were encountered: