Skip to content

onNotificationOpenedApp not trigger and getInitialNotification getting null on iOS after added ClearTap #375

@kukadiyaAni

Description

@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 and getInitialNotification returns null when clicking on notification and the app is closed

it 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.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions