You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Changing the line linked above to AuthProvider.RLM_AUTH_PROVIDER_CUSTOM -> AuthenticationProvider.JWT
should fix the issue.
In another location, this has already been done.
Stacktrace & log output
E/AndroidRuntime: FATAL EXCEPTION: main
Process: <removed>, PID: 22790
kotlin.NotImplementedError: An operation is not implemented.
at io.realm.kotlin.mongodb.internal.UserImpl.getProviderFromCore(UserImpl.kt:196)
at io.realm.kotlin.mongodb.internal.UserImpl.getProvider(UserImpl.kt:56)
...
I/Process: Sending signal. PID: 22790 SIG: 9
Can you reproduce the bug?
Always
Reproduction Steps
Access UserImpl::provider for a user logged in with a JWT token.
How frequently does the bug occur?
Always
Description
When checking for the provider of a user signed in with a JWT token, the sdk crashes.
The reason for the crash is that there is a kotlin TODO() function in getProviderFromCore
(Other mappings also contain TODO() functions).
Changing the line linked above to
AuthProvider.RLM_AUTH_PROVIDER_CUSTOM -> AuthenticationProvider.JWT
should fix the issue.
In another location, this has already been done.
Stacktrace & log output
Can you reproduce the bug?
Always
Reproduction Steps
Access UserImpl::provider for a user logged in with a JWT token.
Version
1.7.0
What Atlas App Services are you using?
Both Atlas Device Sync and Atlas App Services
Are you using encryption?
No
Platform OS and version(s)
Android sdk 31
Build environment
Android Studio version: 2021.2.1 Patch 1 (Chipmunk)
Android Build Tools version: 33.0.1
Gradle version: 7.3.3
The text was updated successfully, but these errors were encountered: