Need help for integrating with OneSignal


#1

I’m building an ejected project with expo v32, I’m integrating OneSignal into my project and got 2 issues with the Android build.

  1. app seems like reboot every time I click the notification, I have already add android:launchMode="singleTop" after android:name=".MainActivity" like the doc says but it doesn’t help.
  2. I’m using Expo.Linking.openURL(payload.launchURL) to handle the notification URL, it works well in iOS build but got an error could not load dubbapp://video and Unable to resolve host "video": No address associated hostname in the Android build.