Notification not redirecting to page on Android , when app is closed.


"expo": "^36.0.0",
"react-native": "",
"react-native-webview": "^7.4.3"


componentDidMount() {
    this._notificationSubscription = Notifications.addListener(this._handleNotification);

postMessageToWebview = (jsonMessage) => {
_handleNotification = (notification) => {
        const notificationCaseId =;
        const myUrl = this.props.urlViewUpdatedCaseProp + notificationCaseId + '&viewComment=1';

When notifications received and app was running, user clicks on notification banner, it triggers _handleNotification and postMessage to the UI which redirects user to the redirecturl. This works on both iOS and Android.

However, when notifications received and app was closed, user clicks on notification banner:

On iOS:
It triggers _handleNotification but never postMessage to the UI

On Android:
It never triggers _handleNotification

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.