flutter-webrtc / callkeep

iOS CallKit and Android ConnectionService for Flutter
MIT License
131 stars 142 forks source link

crash ios when app is killed #78

Open ahmedJD opened 3 years ago

ahmedJD commented 3 years ago

after display incomming call the app crash when the app is killed

efraespada commented 3 years ago

Have you done this? @ahmedJD

ahmedJD commented 3 years ago

@efraespada

efraespada commented 3 years ago

@ahmedJD

If your iOS app is terminated while developing, you can't start again normally (as Android), you need to fire the app with the flutter command.

It happens with any app, even if you don't use callkeep.

It doesn't happen with release apps. You can check it by uploading your release app to TestFlight.

cloudwebrtc commented 3 years ago

@ahmedJD You can use flutter run --release|--profile, so that you can still be woken up after killing the app on iOS,

efraespada commented 3 years ago

Then you can try since the setup method. Check which method is failing.

ahmedJD commented 3 years ago

@cloudwebrtc @efraespada when i use --release i can't see logs and when i use --profile logs disappear after killing the app. i can't use them together : Only one of --debug, --profile, --jit-release, or --release can be specified.

Run 'flutter -h' (or 'flutter -h') for available flutter commands and options.