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
Currently you get RealmError which says unrecoverable error when permission is denied, but it is possible that you want to open Realm on external storage without having requested runtime permission.
Considering this is permission denial by the system, it makes sense that you get the same error as you would if you tried to access the external storage without permission, which is SecurityException.
Caused by: java.lang.SecurityException: Permission Denial: reading com.android.providers.media.MediaProvider uri content://media/external/audio/media from pid=2009, uid=10059 requires android.permission.READ_EXTERNAL_STORAGE, or grantUriPermission()
Currently you get
RealmError
which saysunrecoverable error
when permission is denied, but it is possible that you want to open Realm on external storage without having requested runtime permission.Considering this is permission denial by the system, it makes sense that you get the same error as you would if you tried to access the external storage without permission, which is
SecurityException
.Related to #3972 (comment)
Version: 2.3.0
The text was updated successfully, but these errors were encountered: