Hello
the RemoteNotification method is not called.
However, the native method as inline code works.
What could be the reason?
that doesn't work anymore:
it is working:
I am using B4i version 8.10 and iOS 16.5.1.
the RemoteNotification method is not called.
However, the native method as inline code works.
What could be the reason?
that doesn't work anymore:
B4X:
Private Sub Application_RemoteNotification (Message As Map, CompletionHandler As CompletionHandler)
LogColor("Application_RemoteNotification",Colors.Green)
CompletionHandler.Complete
End Sub
it is working:
B4X:
- (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo
fetchCompletionHandler:(void (^)(UIBackgroundFetchResult))completionHandler {
NSLog(@"didReceiveRemoteNotification ");
// Print full message.
NSLog(@"%@", userInfo);
completionHandler(UIBackgroundFetchResultNewData);
}
I am using B4i version 8.10 and iOS 16.5.1.
Last edited: