Closed Ahmadgnoor closed 9 months ago
you should provide permission to launch the app from the background first, please read the Android documentation on how to do this
i have treid So many way. Please help me to find the exect permission thanks in Advance
in our P2P sample, we use the next permission https://github.com/ConnectyCube/connectycube-flutter-samples/blob/master/p2p_call_sample/android/app/src/main/AndroidManifest.xml#L23
and here is the code for requesting this permission https://github.com/ConnectyCube/connectycube-flutter-samples/blob/master/p2p_call_sample/lib/src/select_opponents_screen.dart#L194
Thank you soo much
On Wed, Sep 20, 2023 at 8:23 PM TatankaConCube @.***> wrote:
in our P2P sample, we use the next permission https://github.com/ConnectyCube/connectycube-flutter-samples/blob/master/p2p_call_sample/android/app/src/main/AndroidManifest.xml#L23
and here is the code for requesting this permission https://github.com/ConnectyCube/connectycube-flutter-samples/blob/master/p2p_call_sample/lib/src/select_opponents_screen.dart#L194
— Reply to this email directly, view it on GitHub https://github.com/ConnectyCube/connectycube-flutter-call-kit/issues/111#issuecomment-1727946091, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKLO2X7AWJIAM5YU3MZPTX3X3MC6NANCNFSM6AAAAAA5ACYHE4 . You are receiving this because you authored the thread.Message ID: @.*** com>
Thank you soo much … On Wed, Sep 20, 2023 at 8:23 PM TatankaConCube @.> wrote: in our P2P sample, we use the next permission https://github.com/ConnectyCube/connectycube-flutter-samples/blob/master/p2p_call_sample/android/app/src/main/AndroidManifest.xml#L23 and here is the code for requesting this permission https://github.com/ConnectyCube/connectycube-flutter-samples/blob/master/p2p_call_sample/lib/src/select_opponents_screen.dart#L194 https://github.com/ConnectyCube/connectycube-flutter-samples/blob/master/p2p_call_sample/lib/src/utils/platform_utils.dart#L50 — Reply to this email directly, view it on GitHub <#111 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKLO2X7AWJIAM5YU3MZPTX3X3MC6NANCNFSM6AAAAAA5ACYHE4 . You are receiving this because you authored the thread.Message ID: @. com>
How did you manage to fix this because I'm unable to figure this out!!!
yup, just give the permission for notification
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
Permission Handler give this permission
Permission notificationPermission = Permission.notification;
when notification appear i click the Accept button event trigger but app is not opening