kfiross / flutter_mongodb_realm

Unofficial Flutter plugin for using MongoDB Realm services on Android, iOS and web.
Apache License 2.0
41 stars 17 forks source link

problem with device does not work example ( hot restart is necessary) #30

Open voltea opened 3 years ago

voltea commented 3 years ago

Hello, thank you very much for your plugin, I am implementing your example and in the simulator it works ok. But when I test on a real device I have to do the following to make it work: -Flutter run -When you open the app, perform a hot restart or restart the app (if you don't do this step, it doesn't work) -Now it works

This behavior only occurs when it is a physical device, could you tell me what I am doing wrong? I am taking your example for this

this problem occurs on android devices. ios devices works perfect

kfiross commented 3 years ago

I'll look into it and will try to figure out why, thanks for the support!

kfiross commented 3 years ago

@voltea It's seem you're doing fine, it's hard to tell what it is, can you share a repo or code I'll try to figure the problem?

juanandrescabrera commented 3 years ago

Note:This issue is related to android only. On iOS it works ok.

voltea commented 3 years ago

@voltea Parece que lo estás haciendo bien, es difícil saber qué es, ¿puedes compartir un repositorio o un código que intentaré resolver el problema?

https://github.com/voltea/mongorealm

@kfiross