Closed karanmartian closed 2 years ago
It also appears not to work on iOS14.1 with RN Expo 38.0.0 SDK, but explicitly mentioning Linking.openURL had no effect.
I'm going to try updating to Expo 39.0.0 SDK in the hope that the workaround of using onPress works there.
Any news?
Also have a project that is running RN Expo 39.0.0. On iOS I am noticing that the onPress seems to not fire. The onLongPress does fire though.
A workaround here is to add your own Linking
logic but I'd rather have a fix for the onPress
to fire correctly.
This is weird. I don't have an iOS device atm, I'm hoping this is reproducible on the simulators?
@obipawan Also noticed that this is only occurring for situations where Google Chrome is set as default browser. When I set my default browser to Safari, it works per usual.
@ShaneKeney I am having the same issue as chrome is set as the default browser. Did you find any solution for this?
Never mind it can be fixed by doing this step
https://github.com/obipawan/react-native-hyperlink/issues/57#issuecomment-733001152
@koushikmohan1996 We used Expo managed workflow so that solution wouldn't work for us directly. I'll have to check to see if that is configurable param for Expo app.json config. Otherwise we may just build out our own.
@koushikmohan1996 We used Expo managed workflow so that solution wouldn't work for us directly. I'll have to check to see if that is configurable param for Expo app.json config. Otherwise we may just build out our own.
Okay. I was facing many issues like this while using expo. That's the main reason I moved to bare react native. :)
This issue seems to be resolved now. No longer facing these issues.
Only on iOS seeing this issue, have to explicitly mention Linking.openURL in onPress func. This is after upgrading to RN Expo 39.0.0 SDK