-
Notifications
You must be signed in to change notification settings - Fork 12
resolved the export csv for android 13+ #144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
resolved the export csv for android 13+ #144
Conversation
|
@Irtesaam i finally did the error of export csv in the app it will now use whatsapp like feature it will store the cvs files in android/media/com.scheduleX/ScheduleX |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@FireFistisDead Feature is working as expected. Just one small change: it still prints "saved to Downloads".
Update these three lines of code to use the latest path.

|
@Irtesaam i have made the changes |
Irtesaam
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@FireFistisDead You haven’t updated line 144 in exportSchedule.ts.
Also, showing just "Saved to storage:" is a bit vague—most users won’t know it went to Android/media/com.schedulex/ScheduleX. As a temporary solution, we can print the full file path in a toast so the user at least knows where it’s saved

|
@Irtesaam can you elaborate like should i show the directory path where it is saved or should i not |
1 similar comment
|
@Irtesaam can you elaborate like should i show the directory path where it is saved or should i not |
Yes. you should. Check the image. It should show that full path. |
|
@Irtesaam did the changes |



Fixes
Closes #135
Description
This pull request updates the logic for exporting schedule data to external storage on Android devices. The main changes focus on improving compatibility with Android 13+ by removing unnecessary storage permission checks and saving exported files in an app-specific directory similar to WhatsApp, which enhances user privacy and file organization.
Android storage compatibility improvements:
Android/media/com.schedulex/ScheduleXwithinRNFS.ExternalStorageDirectoryPath, ensuring files are saved in a modern, app-specific location. Added logic to create this directory if it does not exist.Files Changed
Screenshots/Videos
https://drive.google.com/file/d/1poyKeMP3EY-B3JIZ7BG3dMFO-QSp4FPE/view?usp=sharing
GSSoC Contributor
Testing Device