React Native wrapper
Atul Yadav
Waiting for this, eagerly.
Oluwafemi Matthew
Are there still any plans to integrate the React Native SDK and MongoDB Mobile, if yes what's the ETA
Drew DiPalma
Hi Gianfranco –
We actually just released a React Native SDK for Stitch. As both the SDK and MongoDB Mobile are newly released we are waiting for a bit of stabilization before we integrate the two, but the current plan is that the React Native SDK will be the next platform to support MongoDB Mobile.
You can find the React Native SDK here: https://www.npmjs.com/package/mongodb-stitch-react-native-sdk
Thanks,
Drew
E
Ethan Tran
Drew DiPalma:
Hey,
I don't know where to post issues. This seems to be the most relevant place.
I wanted to see if I could create react native bindings to the mobile SDK for some stuff I am doing with Content Providers and received this error when trying to setup the SDK with a react native app.
java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "u_charDirection_55" referenced by "/data/app/com.mongodbprovider-00o1DlDgjbFwQKyFi-fISQ==/lib/arm/libjsc.so"...
You can see the project here. https://bitbucket.org/711_ethantran/mongodb-provider/src/master/
Essentially I am trying to make react native bindings to the mobile sdk but also bindings to a content provider that uses the mobile sdk. I want to have an app that is the content provider to the local mongodb and can also interact with database from react native methods. And then other apps can access database only through content resolver. Check RNMongoDBModule.java and MongoDBContentProvider.java for rough implementations.
Drew DiPalma
Ethan Tran: Hi Ethan – We're taking a look into this, but it's likely a result or the current packaging for MongoDB Mobile. This may go away as we evolve to an AAR packaging model (which should be complete within the next month or so). I'll update this thread if we are able to find a more short term fix.
M
Matt Lord
Ethan Tran that doesn't seem to be directly related to the MongoDB Embedded SDK. Looks like it's trying to find an ICU collation related symbol in the JavaScriptCore library. MongoDB doesn't use that library nor does it use/contain that symbol.
Billy Lo
Drew DiPalma: Any news on MongoDB Mobile support on React Native SDK? Eagerly waiting here too!
Amit Shetye
Piotr Falba
Drew DiPalma: Any news regarding the React Native version of MongoDB?