ionic-plugin-callkit
ionic-plugin-callkit copied to clipboard
Native views not visible on Android
Hi,
Thank you for this great plugin! I have a question, I am able to report an incoming call and I hear the audio / vibration. However, the native android call view is not visible. I just see my app and hear the sound. Do I have to grant permissions or something?
I run the app on a Android device, viaionic cordova run android
Kind regards,
Marcel
@Lorempn2, theres no Callkit natives views for Android, just for iOS.
Hi Folks, first of all - thanks for this great plugin! Got it working with ios + voip pushes - flawless! To clear things up: Could anybody provide me some more detailed information about what we get on android? No Native Screens - ok. But all i got atm - is a horrible loud ringing on my android device and this only if i'am in app. So long story short - is it possible to start the app and get a ring sound with this?
On android when you call reportIncomingCall it should bring MainAcitvity of your app to the front, and keeps the screen on, dismisses the keyguard, etc. If this is not working for you, you should check that your AndroidManifest.xml that it has an activity android:name="MainActivity" (that should be the first one in the Application tag)
ty @Taracque for making things clear. esp the keyguard part is missing in our current android implementation... we give it a shot tomorrow ;)
Keyguard should be dismissed by the plugin. If it doesn't work, then either your main activity is not called MainActivity or there is a bug in the plugin.