Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Call and SMS buttons not functioning

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

wei7111620
Posts: 0
Joined: Wed Sep 17, 2014 3:55 pm

Call and SMS buttons not functioning

Hi Evgene,

Thanks for the assistance! I will try it out later.

wei7111620
Posts: 0
Joined: Wed Sep 17, 2014 3:55 pm

Call and SMS buttons not functioning

Hi Evgene,

The code given resolved the issue. Thanks again!

milind dahikar
Posts: 0
Joined: Thu Jan 29, 2015 1:40 pm

Call and SMS buttons not functioning

Great!!! Thanks Evgene... This code works...

Michael Droll
Posts: 0
Joined: Wed Mar 04, 2015 5:05 am

Call and SMS buttons not functioning

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.

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Call and SMS buttons not functioning

Thank you for pointing this out. We'll make correction in our docs.

Madi Anas
Posts: 0
Joined: Thu Sep 03, 2015 9:52 pm

Call and SMS buttons not functioning

How about pre-populating sms?
This does not seem to work on Android:
prewindow.open(‘sms:+375292xxxxxx?body=Hello from Appery.io!’, ‘_system’);/pre

M&M
Posts: 0
Joined: Tue Nov 11, 2014 6:59 am

Call and SMS buttons not functioning

window.location.href = “sms:+375292771265?body=Hello from Appery!”;

The above may work.

Madi Anas
Posts: 0
Joined: Thu Sep 03, 2015 9:52 pm

Call and SMS buttons not functioning

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?

Madi Anas
Posts: 0
Joined: Thu Sep 03, 2015 9:52 pm

Call and SMS buttons not functioning

Another post to prove my point https://getsatisfaction.com/apperyio/...

Return to “Issues”