56
Views
12
Comments
[SMS Cordova Plugin] SMS PLUGIN
sms-cordova-plugin
Mobile icon
Forge asset by Pedro Domingues
Application Type
Mobile

Hello i am tring to send a sms from my android aplication and i am using the Sms Cordova plogin qith this logicBut i have always the same error and the application says that the plugin is not available, how could i fix this?

2026-03-23 09-58-51
Pedro Domingues
Champion

Daniel, you are not supposed to use the plugin like that!!

The plugin should remain on the original module and then you only need to consume the actions! Probably, as you dragged and dropped the plugin code into another module, you don't have the repository of that plugin configured on that module!

UserImage.jpg
Daniel Almeida

I have already tried that and it gives me the same error.


2026-03-23 09-58-51
Pedro Domingues
Champion
UserImage.jpg
Daniel Almeida

I will send you the cordova module, if its not enough i'll try send you the entire application.

SMSCordovaPlugin.oap
2026-03-23 09-58-51
Pedro Domingues
Champion


The plugin seems ok! I just want to see the module where you are calling it!

2026-03-23 09-58-51
Pedro Domingues
Champion

Also, it's important to understand what are you trying to achieve! Can you please explain?

UserImage.jpg
Daniel Almeida

Its part of a very big application, the part where we call the module in the "registro" screen on the save button in the saveonclick action.The phone number was changed to protect the developers privacy.

mergemodulo.oap
UserImage.jpg
Daniel Almeida

Sending an sms with a password generated text to later on confirm the phone number.

2026-03-23 09-58-51
Pedro Domingues
Champion


I will do some tests tomorrow and i will get back to you!

2026-03-23 09-58-51
Pedro Domingues
Champion

Hi Daniel,

Sorry for the delay. I have created a sample app, just to test the plugin, and it's working fine.

I have attached the OML that i've created for the test purposes.

Cheers,

Pedro Domingues

SendSMS.oml
UserImage.jpg
Daniel Almeida

Thank you i will try it.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.