-
Notifications
You must be signed in to change notification settings - Fork 333
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
Opening email with file attachment causes app crash on Android 8 #270
Comments
@dpa99c Could you please let me know if it's working by installing the plugin from master? |
@katzer Yes, this fixes it. Tested the master branch with Android 8.0 and it now works fine. |
I was facing the same issue. But now it is working fine. Thank you @katzer |
I've published v0.8.9 |
moses
pushed a commit
to flarehealth/cordova-plugin-email-composer
that referenced
this issue
Dec 4, 2017
* katzer-master: (61 commits) Release v0.8.11 Apply URL encoding when constructing mailto: link (katzer#273) Release v0.8.10 Fix warnings with iOS 11 Bump version to next dev cycle Update changelog Added alias for outlook Open gmail on ios and macos [fixes katzer#272] Release v0.8.9 Bump version to next dev cycle Fix opening email with file attachment causes app crash on Android 8 (katzer#270) Release v0.8.8 Update changelog Fix crash on iOS if attachment could not be found [fixes katzer#267] Fix plugin id in package.json Update documentation regarding Android and HTML Release v0.8.7 Add support for an app:// (Windows) Add support for an app:// (macOS) Rename fileManager to fm ...
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
File access has been changed on Android 8, so using the current plugin implementation to attach a file to an email causing a crash on Android 8:
To reproduce, just create a Cordova test project and run the example code on
deviceready
in Android 8 emulator/device:The same code runs fine on Android 7.1.1 and below.
Seems there is a potential solution in this SO post.
The text was updated successfully, but these errors were encountered: