Open zjinpeng opened 3 years ago
You can use it like below
`` const option = { "token": { "key": "-----BEGIN PRIVATE KEY-----your private key-----END PRIVATE KEY-----", "keyId": "your key id", "teamId": "your team id" }, "production": true }
const apnProvider = new apn.Provider(options); ``
This information was already published once with the date "November 2020" https://developer.apple.com/news/?id=11042019a&1572897862.
My question is: will it work with "Provider Certificates" authentication after March 31?
@BorisPetelj did you manage to find out? Does certificate options still supported?
Yes, it works.
https://developer.apple.com/news/?id=c88acm2b APNs will no longer support the legacy binary protocol after March 31, 2021.