Find out how to use React-Native Realm as Native Module in iOS

Hey Stack Overflow group,

I’ve a React native venture and in that venture 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 venture and go the values to React-native by way of the bridging module.

On the React-native venture within the Pods part I can see that there’s RealmJS. Can I exploit that to fetch the present DB from the machine 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 shall be a reproduction dependency. I went by Mongo documentation on realm and different blogs however no concrete answer on this. Any ideas/ Strategies are welcomed. Thanks in Advance

See also  ios - Get notification after applicationWillEnterForeground

Leave a Reply