title: Expo react native push notifications webview move
body: <p>Nice to meet you.
  I'm junior developer.
  I made hybrid app(webview) by react natvie expo + php + mysql</p>
  <p>this application have a push notification.</p>
  <p>When I click on this, I want to go to a specific page. This page should go to a specific page, not the main page, not open browser by chrome, Safari... when the app opens.</p>
  <p>how to make it?? please, help me.</p>
  <p>Below is the code I made.</p>
  <pre><code>  useEffect(() =&gt; {
      registerForPushNotificationsAsync().then((token) =&gt; {
        let url = &quot;myUrl&quot;;
        fetch(url, {
          method: &quot;POST&quot;,
          headers: {
            &quot;Content-Type&quot;: &quot;multipart/form-data&quot;,
          },
          body: JSON.stringify({ token: token }),
        })
          .then()
          .catch((err) =&gt; console.log(err));
        setExpoPushToken(token);
      });
  
      notificationListener.current =
        Notifications.addNotificationReceivedListener((notification) =&gt; {
          setNotification(notification);
        });
  
      responseListener.current =
        Notifications.addNotificationResponseReceivedListener((response) =&gt; {
          const url = response.notification.request.content.data.url;
          // console.log(url); i can see specific url.
          Linking.openURL(url);
          // IntentLauncher.startActivityAsync(&quot;android.intent.action.View&quot;, {data: url});
        });
  
      return () =&gt; {
        if (
          typeof notificationListener.current !== &quot;undefined&quot; &amp;&amp;
          typeof responseListener.current !== &quot;undefined&quot;
        ) {
          Notifications.removeNotificationSubscription(
            notificationListener.current
          );
          Notifications.removeNotificationSubscription(responseListener.current);
        }
      };
    }, []);
  </code></pre>