react-native-wechat is a third library , we need to go to the Xcode project, find Link Binary with Libraries , and then add some libraries, also we need add url types, but the expo project does’t have iOS directory,
then error :
undefined is not an object (evaluating ‘WeChat.registerApp’)
what can I do ?
1 Like
Hey @shuisheng,
In order to use a library that requires you to run react-native link
or make some form of native code configuration, you will have to eject and use ExpoKit. You can read more about this in our docs: https://docs.expo.io/versions/v30.0.0/expokit/
Cheers,
Adam
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.