Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

Issue with Saving Seed Phrase Locally in File on Android #229

Open
reasje opened this issue Jun 4, 2024 · 5 comments
Open

Issue with Saving Seed Phrase Locally in File on Android #229

reasje opened this issue Jun 4, 2024 · 5 comments
Assignees

Comments

@reasje
Copy link
Contributor

reasje commented Jun 4, 2024

When attempting to save the seed phrase locally in a file on Android, the feature works correctly when using the 'My Files' directory but encounters a problem when using the 'Files' directory.

@reasje reasje self-assigned this Jun 4, 2024
@reasje
Copy link
Contributor Author

reasje commented Jun 4, 2024

The problem seems to be on native side of the package we use for Android, Somehow the returned file path in null, I have read some docs and checked the native code, So far I am able to determine where the logic goes wrong, Checking more on that.

@reasje
Copy link
Contributor Author

reasje commented Jun 5, 2024

The function that got the path with file id was using a deprecated method, Removing that and integrating It with new method fixed the error, PR has been made and the package developer merged It.

@reasje
Copy link
Contributor Author

reasje commented Jun 5, 2024

Sources that were used :
Stackoverflow issue
Shared media docs
MediaStore docs

@reasje
Copy link
Contributor Author

reasje commented Jun 6, 2024

@SanghamitraBhowmick1993 I have just pushed the fix for testing, According to bug report now you should be able to import seed phrase via Files app.

NOTE : Enabled local backup import for testing purpose will revert back once It's tested

@SanghamitraBhowmick1993
Copy link
Contributor

This is working!! Thank you @reasje

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants