You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, i had created a project with create-react-native-library react-native-testsdk, there is only one iOS and one android module (testsdkViewManager) file but I have 4 native module class and 1 native view class for each iOS and android. Should I bring them all in one file? Also boilerplate comes with:
export const testsdkView =
UIManager.getViewManagerConfig(ComponentName) != null
? requireNativeComponent(ComponentName)
: () => {
throw new Error(LINKING_ERROR);
};
This is for native view how can I also add native module to my index.tsx file ?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, i had created a project with create-react-native-library react-native-testsdk, there is only one iOS and one android module (testsdkViewManager) file but I have 4 native module class and 1 native view class for each iOS and android. Should I bring them all in one file? Also boilerplate comes with:
export const testsdkView =
UIManager.getViewManagerConfig(ComponentName) != null
? requireNativeComponent(ComponentName)
: () => {
throw new Error(LINKING_ERROR);
};
Beta Was this translation helpful? Give feedback.
All reactions