刘瑞

Results 4 comments of 刘瑞

已更新readme -> 关于Push更新

你是用的tokenbase还是证书呀 感觉你的这个curl不应该有cert部分 去掉试试? https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/establishing_a_token-based_connection_to_apns

"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](https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/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**' \ --header 'authorization: bearer **your base token here**' \ --header 'apns-push-type: liveactivity' \ --header 'apns-id: eabeae54-14a8-11e5-b60b-1697f925ec3b' \ --header 'apns-expiration: 0' \ --header...