Code Monkey home page Code Monkey logo

Comments (13)

SnowLittleStone avatar SnowLittleStone commented on August 22, 2024 3

you can follow the modifications below
1、in 'AVAudioSession.CategoryOptions' in 'flutter/.pub-cache/hosted/pub.flutter-io.cn/audio_recorder-1.0.2/ios/Classes/SwiftAudioRecorderPlugin.swift'
change 'try AVAudioSession.sharedInstance().setCategory(AVAudioSessionCategoryPlayAndRecord, with: AVAudioSessionCategoryOptions.defaultToSpeaker)' to 'try AVAudioSession.sharedInstance().setCategory(AVAudioSession.Category.playAndRecord, options: AVAudioSession.CategoryOptions.defaultToSpeaker)'
2、in 'AVAudioSession.CategoryOptions' in 'flutter/.pub-cache/hosted/pub.flutter-io.cn/audio_recorder-1.0.2/ios/Classes/SwiftAudioRecorderPlugin.swift' change 'switch AVAudioSession.sharedInstance().recordPermission(){' to 'switch AVAudioSession.sharedInstance().recordPermission{'

from audio_recorder.

dannycortesv avatar dannycortesv commented on August 22, 2024

I'm also having this issue

from audio_recorder.

progid avatar progid commented on August 22, 2024

I'm also having this issue

from audio_recorder.

JhonPreston avatar JhonPreston commented on August 22, 2024

I have the same issue

from audio_recorder.

Shakle avatar Shakle commented on August 22, 2024

Can't you just upgrade to the latest stable flutter version?

from audio_recorder.

D4n1378472 avatar D4n1378472 commented on August 22, 2024

Is someone working on that issue?

from audio_recorder.

dinit-sadaindia avatar dinit-sadaindia commented on August 22, 2024

Can someone solve this. We cant build with this bug

from audio_recorder.

gabrielferreir avatar gabrielferreir commented on August 22, 2024

I'm also having this issue

from audio_recorder.

daniilsv avatar daniilsv commented on August 22, 2024

Same, can't build with this bug

from audio_recorder.

kbokarius avatar kbokarius commented on August 22, 2024

I'm on Flutter 1.20.1 and am getting this error.

from audio_recorder.

kbokarius avatar kbokarius commented on August 22, 2024

@SnowLittleStone that seems to have done the trick, thank you!

from audio_recorder.

mrtian avatar mrtian commented on August 22, 2024

swift version cause it!

from audio_recorder.

jonathanwork avatar jonathanwork commented on August 22, 2024

merge it with master

from audio_recorder.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.