Post

Replies

Boosts

Views

Activity

Reply to iOS 16 Live Activities Lock Screen widget
let pushTokenString = String(deviceToken: self.statusActivity?.pushToken ?? Data()) extension String {   public init(deviceToken: Data) {     self = deviceToken.map { String(format: "%02x", $0) }.joined()   } } → POST https://api.sandbox.push.apple.com:443/3/device/800e9f97bb01fd62cf0ded1a546a3061c3dd09501068b8bedf05a1c4e23562c90c4c04e6c751b4b261687c03b4f87941959572c021bb3546bf441056a50ac65584eb790b10f35d15d7776da7268bbea7 apns-priority:10 apns-push-type:alert apns-topic:com.ustc.jerryliu.liveactivitiesdemo { "aps" : { "event" : "update", "content-state" : { "homeScore" : 2, "estimatedEndTime" : 1660559974, "guestScore" : 2, "halfInfo" : "next" }, "timestamp" : 1660556374 } } ← 400 apns-id:2E014A5B-EF1B-50AB-BA37-83A236C836F6 { "reason" : "DeviceTokenNotForTopic" } the push token not work,but the normal push word well Is there something wrong with the token?
Topic: App & System Services SubTopic: General Tags:
Aug ’22
Reply to iOS 16 Live Activities Lock Screen widget
let pushTokenString = String(deviceToken: self.statusActivity?.pushToken ?? Data()) extension String {   public init(deviceToken: Data) {     self = deviceToken.map { String(format: "%02x", $0) }.joined()   } } → POST https://api.sandbox.push.apple.com:443/3/device/800e9f97bb01fd62cf0ded1a546a3061c3dd09501068b8bedf05a1c4e23562c90c4c04e6c751b4b261687c03b4f87941959572c021bb3546bf441056a50ac65584eb790b10f35d15d7776da7268bbea7 apns-priority:10 apns-push-type:alert apns-topic:com.ustc.jerryliu.liveactivitiesdemo { "aps" : { "event" : "update", "content-state" : { "homeScore" : 2, "estimatedEndTime" : 1660559974, "guestScore" : 2, "halfInfo" : "next" }, "timestamp" : 1660556374 } } ← 400 apns-id:2E014A5B-EF1B-50AB-BA37-83A236C836F6 { "reason" : "DeviceTokenNotForTopic" } the push token not work,but the normal push word well Is there something wrong with the token?
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Aug ’22
Reply to Any xcode code samples for live activity on ios16?
https://developer.apple.com/documentation/activitykit/displaying-live-data-on-the-lock-screen-with-live-activities
Replies
Boosts
Views
Activity
Aug ’22
Reply to I wonder why get IAP transaction history Api will return many signedTransactions
Thank you! But I wonder what is customer mean?SignedTransactions include that appleid‘s user bought in other apps? The path params originalTransactionId I put in request URL is created in my app’s purchased
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Feb ’22
Reply to How to identify the environment of a StoreKit2 JWS transaction on server side?
Which Api did you try to find out? If it is get transactions history you can find a key called "environment" https://developer.apple.com/documentation/appstoreserverapi/historyresponse If it is look up orderid or refund API I think you can find out user for your system.
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Feb ’22
Reply to INSendMessageIntent suggestions always show "1 person", even for multiple recipients
hi even i copy your code to my contentView class , share sheet can not show any suggestion contact item. What am i missed?
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Dec ’21