Thanks. Choose storyboard instead of swiftui for "interface" when create app clips target, i see the Object-C language option, ^_^
Post
Replies
Boosts
Views
Activity
I think i have understand how 8 hours limit work. We can find "will turn off in 8 hours" under setting->app clips->"your clip"->notifications->Allow Notifications.
So the default option is iOS will turn off notification after clip launch.
2. We can request explicit permission for send notifications, if user click yes, the "will turn off in 8 hours" disappear in setting->app clips->"your clip"->notifications->Allow Notifications.
socket api can work in simulator but failed in device。
For the posix socket, it can't work in device but valid in simulator. I think it is a policy from apple that don't allow socket api which should instead by NSURLSession。