Skip to content
This repository has been archived by the owner on Mar 30, 2023. It is now read-only.

Success callback only called once (android) #50

Closed
samkuhn opened this issue Dec 29, 2014 · 4 comments
Closed

Success callback only called once (android) #50

samkuhn opened this issue Dec 29, 2014 · 4 comments
Labels

Comments

@samkuhn
Copy link

samkuhn commented Dec 29, 2014

There is a mention of this near the bottom of closed issue (#29) but the problem still persists, so I'm opening a new one.

The success callback fires the first time send is called (as expected) - but not on subsequent calls. This problem only occurs on android. The callbacks fire every time as expected under IOS.

@samkuhn
Copy link
Author

samkuhn commented Dec 29, 2014

(Ditto for Failure callback)

@agarrharr
Copy link
Owner

I believed that the pull request #49 had fixed this. I closed Issue #29 because of that commit that fixed callbacks. Can you make sure that your code is up to date? If it's up to date it should have a switch statement in src/android/Sms.java.

I'm testing on a Nexus 5 with Android Lollipop, and the success callback works every time.

What do you do to trigger a failure callback?

@agarrharr
Copy link
Owner

Please see issue #53

@dbaq
Copy link

dbaq commented Feb 5, 2015

@samkuhn if it is still a valid issue, please open a new one on https://github.com/cordova-sms/cordova-sms-plugin

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants