bndkt / react-native-app-clip

Easily add an App Clip for iOS apps built with React Native
https://bndkt.com/blog/2022/react-native-app-clip
504 stars 25 forks source link

There doesn't seem to be a way to start app clips from the command line yet #5

Closed gaodeng closed 1 year ago

gaodeng commented 2 years ago

npx expo run:ios --scheme cardClip

gives the following warning and starts the app, not app clips

ios: paths-app-delegate: Found multiple AppDelegate file paths, using "ios/card/AppDelegate.mm". Ignored paths: ["ios/cardClip/AppDelegate.mm"]

ios: paths-info-plist: Found multiple Info.plist file paths, using "ios/card/Info.plist". Ignored paths: ["ios/cardClip/Info.plist"]
bndkt commented 2 years ago

Thanks for reporting this! This is a current limitation of Expo. The warnings can be ignored and after running this command, you should be able to switch to the Home screen in Simulator and select the App Clip from there. I hope to figure out a way to open the App Clip directly, but it will almost certainly require some changes within Expo.

bndkt commented 1 year ago

Waiting for https://github.com/expo/expo/pull/21240 to land in expo-cli

outlandnish commented 1 year ago

@bndkt looks like it's now supported in SDK 49 :)