Closed thejobsmarket closed 2 months ago
Hi, could you try this solution?
Please tell me if you're still facing the same problem.
I gave storage, external storage and all type of other access permissions; android:requestLegacyExternalStorage="true" but rinf keeps on crashing. Worst thing is that it crashes and afterwards does not respond any more:
directory: /
I/flutter (30201): trying: .
I/flutter (30201): A panic occurred in Rust.
I/flutter (30201): panicked at native/hub/src/plugin_loader.rs:26:36:
I/flutter (30201): called Result::unwrap()
on an Err
value: Os { code: 13, kind: PermissionDenied, message: "Permission denied" }
I/flutter (30201): 0:
I will close this issue because it's not a bug from Rinf. This phenomenon is related to Android app's permissions. See you at the discussions page #348 :)
Still cannot access the file system from Rust I probably need to do something to allow disk access for the rust process but I don't know what, so moving this back to being issues I am running Android and this simple test code:
I/flutter (32666): A panic occurred in Rust. I/flutter (32666): panicked at native/hub/src/plugin_loader.rs:12:40: I/flutter (32666): called
Result::unwrap()
on anErr
value: Os { code: 13, kind: PermissionDenied, message: "Permission denied" }Originally posted by @thejobsmarket in https://github.com/cunarist/rinf/discussions/348#discussioncomment-9662532