Closed MichaelPolla closed 6 years ago
After doing a lot of tests, I figured out that it has something to do with the attachements. If there's any, the email app opens correctly. But if any attachment is add, while it works as expected on iOS, it crashes the app (without any indication in the console) on Android.
A simple test to verify this is to put the following line in place of this.attachements
. It's the base64 code for the 💡 icon (any other base64 code can also be used). On iOS it shows the picture but on Android it simply crashes.
['base64:icon.png//iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAgAElEQVR4nO2deXhc1Xn/Dy1NBAmRZczisBhECMUpVRMRkhYXPSU/hSbFiOYXmxQICkkIxpDYpfArNCFW3SykULt1kPBgzVzd8x4bW7YlWV4ky4u8Pjbe5N0QcEVCjLFla2xZI40Wc35/3HtHd+4yc5dzl9Gc7/O8z5M/gufec873875nuUcIceWshtpQ2VAbKru4Hv384nr084vrUOzj9WijHPs+3oA+Noz1xnFxnSraUPfwOrRxeK0UF9vQz4fa0M+HW1HF0BpU1l2PCoN+fy6uUa/udahwqA2VXVyHZg23IWF4HWr/eD2Kf7weUV1ssBEG//3F9YheXKeJtpEYVmLtSAy1ovbhViQMtaBZHAxcXC412IpKLraiGcNrUePFtahTZ8h1xuY1MjlVhWUIGPxeJgCoQJCKwRbUOdiChMEWVNm/Gk0Iuk25uEKrwVZUMtiKZgy1osbhNhQfbkvPujozmpj/4sYCOrytmF7cVkyHd5bS4T3lqRjqmEoHD03Tx0GD2DuZDu0uT8XwlmIpNhRlBMBwazoEhlpGYrAFdQ60IGFwFarkFQJX3mugFVUMtaK5w62oM81EssHMADC8oYAOby2mQ29NokN7J9PBg9PowOGZdOB3r/gXb8+mAwen0cF9U+ngrnI6tLmYDq0ryAgAGQJ0cE0q2pOr0QxeHXDljQZXopLBFiQMtaL4UKuUMXVZVAOA4S3FdGh3OR3cX0kHjr7or9HtxrHZdKCjkg6+VU4HNxUbVQFqAEixGtHBVai9n1cGXKNR/avRhKEWNGuwBXUOaTKkEQCGNhfTwT2T/c/qXsWBaXRw+yQ6uGG8OQBWIzqwGtGBVSg+s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CAAPCJ74EGQjg3/n7q6unvkrH8HAHyOEHJ9JBIZJ39LUxDm7wIuUb78mzNnzmXRaPSK2trasQsWLLgmFovdIH/F9+eCINwhiuIX5WOPfyMfFLqXyMeCsfSxxYOEkG8bnflXjgbLZ7Ndn/MnAZ/pDxo+YTSgy/a0ZF6S5TsCO98LKN8JGB39lcfwt0H6lmWycvwXY3yvnBD/RhTFu0RR/KL8bcyfx2KxYkLI9Rjjq2tqaorkb2oKwngKUKvUl4Dz5s37pAIC5YMgeRXzs8pHQaD6+k8mXgkAfIkQ8mVi7as/Wx8IYZMv/ViAxEkEDR8vgpUB3YQd82rHArb5xSDIH/7gLF8JEkK+DABfAoASQRDuIKqvA+UFvhui0ehnFyxYcI0oilcKgjCmurr603PmzLksl74IREieDmg/CY5EIpcrdwAonwVrv/+XqXejIAg3Zfo8GOTv/rGDT4TD9l1/UPDxMtwY0E3YNS8xuUsAHHz6Cyb3BID8+a98Mc2NhJDrje4HEARhDJHvBtB+Cqy5FyBnZHgTkPoWIO0NQOrbf8wuCCGqm3/sXhIStpt9goYP62BlQJdtyuw2ITNTm13+QUxuClIuAFFuCdLeEKS9HcjkZqCcluE9gEbXg1m5IszNNWHaCOpuv6Dh41WwNGDQ9wnavf7LyhVgZteAjZarwKzK9BZgO7f/Or0o1K+LQ7NF0BeLehksDOgmWNwo7OTmYDu3BWt9EKAfQyVH9/+7ufOfFUicRFDw8Tq8vNLbSrD8mwJW/nYAvwbcP3n6V3/cgCRX/riIH+HHH/Xw4g9/MPjrQVwhkuO/GecWJA7/XJWv8PEj3BjQZVuy/LuCo1b/HxWyafS7jzaJAAAAAElFTkSuQmCC']
Ok so we're making some progress : it works in Android versions <= Nougat (API level 24). The problem appears with Android Oreo (API level 26).
Here's a sample error message from logs :
AndroidRuntime: android.os.FileUriExposedException: file:///storage/emulated/0/Android/data/ch.hepia.vess/cache/email_composer/Test.csv exposed beyond app through ClipData.Item.getUri()
Reopening this issue because the export bug came back...
Ok so after doing a fresh install and build of the project, the export fonction worked. Running ionic cordova run android
added cordova-plugin-email-composer
to package.json
(although it worked even without running npm install
again).
When clicking the export button, the whole app crash, instead of opening a new email with the files attached.