WebsiteBeaver / CordovaCall

Cordova CallKit & ConnectionService plugin for iOS/Android that displays the native call UI for VOIP apps
MIT License
196 stars 91 forks source link

No virtual method isEnabled #64

Open utiq opened 5 years ago

utiq commented 5 years ago

So I'm testing my app in a phisycal device and the calls are not received. I see this in error in the adb log

Galaxy Note 3 Android Version 5.0

V/AlarmManager(  901): waitForAlarm result :8
W/System.err(  755): java.lang.NoSuchMethodError: No virtual method isEnabled()Z in class Landroid/telecom/PhoneAccount; or its super classes (declaration of 'android.telecom.PhoneAccount' appears in /system/framework/framework.jar)
W/System.err(  755):    at com.dmarc.cordovacall.CordovaCall.checkCallPermission(CordovaCall.java:236)
W/System.err(  755):    at com.dmarc.cordovacall.CordovaCall.execute(CordovaCall.java:107)
W/System.err(  755):    at org.apache.cordova.CordovaPlugin.execute(CordovaPlugin.java:98)
W/System.err(  755):    at org.apache.cordova.PluginManager.exec(PluginManager.java:132)
W/System.err(  755):    at org.apache.cordova.CordovaBridge.jsExec(CordovaBridge.java:59)
W/System.err(  755):    at org.apache.cordova.engine.SystemExposedJsApi.exec(SystemExposedJsApi.java:41)
W/System.err(  755):    at android.os.MessageQueue.nativePollOnce(Native Method)
W/System.err(  755):    at android.os.MessageQueue.next(MessageQueue.java:143)
W/System.err(  755):    at android.os.Looper.loop(Looper.java:130)
W/System.err(  755):    at android.os.HandlerThread.run(HandlerThread.java:61)
W/ContextImpl(  901): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1699 com.android.server.InputMethodManagerService$6.run:2734 java.lang.Thread.run:818 <bottom of call stack> <bottom of call stack>