{"version":"1.0","type":"rich","title":"Gist bc0b0435c4549d7900933b98ff3b2754","description":"This example demonstrates how to register a context-aware notification subscription using the SetSDK. The code calls `SetSDK.register(context:beforeCommute)` and defines an event handler that sends a local notification. Inside the handler, it creates a `UNMutableNotificationContent` object, sets its title to \"Weather Alert!\", and prepares to deliver new information or opportunities. The example uses the UserNotifications framework for local notifications and the SetSDK’s context-registration API to trigger the alert based on the user’s commute timing.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-bc0b0435c4549d7900933b98ff3b2754?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}