Post

Replies

Boosts

Views

Activity

iOS 15 and WatchOS 8 apps WCSession connectivity issue
Sometime I am facing issue in WCSession. Watchkit app can send ping to iPhone app using WCSession, and it successfully received by the iPhone app but send back the information to watch from iPhone is not received by the watch. (void)session:(WCSession *)session didReceiveMessage:(NSDictionary<NSString *, id> *)message replyHandler:(void(^)(NSDictionary<NSString *, id> *replyMessage))replyHandler{ //iOS App to watch call back failed } then if I kill the watch app then start again it works fine. but after 2-3 hrs again facing connectivity WCSession issue
0
0
738
Sep ’21
Fall Detection Entitlement Request
When I run watch app I got crash because I am using CMFallDetectionManager but I have added key in .plist Fall Detection Usage Description , when I run the watch app I got this error Fall Detection entitlement is required for this API so I read the documentation it says To apply for the entitlement, see Fall Detection Entitlement Request but when I click on the clink Fall Detection Entitlement Request I got this message The Apple ID you signed in with does not have permission to view this page.
4
0
2.6k
Jul ’21
Execute block of code when app in background
Hey Apple Developer Team,what is best way to fetch chat messages (count arround 500+ messages) when app is in background or kill state by connecting to socket ?In our app we do not have audio/video calling so can we use VOIP to awake app in background to connect to socket then fetch all the chat message?my requirement is to awake the app periodically throughout day several time so that app can fetch latest messages from the server.so what are the best ways you suggest?thank you
2
0
694
Apr ’20