For example, a user may ask to present their gym membership QR code when they are at their gym. The location notification trigger would trigger the live activity when they are near the gym, then destroy it when they leave.
Considerations:
Regions must be unique. There can be only one code presented per location.
Important to emphasize privacy when accessing location data. UI must make clear this would all be happening on the device.
Live activities are an iPhone only feature. Would this be better served as a normal notification? Perhaps a combination of the both?
Should other notification triggers be included beyond location, like date? Perhaps a guide to create notification triggers using Shortcuts, a feature that is already available, would be better.
Use UNLocationNotificationTrigger to create and destroy a live activity representing a QR code in the Archive.
For example, a user may ask to present their gym membership QR code when they are at their gym. The location notification trigger would trigger the live activity when they are near the gym, then destroy it when they leave.
Considerations: