-
Notifications
You must be signed in to change notification settings - Fork 165
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
can't send multiparts message with intent = '' #7
Comments
Can You give the working code and add it to the documentation? And why should I use intent? I want direct send message :) |
If you want to send a message without opening the default intent, you have to set the intent value to empty (intent=''). So if you're sending multiparts message (more than 160 characters), we need to add the following permissions in the AndroidManifest.xml: I need to understand now why the callback method is called multiple times now (1 time per part of the message) |
hey @radiegtya, I pushed a fixed on a branch https://github.com/cordova-sms/cordova-sms-plugin/tree/wip_android_refactoring, it is fixing the issue with multiparts message in the default intent. And just one callback is fired when all the parts have been sent. Since I refactored a big part of the android code, please test and let me know if it is working properly. Install the new version by doing that:
let me know. cheers |
@radiegtya, thanks for answering the following questions:
|
Hi @dbaq, I'll answer Your questions:
|
Here's how you can get the javascript console when running Cordova on your device so that you can see the error: http://www.adamwadeharris.com/remote-debugging-in-phonegap-with-chrome-devtools/ |
@radiegtya did you make it work? |
Closing this one. Feel free to reopen if the problem persists. |
A pull request has been merge a few months ago agarrharr/phonegap-sms-plugin#40
it does not work if the intent value is empty.
The text was updated successfully, but these errors were encountered: