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

cannot read properties of undefined (reading 'name')

Open innoware-mx opened this issue 1 year ago • 1 comments

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

innoware-mx avatar Feb 06 '24 16:02 innoware-mx

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

image

chriscanin avatar Mar 04 '24 01:03 chriscanin

@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.

danielafcarey avatar Apr 12 '24 14:04 danielafcarey

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

bndkt avatar Jun 11 '24 04:06 bndkt