Skip to content
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

Fix CSV Export/Import on Android #23

Merged
merged 3 commits into from
Dec 8, 2023
Merged

Fix CSV Export/Import on Android #23

merged 3 commits into from
Dec 8, 2023

Conversation

zetavg
Copy link
Owner

@zetavg zetavg commented Dec 6, 2023

  • The file:// prefix matters on Android.
  • Seems that readRemoteFile from react-native-csv is not working on Android. It will always call the error callback with an empty object ({}), and the complete callback is never called. To work around this, we use RNFS.readFile for the file reading, in combination with readString from react-native-csv to get the work done.

@zetavg zetavg marked this pull request as ready for review December 6, 2023 16:24
Copy link

github-actions bot commented Dec 6, 2023

⚒️ A build has been made for this PR. Check the details below to see how to get it.

Details

  • Android APK: Check the artifacts of this run to download it (open it in web browser and scroll to the bottom for the "Artifacts" section).
  • iOS Nightly: 0.1.2 (255) has been uploaded to App Store Connect.
If you are in the Internal Developer group on TestFlight Nightly, the iOS builds should appear on TestFlight in a few minutes. If you are not in the in the Internal Developer group and want to try the build, please contact a maintainer to get you set up.

Tip: Convert this PR to draft to disable these automatic builds.

Copy link

github-actions bot commented Dec 7, 2023

⚒️ A build has been made for this PR. Check the details below to see how to get it.

Details

  • Android APK: Check the artifacts of this run to download it (open it in web browser and scroll to the bottom for the "Artifacts" section).
  • iOS Nightly: 0.1.2 (257) has been uploaded to App Store Connect.
If you are in the Internal Developer group on TestFlight Nightly, the iOS builds should appear on TestFlight in a few minutes. If you are not in the in the Internal Developer group and want to try the build, please contact a maintainer to get you set up.

Tip: Convert this PR to draft to disable these automatic builds.

@zetavg zetavg changed the title Fix CSV Export on Android Fix CSV Export/Import on Android Dec 7, 2023
Copy link

github-actions bot commented Dec 7, 2023

⚒️ A build has been made for this PR. Check the details below to see how to get it.

Details

  • Android APK: Check the artifacts of this run to download it (open it in web browser and scroll to the bottom for the "Artifacts" section).
  • iOS Nightly: 0.1.2 (261) has been uploaded to App Store Connect.
If you are in the Internal Developer group on TestFlight Nightly, the iOS builds should appear on TestFlight in a few minutes. If you are not in the in the Internal Developer group and want to try the build, please contact a maintainer to get you set up.

Tip: Convert this PR to draft to disable these automatic builds.

@zetavg zetavg merged commit 7a3eadb into main Dec 8, 2023
23 checks passed
@zetavg zetavg deleted the fix-csv-export-android branch December 8, 2023 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant