MXCzkEVM / datadash-wallet

Other
0 stars 1 forks source link

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

Open reasje opened 4 weeks ago

reasje commented 4 weeks ago

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 commented 4 weeks ago

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 commented 3 weeks ago

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 commented 3 weeks ago

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

reasje commented 3 weeks ago

@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 commented 3 weeks ago

This is working!! Thank you @reasje