Quote from
asmat on March 6, 2021, 2:05 am
Hi I have already tested in android it works nice, but i did not tested on iPhone yet, but should be work on iPhone also.
add this code in project>properties>platforms option> additional Config.xml.
<preference name="PreferredContentMode" value="mobile" />
and then put something like this for phone Calling button:
SetVar [phoneNumber] "+9182...."
phoneCalling "[phoneNumber]"
or use this code:
BEGINJS
window.open('tel:123123123', '_self');
ENDJS
Hi I have already tested in android it works nice, but i did not tested on iPhone yet, but should be work on iPhone also.
add this code in project>properties>platforms option> additional Config.xml.
<preference name="PreferredContentMode" value="mobile" />
and then put something like this for phone Calling button:
SetVar [phoneNumber] "+9182...."
phoneCalling "[phoneNumber]"
or use this code:
BEGINJS
window.open('tel:123123123', '_self');
ENDJS