简体   繁体   中英

Open url in webview React native push notification

I want to develop an app where I can send remote push notifications to react native app. The push notification will contain a url link and when a user clicks on that link, the app should open up that link in the app (webview)

Is this possible with react native or expo?

This is definitely possible, however, there are a number of variables to consider with this in order to give clear direction on how to accomplish the desired outcome. For example, how are you handling push notifications? Expo Push Notifications is pretty simple solution. How are you handling users in your app (are they logging in, subscribing to certain push notifications, anonymous, etc.). This is important information to know what the next steps are.

Here is some documentation from Expo on notifications API:

https://docs.expo.io/versions/latest/sdk/notifications/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM