gluonhq / attach

GNU General Public License v3.0
48 stars 26 forks source link

LocalNotifications iOS #380

Open cbm64chris opened 10 months ago

cbm64chris commented 10 months ago

Trying to figure out how to get LocalNotifications to display. Running a simple example on ios-sim I am struggling to identify the problem. On the first occurrence the iOS notification to allow is displayed but no notification with the supplied message is ever displayed. This is all I see in the terminal output.

[Fri Oct 06 15:19:05 BST 2023][INFO] [SUB] 2023-10-06 15:19:05.439 [21060:1838788] [AttachLog] Initialize UNUserNotificationCenter iOS 10+ [Fri Oct 06 15:19:05 BST 2023][INFO] [SUB] [AttachLog] 2023-10-06 15:19:05.440 void Java_com_gluonhq_attach_localnotifications_impl_IOSLocalNotificationsService_initLocalNotification(JNIEnv , jclass): 62 Initialize UNUserNotificationCenter iOS 10+ [Fri Oct 06 15:19:05 BST 2023][INFO] [SUB] 2023-10-06 15:19:05.450 [21060:1839418] [AttachLog] UNNotificationSettings Status Authorized [Fri Oct 06 15:19:05 BST 2023][INFO] [SUB] [AttachLog] 2023-10-06 15:19:05.451 void Java_com_gluonhq_attach_localnotifications_impl_IOSLocalNotificationsService_initLocalNotification(JNIEnv , jclass)_block_invoke_2: 75 UNNotificationSettings Status Authorized

Anything I am missing? Thx Chris