Closed zeroshadow closed 9 years ago
Well, I found the solution... proceeding in step by step exclusion of the possible issues, I copied the content of APPLocalNotification.m and APPLocalNotification.h from the EmailExample Xcode project to my App Xcode project. And, magic, now it's working.
So, what was the last plugin?
Thought that installing the last plugin version as usual using the CLI: $ cordova plugin add de.appplant.cordova.plugin.email-composer will do it, but this will not install the very last plugin version.
As found, later on the main plugin page, use the latest stable version!!! So use this in the CLI
cordova plugin add de.appplant.cordova.plugin.email-composer@0.8.2
hope this will help.
cordova 3.6.3 JQM 1.4.0 "de.appplant.cordova.plugin.email-composer": "0.8.1"
Sending/receiving enclosed PDF with Android is OK, but with iOS8.2 iPhone6 & iOS8.0 iPhone5 even though the PDF shows up in the email body then, once on my desktop there is no file attached in the email.
I installed the Example App on my iPhone and it works. So I copied the README.pdf in my App www root. Copied the function also, just changed the call to the plugin from cordova.plugins. to window.plugin.
Only the base64 image arrives enclosed (not a stored file).
The README.pdf is showing in the email body, but no attachment in the delivery. Thing is, in my App, whatever I try I always get "Attachment path not found:" in the console.
Attachment path not found: file://img/logo.png Attachment path not found: file://img/512.png Attachment path not found: res://icon.png Attachment path not found: file://README.pdf Attachment path not found: file:///var/mobile/Containers/Data/Application/B6694B26-ABB2-4B84-B16C-723FEDC2A461/Documents/test.pdf
maybe conflict with some plugin I am using?
"com.verso.cordova.clipboard": "0.1.0", "de.appplant.cordova.plugin.email-composer": "0.8.1", "de.appplant.cordova.plugin.local-notification": "0.7.6", "org.apache.cordova.console": "0.2.11", "org.apache.cordova.dialogs": "0.2.10", "org.apache.cordova.file": "1.3.1", "org.apache.cordova.file-transfer": "0.4.6", "org.apache.cordova.globalization": "0.3.2", "org.apache.cordova.inappbrowser": "0.5.2", "org.apache.cordova.statusbar": "0.1.8", "uk.co.ilee.socialmessage": "0.2.6", "org.apache.cordova.device": "0.2.13-dev"
No, no conflict, I add the file and file transfer plug in to Email Example, and no improvements.
Sebastian, Guys please help! Stuck on this!