Tips on how to use React-Native Realm as Native Module in iOS


Hey Stack Overflow neighborhood,

I’ve a React native mission and in that mission I’ve a dependency put in which is realm: 10.22.0. I need to create a local module the place I can migrate Realm DB from one other iOS native mission and move the values to React-native through the bridging module.

On the React-native mission within the Pods part I can see that there’s RealmJS. Can I exploit that to fetch the prevailing DB from the gadget or ought to I set up Realm Swift SDK to attain this. However I am unsure if that is advisable as a result of there can be a reproduction dependency. I went by means of Mongo documentation on realm and different blogs however no concrete resolution on this. Any ideas/ Strategies are welcomed. Thanks in Advance


Please enter your comment!
Please enter your name here