Post

Replies

Boosts

Views

Activity

Live Caller ID Extension - Any way to limit use based on subscription status?
Is there any way to limit use of the iOS 18 Live Caller ID extension to subscribed users? My team has been trying to figure out a workable approach to only allow full call blocking / identification via this feature for users with an active subscription and so far we have not found a workable approach. One solution we’ve looked into is invalidating access tokens on the backend and only calling refreshPIRParameters(forExtensionWithIdentifier:) for users with a current valid subscription but it seems that this won’t work since the device will attempt to refresh on its own eventually. We’ve also looked into swapping out the userTierToken in the extension based on subscription status but this also does not seem to be possible. Is limiting/modifying this feature's functionality based on subscription status just not possible, likely by design due to the privacy-focused nature of it, or is there some other approach we’re overlooking?
1
1
293
Jan ’25
Unable to request authorization for sensors using SensorKit
I am attempting to test out SensorKit in Xcode 12 Beta 3 and haven't been able to request authorization for a set of sensors using SRSensorReader.requestAuthorization(sensors:) - https://developer.apple.com/documentation/sensorkit/srsensorreader/3377656-requestauthorization. I've added keys to my Info.plist after seeing error messages that they were missing but I'm stuck on this one: [AuthorizationPrompt] Error Domain=SRErrorDomain Code=8197 "Your bundle's Info.plist must have an NSSensorKitUsageDetail key" UserInfo={NSLocalizedDescription=Your bundle's Info.plist must have an NSSensorKitUsageDetail key} I've added a (string) key for NSSensorKitUsageDetail but am still seeing this error. Does this key need to be a different type or am I missing something else or is this a bug?
1
0
1k
Jul ’20