Open smismailalam opened 5 years ago
I'm facing same issue
I have got this plugin running in 2 apps and no problem with android 9.0 and SDK 28.
Can you give more information about your problem? Say that it does not work without providing information about your project makes it very difficult to help you
@videmort thanks for your response my code is: cordova.plugins.CordovaCall.callNumber("0000000", onsuccess, onerror); function onsuccess() { alert('onsuccess'); } function onerror() { alert('error'); } same code working fine on android 8.1 devices but not working on android 9.0 in both devices showing on onsuccess message
@IsmailAlam786 Did you call the function after the deviceready event?
Can you share this info:
Cordova:
Cordova CLI
Cordova LIB
Cordova Platforms
Cordova Plugins
System:
Android SDK Tools version
NodeJS
npm
OS
As i told you previously is important to share more info.
Cordova: Cordova CLI = 9.0.0 Cordova LIB = 9.0.0 (cordova-lib@9.0.1) Cordova Platforms = android Cordova Plugins = CordovaCall
System: Android SDK Tools version = 28 NodeJS = v10.15.3 npm = 6.4.1 OS = windows 10
@IsmailAlam786 cordova-android version? --> Run in your terminal cordova platform ls
Can you try if this method works? cordova.plugins.CordovaCall.receiveCall('Test');
@videmort cordova platform ls Installed platforms: android 7.1.4 yes this method cordova.plugins.CordovaCall.receiveCall('Test'); working fine on both devices
Try with lastest version of cordova android 8.1.0
with cordova-android@8.1.0 still the same experience. Receive works, callNumber doesn't.
It's very weird, i try and for me is working fine
Same issue faced on Android 11 device. Kindly advise.
Below code is not bringing up the dialer or making a call. onCallSuccess function gets called. cordova.plugins.CordovaCall.callNumber("xxxxx", onCallSuccess, onCallError);
node -v v16.13.1
npm -v 8.1.4
cordova -v 11.0.0
cordova platform ls Installed platforms: android 9.0.0
cordova plugin ls cordova-call 1.1.6 "CordovaCall" cordova-plugin-appminimize 1.0.1 "AppMinimize" cordova-plugin-network-information 3.0.0 "Network Information" cordova-plugin-whitelist 1.3.4 "Whitelist" cordova-plugin-x-toast 2.7.3 "Toast"
Android SDK Build Tools v32.0.0 API levels: 22 - 29 Testing on Android v11.
When I build an application in android SDK level 28 or higher plugin not working in Android 9.0 (Pie) but working fine on below android 9.0 devices