react-native-app-clip icon indicating copy to clipboard operation
react-native-app-clip copied to clipboard

Invocation URL via command line?

Open bjfresh opened this issue 4 months ago • 1 comments

Small feature request, nothing urgent, but curious if there might be a way of surfacing the ability to add the invocation URL when specifying command line options?

Didn't see specs for that in docs, in any case.

Many thanks!

bjfresh avatar Aug 08 '25 23:08 bjfresh

Unfortunately, I haven't found a good solution for adding an invocation URL for the Simulator. I'll leave this issue open for a while in case anyone finds anything.

In general, I've been testing deep linking behaviors in the main app itself. Our app happens to have feature parity between App Clip and the main app which makes this much more feasible. In case your App Clip has significantly different behaviors, then I'd recommend testing by mocking the build variable (ex: BUILDING_FOR_APP_CLIP=1 bunx expo start --dev-client). This mock also makes it much easier to develop, since the development client is actually consistent. The only downside is that you can't easily test App Clip limitations (any native functionality not allowed for App Clips), but I usually save that for the TestFlight stage.

nathan-ahn avatar Aug 11 '25 23:08 nathan-ahn