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
446 stars 19 forks source link

cannot read properties of undefined (reading 'name') #29

Closed innoware-mx closed 3 weeks ago

innoware-mx commented 5 months ago

I followed the most simple recipe:

https://bndkt.com/blog/2022/tutorial-react-native-app-clip

An error is thrown when executing eas build:configure:

TypeError: Cannot read properties of undefined (reading 'name') at withAppClip (clipper\node_modules\react-native-app-clip\plugin\build\index.js:9:32)

Expected behaviour:

It runs eas build:configure without error

Lurtroxx commented 4 months ago

You are missing the "name" config in app.config... It does not add it automatically when you install the package.

image
danielafcarey commented 2 months ago

@innoware-mx did that solution work for you? I was still getting this error when I added the "name" in my app.config. I added some more config (found here) to specify the target name and other options and then it worked.

bndkt commented 3 weeks ago

Should be fixed with https://github.com/bndkt/react-native-app-clip/releases/tag/v0.3.0