Generic error: sms not sent


so as the subject looks, im getting that error when i use the sos button and i cant seem to figure out whats the problem. as much as it looks like, its an sos app and i basically want it to send sms to multiple people at once , that is, the numbers included in the global phonenumbers when i press the sosbutton. it was working well when it was hardcoded with the emergency number directly, but unfortunately, as soon as i created the blocks that add contacts into the app and stores them, im facing this issue. how should i proceed and whats the problem? the problem is NOT in the permissions for allowing apps to send sms, ive checked it

There is no such permission called android.permission

Also you can send a sms only to a phone number, but not to a list of phone numbers
Use a clock component to send a message to the first number, then to the second number, etc
For example like this Help me about looping to send message - #11 by Taifun

Taifun