Post

Replies

Boosts

Views

Activity

Actionable notifications on watchOS don't get iOS variables
I am developing an app which makes use of actionable notifications. On my code (the func userNotificationCenter function), I need to read my users from the local storage on the iPhone: let query: [String: Any] = [ kSecAttrService as String: "uio-auth", kSecAttrAccount as String: "users", kSecClass as String: kSecClassGenericPassword, kSecReturnData as String: true ] var result: AnyObject? SecItemCopyMatching(query as CFDictionary, &result) let ref = result as? Data But when the same code execute when I tap on the notification on the Apple Watch, it doesn't fetch anything. It now occurs to to me: Does it mean that when an actionable notification programmed for the iOS is displayed on the Apple Watch, it tries to access its own storage, and not the iPhone? If so, is there a nice way to pass the values to the watchOS so that when the callback for the actionable notifications run, it has then the data it needs?
0
0
222
Oct ’24
Adding custom Internet Account
Hi, I was going to use the Accounts framework to attempt to add a custom internet account so that our users can authenticate to our IdP (OAuth2) for their mail accounts. When using the Accounts framework, I got this warning: 'ACAccountStore' was deprecated in iOS 15.0: Use appropriate non-Apple SDK corresponding to the type of account you want to reference instead Is there any documentation on how to code/add custom Internet Accounts to macOS/iOS?
0
0
395
Jun ’24