Posts

Post not yet marked as solved
0 Replies
222 Views
In a WKWebview I am loading a page that has a button to allow a user to upload a photo for a profile. Clicking the button prompts the user to select their photo library, camera, or choose a file in the same way safari does. Choose a file works as expected Camera or Photo Library fail with a log: [core] "Error returned from daemon: Error Domain=com.apple.accounts Code=7 "(null)"" 2022-04-20 12:32:29.010947-0400 [PAAccessLogger] Failed to log access with error: access=<PATCCAccess 0x283e88990> accessor:<<PAApplication 0x28137a260 identifierType:auditToken identifier:{pid:810, version:2204}>> identifier:789F7A90-3A0B-4FC3-8E69-8863321CDE2F kind:intervalEnd timestampAdjustment:0 tccService:kTCCServicePhotos, error=Error Domain=PAErrorDomain Code=10 "Possibly incomplete access interval automatically ended by daemon" I also do not get a request for camera or photo library access like I would expect. I DO have camera and photo library permissions in my info.plist and if they are omitted I get a different and more descriptive failure, prompting me to add the permissions. Mobile Safari works in all cases Test device is an iPhone X running ios 15.4.1 App is built in XCode 13
Posted Last updated
.
Post not yet marked as solved
1 Replies
178 Views
Greeetings, I am trying to setup two notification channels. One using keys (firebase) and one using certs (a 3p notification service). I can show that the key based notifications work via registering my device id in the firebase test notification ux and sending my device a test notification using the reported device id. For the cert based notifications, I am using these instructions: https://developer.apple.com/documentation/usernotifications/sending_push_notifications_using_command-line_tools to generate and test the cert before installing it in the 3p service and am using the same device id as firebase. It fails with a {"reason":"BadDeviceToken"} and I'm not sure how to proceed. Couple thoughts / questions: Should I expect both channels to work or is it a "one channel" kinda thing? Should I expect to use the same device id like I am using? Any other help would be greatly appreciated
Posted Last updated
.