Relative Content

Tag Archive for react-nativeexpoexpo-notifications

Direct to project in expo

responseListener.current = Notifications.addNotificationResponseReceivedListener((response) => { // const url = Linking.useURL(); // console.log(“link: “, url) // exp://192.168.1.51:8081 url get from Linking.useURL() const url2 = ‘exp://192.168.1.51:8081′; Linking.openURL(url2); }); I can’t redirect into project in expo app. I want to open the project in expo app when I click in the notification. react-native expo expo-notifications

Schedule reminder notification at a specific time if the user has not opened the app for a while

I’m developing a React Native Expo mobile app. Now I’m going to use expo-notifications library to show reminder push notifications. I want reminders to be displayed at a specific time (for example, 8 a.m.) if the user has not opened the app for more than 4 hours. I’ve already implemented showing notifications at a specific time. But I have a problem keeping track of when the app was last opened.