-
Type: Task
-
Resolution: Works as Designed
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: None
What happened?
The first time I install and run the app, var user = await realmApp.LogInAsync(Credentials.Anonymous()); _always hangs. No output or exceptions. I can always reproduce and I've done so on multiple simulators and devices. I'm not doing anything special of weird with threading and it always works the second time I run the app.
I have a simple Xamarin sandbox app that I'm using for testing Realm. I can invite you to the GitHub repo if you give me an email. It will compile and run with no problems.
Repro steps
- Install and run the app for the first time
- Put a breakpoint on LoginAsync and another on the next line
Result: App hangs. Need to re-run it and the second time it won't hang.
Version
10.18.0 but I can also repro on 10.17.0
What SDK flavour are you using?
MongoDB Atlas (i.e. Sync, auth, functions)
What type of application is this?
Xamarin
Client OS and version
iOS 16 but I saw it on previous versions (15 for sure.. I don't expect it's iOS related)
Code snippets
Once I give you access to my repo you can break on the LoginAsync call in FolderClientService.
Stacktrace of the exception/crash you're getting
It just hangs unfortunately.
Relevant log output
No response