Expo Linking.getInitialURL Testing

Please provide the following:

  1. SDK Version: 39.0
  2. Platforms(Android/iOS/web/all): all

I need to test a feature that checks if Linking.getInitialURL returns null, in order to find out whether the app was launched via a URL or not. The issue is, in development it seems like the initial URL is always something like exp://192.168.1.112:19000 so I cannot test this feature within the Expo app. Therefor in testing the app always thinks that it was opened via a link even though it really wasn’t. Is there any way around this or is getInitialURL simply always going to return a non-null value when testing within the Expo app?

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