Mongodb realm and flutter

Hello, for a project I would like to use flutter, since there are no sdk for mongodb realm I opted to use graphql api to connect to mongodb without use any sdk. Is this a good idea?
If this is not the right way is it possible to call android sdk or ios sdk natives from flutter?

Thanks.

1 Like

@Antonio you can definitely call the native side of code (ios and android) from the flutter. Basically, you use realm for android and ios natively and get back access tokens which you can use in the flutter. use this (graphql_flutter | Flutter Package) library do graphlql call.

platform integration doc link: Writing custom platform-specific code | Flutter

Hope this helps

1 Like