flutter_call_kit icon indicating copy to clipboard operation
flutter_call_kit copied to clipboard

Trying to run the sample

Open acamenhas opened this issue 6 years ago • 1 comments

Hi,

First of all thank you for your effort on this library. I created a project with your code sample, then put a print("...") on each function callbacks and debug it on device. My app it's open and then i made call to my iPhone. The iOS caller UI fires normally, (not the UI that you put as screen shot), i answer the call then end-it but nothing happens. Can you give me a hint to make it work properly?

Thank you, Artur

acamenhas avatar Dec 28 '19 22:12 acamenhas

The example seems to be outdated. You can go into the example folder and delete the android and iOS folders and run flutter create . to let flutter regenerate the platform specific folders for you.

  • cd example
  • rm -rf android ios
  • fluter create .

VictorUvarov avatar Dec 16 '20 20:12 VictorUvarov

@VictorUvarov I tried to do the steps you said however, I get a build error when running the project:

Undefined symbol: _AVAudioSessionInterruptionTypeKey Undefined symbol: _AVAudioSessionInterruptionNotification Undefined symbol: _AVAudioSessionCategoryPlayAndRecord Undefined symbol: _AVAudioSessionInterruptionOptionKey Undefined symbol: OBJC_CLASS$_AVAudioSession Undefined symbol: _AVAudioSessionModeVoiceChat

Here are the details of my context: Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel stable, 2.0.3, on macOS 11.2.3 20D91 darwin-x64, locale en-CZ) [✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3) [✓] Xcode - develop for iOS and macOS [✓] Chrome - develop for the web [✓] Android Studio (version 4.1) [✓] VS Code (version 1.56.2) [✓] Connected device (3 available)

Building for iOS min version 10.0

aososam avatar Jun 09 '21 12:06 aososam