hiennguyen92 / flutter_callkit_incoming

Flutter Callkit Incoming
https://pub.dev/packages/flutter_callkit_incoming
MIT License
157 stars 250 forks source link

After lock screen accepted, next calls result in hidden lock screen #550

Open reduxdj opened 1 week ago

reduxdj commented 1 week ago

After I accept a call from the Android lock screen, the next time i attempt to answer from a lock screen, the lock screen is all black when the firebase background UI is shown, is all black, no UI is shown, but if I use my fingerprint, my app opens, and my call can be answered from my own default UI.

Also, when I handle accept button after the an accept from the lock screen, my app has an error and seems like it some weird behavior comes in and I my UI is not shown.

The two issues happen only after i attempt to answer the call from when the lock screen is shown...

[✓] Flutter (Channel beta, 3.21.0-1.0.pre.2, on macOS 14.3 23D56 darwin-arm64, locale en-US) [✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0) [✓] Xcode - develop for iOS and macOS (Xcode 15.4) [✓] Chrome - develop for the web [✓] Android Studio (version 2022.3) [✓] VS Code (version 1.90.0) [✓] Connected device (4 available) [✓] Network resources

reduxdj commented 1 week ago

This is in all 2.0.0+ versions, it looks like when you accept a call from the lock screen it creates another instance of your application when you accept the call.

reduxdj commented 1 week ago

Rolled back to 1.0.4 on android and this is working much better on my google pixel 8.