Please provide the following:
- SDK Version: 38
- Platforms(Android/iOS/web/all): Android/iOS
I am using manged flow and I am trying to use push notifications in my app. I have build a standalone android app and get the push token and successfully send a push notification to the device.
The problem left is that Notifications.addNotificationReceivedListener
and Notifications.addNotificationResponseReceivedListener
are not called.
I now read about useNextNotificationsApi
, but I am not sure whether I need this as my IDE (IntelliJ) says that it is not allowed in the app.json. Should I still put it in?
At the moment I am doing all push related stuff in a special screen:
https://github.com/denniske/aoe2companion/blob/master/src/view/push.page.tsx
Is that a problem? Should it be in App.tsx
?