Open jefft0 opened 1 year ago
v1.9.0
go 1.18, javac 11
In the Java IPFS constructor, set internalStorage false. Change this line to:
internalStorage
File externalDir = context.getExternalFilesDirs(null)[1];
(In my case, externalDir is /storage/C45B-552B/Android/data/null.example/files .)
/storage/C45B-552B/Android/data/null.example/files
Logcat shows the error "IPFS start error: Node start failed: Repo opening failed" from this line.
The app should prompt the user for permission to use the directory, and successfully open the repo.
macOS 10.15 on Samsung Galaxy S20, Android 12
No response
Is there an existing issue for this?
Package version
v1.9.0
Language version and compiler version
go 1.18, javac 11
Bug description
In the Java IPFS constructor, set
internalStorage
false. Change this line to:File externalDir = context.getExternalFilesDirs(null)[1];
(In my case, externalDir is
/storage/C45B-552B/Android/data/null.example/files
.)Current behavior
Logcat shows the error "IPFS start error: Node start failed: Repo opening failed" from this line.
Expected behavior
The app should prompt the user for permission to use the directory, and successfully open the repo.
Environment
macOS 10.15 on Samsung Galaxy S20, Android 12
Other
No response