Push Notification unable to register device for IOS.

Hi, We have been struggling to register the mobile device for iOS. The user receives a notification permission message, gives permission and then an error appears. In the logs we see the following message when the error occurs “You must be registered for remote messages before calling getToken, see messaging().registerDeviceForRemoteMessages()”. This error comes from the javascript action “Get push notification token”. We use FCM to send the push notification for IOS. We added an IOS APP in our Firebase project and added an APNs key in FCM. We also configured the FCM in the Mendix app. We also uploaded the GoogleService-Info.plist config file in the Mendix Native Builder. When we create a local development build (APK file) we can register the device and send a notification. Any idea what we are overlooking?
0 answers