Linking 'url' event fires multiple times on standalone app on Android

Please provide the following:

  1. SDK Version: 33 (Also happens in 34)
  2. Platforms(Android/iOS/web/all): Android

I’m using Linking.addEventListener (I tried both react-native and expo) for a ‘url’ event (deep linking).
I checked that adding the event is done only once.
When using the Expo Client and navigating into the app from a link (exp://…) the event is fired once. But when using the standalone app, which has kahun:// for a scheme, the event fires 3 times. This breaks the integration with aws-amplify which trigger auth request for each of these events.
This happens only on Android.

Thanks.

2 Likes

Hey @mobilekahun,

Would you be able to create a Github issue for this with a reproducible example that we can debug on our end?

Cheers,
Adam

@adamjnav There already is:
https://github.com/expo/expo/issues/2128

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.