Hello Wei,
in new library versions in Appery.io (2.x) on Android is used the same code as for iOS
prewindow.open('tel:+37529XXXXXXX', '_system')/pre
Hello Wei,
in new library versions in Appery.io (2.x) on Android is used the same code as for iOS
prewindow.open('tel:+37529XXXXXXX', '_system')/pre
Hi Evgene,
Thanks for the assistance! I will try it out later.
Hi Evgene,
The code given resolved the issue. Thanks again!
Great!!! Thanks Evgene... This code works...
FYI
Someone needs to up date the documenation here: https://devcenter.appery.io/documenta... says to use this " window.location.href = "tel:+37529XXXXXXX"; "to match the new JS. It took me an hour of testing and combing through the forum to find this answer.
Thank you for pointing this out. We'll make correction in our docs.
How about pre-populating sms?
This does not seem to work on Android:
prewindow.open(‘sms:+375292xxxxxx?body=Hello from Appery.io!’, ‘_system’);/pre
window.location.href = “sms:+375292771265?body=Hello from Appery!”;
The above may work.
This does not work on Nexus 5 Android 5.1.1 I even exported the apk just to be sure.
Please advise. From researching online it seems that window.open is the only way for iOS and Android but body is not passed, however I try.
Also, I installed a Cordova SMS plugin :
https://github.com/cordova-sms/cordov...
However, it also does nothing, at least it sees the method "sms.send(.." defined but does not open an sms app or send a message.
If anyone can provide advice on this, please do.
--------------------------------------If I can suggest a few things to Appery team:
It would be enormously great if installing/using thrid party plugin experience would improve. Or at least suggest on which plugins will work properly on Appery. I found ngCordova repository for plugins. They make it seem easy to install and use plugins.
On that note, can we use ngCordova?
Or please expand the number of plugins available for Appery.
I did enough research on getsatisfaction to see that this is a common problem users stumble on. Platform is amazing but as soon as you dig deeper in functionality, it comes down to plugins. Current ones are great, but they are scarce. Docs on 3rd party plugins are not helping specific cases.
Another suggestion, let your customer write tutorials, guides and publish plugins, sort of like github. So far I found one tutorial by user and even he chose to post his tutorial on his site, which is down right now. gestsatisfaction is not a place for this. All you would have to do is monitor and provide structure.
Crowdsourcing is the future.
In short:
---As I am pretty sure pre-populating sms functionality via javascript no longer works, what suggestions can Appery team or community provide? (No Twillio please, this is not a solution)
---Any help on cordova-sms-plugin
---Can we, is yes how, use ngCordova or any other official plugin repostories?
Another post to prove my point https://getsatisfaction.com/apperyio/...