ToxAndroidRefImpl icon indicating copy to clipboard operation
ToxAndroidRefImpl copied to clipboard

Depending on Android version, exported message not accessible

Open ghreporter0001 opened this issue 5 years ago • 2 comments

Exporting messages does not store in SD card or accessible path in internal storage Toast messages indicate successful save (no errors thrown)

Steps to reproduce the behavior:

  1. Use ToxAndroidRefImpl on Android 6.0 / Marshmellow
  2. Export message
  3. Toasts indicate message exported (no problems)
  4. Exported message exists but not in SD card or accessible directory (requires root)

Expected behavior Messages stored in SD card or accessible internal storage location (does not require root)

Your system information:

  • TRIfA Version: [1.0.28]
  • App from F-Droid
  • Android OS Version: Android 6 / Marshmellow
  • Device:

Notes

  • Latest version installed from F-Droid
  • To find where exported messages are stored used this link from project and line (587):
    • https://github.com/zoff99/ToxAndroidRefImpl/blob/bb52ab9150e8fcef59cf1fcb82d581d38799d201/android-refimpl-app/app/src/main/java/com/zoffcc/applications/trifa/MainActivity.java
  • In phone the path is under /data/.../vfs_export/...
    • Using getExternalFilesDir dependent on Android version (https://stackoverflow.com/questions/10123812/difference-between-getexternalfilesdir-and-getexternalstoragedirectory)

ghreporter0001 avatar Dec 20 '20 21:12 ghreporter0001

@ghreporter0001 is this issue still happening for you? can you provide more details please?

zoff99 avatar Aug 31 '22 07:08 zoff99