I’ve successfully imported SendbirdChat from @sendbird/chat.
However, I cannot import OpenChannelModule as in tutorial.
import { OpenChannelModule } from ‘@sendbird/chat/openChannel’;
gives me
Unable to resolve module @sendbird/chat/openChannel from /app/hooks/useCachedResources.ts: @sendbird/chat/openChannel could not be found within the project or in these directories:
I apologize that we’ve taken so long to get back to you on this. I gave this a test in my own React App and had no issues utilizing it. Here is my example component:
Please reproduce it with Expo.
Expo is the most used framework with React Native, and even the first choice to setup RN in its official document. https://reactnative.dev/docs/environment-setup
Typescript.
I have also configured ‘allowSyntheticDefaultImports’ in tsconfig.json following the Sendbird javascript sdk