Page 1 of 5

The phone call button doesn't work.

Posted: Tue Oct 21, 2014 12:04 am
by Rafael Marques

The phone call button doesn't work.

The button worked properly until yesterday, and nothing has changed.
The button simply stopped working.

It does not open the window to make calls.

Image

Image

help me please...........

not changed anything, he simply stopped working alone!

What's happening?

This new builder has many problems.


The phone call button doesn't work.

Posted: Tue Oct 21, 2014 6:52 am
by Evgene Karachevtsev

Rafael,

1) You shouldn't do both of them at the same time.
window.location.href is needed to be used if you test on Android
window.open - if you test on iOS device
Please make check on what devices you are working and call the appropriate code
2) Please clarify, on what device do you test with what OS version. Have you changed any permissions?


The phone call button doesn't work.

Posted: Tue Oct 21, 2014 10:59 am
by Rafael Marques

I changed the permissions. Are still the same.
I haven't changed anything.

The button stopped working alone.

I used the two js at the same time. And it worked correctly.

The call button works when I am doing the test by phone.
But when I export and send to the googleplay, the call button doesn't work.
Image


The phone call button doesn't work.

Posted: Tue Oct 21, 2014 11:10 pm
by Yurii Orishchuk

Hi Rafael,

Please give us your app public link and describe steps to reproduce this problem.

Regards.


The phone call button doesn't work.

Posted: Wed Oct 22, 2014 1:22 am
by Rafael Marques

I did it, but to no avail.
When I test the qr code on a mobile device, the call button works.
When I post the apk on google play, and install in my mobile device android ... call button doesn't work


The phone call button doesn't work.

Posted: Wed Oct 22, 2014 1:36 am
by Rafael Marques

I did it, but to no avail.
When I test the qr code on a mobile device, the call button works.
When I post the apk on google play, and install in my mobile device android ... call button doesn't work

https://play.google.com/store/apps/de...

public link:

http://appery.io/app/mobile-frame?src...

Click the blue button

Image

Click on the button named "ITAMARAJU"

Image

do a search, search for "A"

Image

Image

Click the call button

Image

If you do the test by qr code or link public call button will work.

But download the app on google play, or install the apk, and the call button doesn't work.

Please, can you help me?


The phone call button doesn't work.

Posted: Wed Oct 22, 2014 7:14 am
by Evgene Karachevtsev

Hello Rafael,

After the last Cordova update phone call works the same way for Android and iOS. Please try the following code:
precodewindow.open('tel:+12345678901', '_system');/code/pre


The phone call button doesn't work.

Posted: Wed Oct 22, 2014 1:24 pm
by Rafael Marques

But I need that the phone number comes from the database.

for example: window.open=('tel:') + localStorage.getItem('botaotel');

How would the code you've given me, ja that the number of phone comes the LSV?


The phone call button doesn't work.

Posted: Wed Oct 22, 2014 1:25 pm
by Rafael Marques

But I need that the phone number comes from the database.

for example: window.open=('tel:') + localStorage.getItem('botaotel');

How would the code you've given me, ja that the number of phone comes the LSV?


The phone call button doesn't work.

Posted: Wed Oct 22, 2014 10:52 pm
by Illya Stepanov

Hi Rafael,

Should be something this way:
pre
code
window.open(localStorage.getItem('botaotel'), '_system');
/code
/pre