I am trying to create a react based SDK, (i.e) I will be having an Android/iOS package which will be the entry point for an App and will be using react code for using existing business logic. I am able to see React’s
AppRegistry.registerComponent as the entry point for react app. But for my use case I don’t have any view dependency. I only have business logics. How should I create the bundle?
In Android and iOS, I will be writing a script to copy paste the bundle that is created using this RN package to the asset folder and from there I will use this
index.bundle to create ReactInstanceManager
Please help me understand will this workout (React based SDK without view components). What are the things I need to do for making this SDK.
Note: This SDK can be integrated in existing App which already having react-native dependency for rendering some screens. My SDK should handle this use case as well.
Source: Ios Questions