-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
onNotificationOpenedApp not trigger and getInitialNotification getting null on iOS after added ClearTap #375
Comments
Hi @kukadiyaAni Can you answer following to investigate it:
|
@nishant-clevertap Thanks for your time
|
@kukadiyaAni |
@nishant-clevertap you shared documentation for iOS, we have an issue in iOS but we are using react-native, we need an event in react-native side |
@kukadiyaAni |
I'm using clevertap-react-native:1.2.1 and after setting up ClearTap, stop getting the default firebase
onNotificationOpenedApp
event when tapping on notification andgetInitialNotification
returns null when clicking on notification and the app is closedit was working fine before setup ClearTap
Note: When sending notifications from FCM not from ClearTap and it's happen only iOS, Android works fine
For handling ClearTap push notifications click the event below code
CleverTap.addListener(CleverTap.CleverTapPushNotificationClicked, (e)=>{/*consume the event*/})
This event trigger when app force close and tap on notification but if app is active in background then above method is not trigger.
The text was updated successfully, but these errors were encountered: