Hello, does it make sense to use a state management library like mobx with realm?... I'm afraid I would be forced to declare model schemas for booth, realm and mobx...
Is there any information on setting up a database repo for react native realm that can store read and write functions, so database calls don't have to be written into the components?
The mongodb docs for realm sdk of react native are so so horrible that I was looking for some other source of information. All I want is a guided tutorial where they go step by step explaining each of the concepts. After trawling the internet, i stumbled upon this video. Now I know who has written the docs. Otherwise, none the wiser...
I agree. Not too great if you're using it specifically to LEARN. However, it's great if you're simply reading along with the docs. After reading a bit then coming back, it's making sense.
Hello guys; I have a little question; Consider the situation of an App that store uses and their collected items, the schema needs username and collections (username is unique) Also the app operate world wide but should only sync the county wide data if one needs to add a user who was registered in the other Country, will have to search to get the record from Atlas and then update if the result is not found then new user is created. Here is my problem statement. Say i created an account and put several items in my collection, when I went abroad I tried to add some items I collected there but at a time there's no internet connection so I couldn't search the Atlas to get my records, and I was treated as new and succeeded to save my collection as new user but with my original username (remember username is unique) Here's my question when the network comes. How Will the realm sync resolve my data!? Will it append to my original collections the new items which was added without network? Or I'll end up having to separate collections (which is unlikely, because username must be unique), or one of the record (especially the one created offline) will be discarded? Greetings from Tanzania 🇹🇿
I think your question is more to do with autehntication, session persistence while offline. Perharps explore the authenitication and authorisation persistence while offline.
@@winstonmhango3437 , thanks buddy but my curiosity was on how to solve those conflicts; The key point is this, a user can use any device to add the item, by just specifying the username and the items. So if abroud, I use another device (phone) to add items under my username, but I can't find my username in that device because it's offline and it only sync country data also I can't search for a usernames from Atras while offline, the option is to create new user (as I'll be considered new in the country), if I created a new username and add my items using the original username ; Does mongodb realm solve the issue by appending those new items to my original collections due to matching usernames or what? (Remember username is unique) So authentication is not the issue, I can use anyone's device to add items under my username 😊, Kindly help
Hi Raymond! Would you like to discuss your question in our MongoDB Community forums with our team and other Community experts? www.mongodb.com/community/forums/c/atlas-app-services-realm/9
✅ Sign-up for a free cluster at: mdb.link/free-7hQSLfIu8lo
✅ Get help on our Community Forums: mdb.link/community-7hQSLfIu8lo
Hi am joining from Nairobi Kenya
We need Expo ASAP!
Make a github issue :)
Thks
Thanks!
Samuel from Canada
Could you please share the github link of this specific app ? I wanna go through his setup.
Hello, does it make sense to use a state management library like mobx with realm?... I'm afraid I would be forced to declare model schemas for booth, realm and mobx...
Is there any information on setting up a database repo for react native realm that can store read and write functions, so database calls don't have to be written into the components?
Github link of this demo project is not working ... could you pls help to find this project link ...
does mongoDB realm sync support react native for windows and macs?
Can we access the source code in regards to this?
The mongodb docs for realm sdk of react native are so so horrible that I was looking for some other source of information.
All I want is a guided tutorial where they go step by step explaining each of the concepts.
After trawling the internet, i stumbled upon this video.
Now I know who has written the docs. Otherwise, none the wiser...
Not a good tutorial, it has been premade.
I agree. Not too great if you're using it specifically to LEARN. However, it's great if you're simply reading along with the docs. After reading a bit then coming back, it's making sense.
Hello guys; I have a little question;
Consider the situation of an App that store uses and their collected items, the schema needs username and collections (username is unique)
Also the app operate world wide but should only sync the county wide data if one needs to add a user who was registered in the other Country, will have to search to get the record from Atlas and then update if the result is not found then new user is created.
Here is my problem statement.
Say i created an account and put several items in my collection, when I went abroad I tried to add some items I collected there but at a time there's no internet connection so I couldn't search the Atlas to get my records, and I was treated as new and succeeded to save my collection as new user but with my original username (remember username is unique)
Here's my question when the network comes.
How Will the realm sync resolve my data!?
Will it append to my original collections the new items which was added without network?
Or I'll end up having to separate collections (which is unlikely, because username must be unique), or one of the record (especially the one created offline) will be discarded?
Greetings from Tanzania 🇹🇿
You could change subscriptions when you move from country to country but still use the same username.
I think your question is more to do with autehntication, session persistence while offline. Perharps explore the authenitication and authorisation persistence while offline.
@@winstonmhango3437 , thanks buddy but my curiosity was on how to solve those conflicts;
The key point is this, a user can use any device to add the item, by just specifying the username and the items.
So if abroud, I use another device (phone) to add items under my username, but I can't find my username in that device because it's offline and it only sync country data also I can't search for a usernames from Atras while offline, the option is to create new user (as I'll be considered new in the country), if I created a new username and add my items using the original username ;
Does mongodb realm solve the issue by appending those new items to my original collections due to matching usernames or what? (Remember username is unique)
So authentication is not the issue, I can use anyone's device to add items under my username 😊,
Kindly help
Hi Raymond! Would you like to discuss your question in our MongoDB Community forums with our team and other Community experts? www.mongodb.com/community/forums/c/atlas-app-services-realm/9
@@MongoDB sure