Open raresn opened 4 years ago
Have you checked the length of the message, could be the device is using an older sms standard and limiting the character length to 67? Does it happen on all devices / networks?
Could you post the device log and we'll have a look over it as well?
We don't have any ANE that can access the call log. Contact our custom development team if you need something specific developed at airnativeextensions@distriqt.com
Any way of checking the sms standard? I mean we send out around 50k sms messages from multiple devices and multiple netowrks and only some fail. Feels like acombination of diacritics and linebreaks and we can't get an exact error so a fix can be applied.
On Android 7 we get nothing back with the payloadNotWorking On Android 9 we get:
06-15 17:46:40.884 29968 29968 I air.ro.oursmsaplication: SMS Event [Event type="sms:sent:error" bubbles=false cancelable=false eventPhase=2] sms:sent:error [SMS(id=2,address='0757000001',message='Buna ziua, va reamintim de programarea dv din data de.
06-15 17:46:40.884 29968 29968 I air.ro.oursmsaplication: Apelati 0757000000.
06-15 17:46:40.884 29968 29968 I air.ro.oursmsaplication: Cosmetică by Lia')] generic_failure
The logcat doesn't trace any errors, but I attached it anyway. logcat_android9_short.txt logcat_android7_short.txt
When testing, you can copy/paste our function above and just put in your phone number to achieve the fail-result. Thank you for taking the time to check this.
Not really sure what to suggest here, we will try to replicate.
Hey! We have this strange case where a message doesn't get sent out - tried to look with logcat to see if there are any errors, but couldn't find anything.
Any clue what might cause payloadNotWorking not to work and the other one to work? Maybe we can do some debugging on a .. lower level?
Also, a question that is not related: Is there an ANE to read the call log? We are interested in getting the number from the last call (and other options if possible)
Thank you!