Giter Site home page Giter Site logo

Comments (5)

cool2apps avatar cool2apps commented on July 24, 2024 1

Is this documentation still valid?

I added following to Podfile as documentation described:

 target.build_configurations.each do |config|
      config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= [
        '$(inherited)',
        'AUDIO_SESSION_MICROPHONE=0'
      ]
    end

But my app still asks microphone permission. Apple may reject my app just because of this, because my app does not need microphone and I can't explain them why my app requests this permission.

Also same problem happened to android side. I used this plugin for a long time on android and it did not ask for microphone recording permission. Yesterday I uploaded an update to one of my android apps, Google Play warns that your app asks microphone recording permission, this may prevent users installing your app. I did not find any documentation how I can remove this permission from android.

from just_audio.

ryanheise avatar ryanheise commented on July 24, 2024

Thanks for the suggestion.

To which pages does your suggestion apply?

* https://pub.dev/packages/audio_session#ios-setup

That link is from audio_session which has its own issues page (can you submit one there?), but it could equally apply to just_audio which requires the same instructions.

from just_audio.

Zurigan avatar Zurigan commented on July 24, 2024

That link is from audio_session which has its own issues page (can you submit one there?), but it could equally apply to just_audio which requires the same instructions.

Oops, not sure how I ended up on that page ... have edited this issue, added one to the audio_session repo.

from just_audio.

ryanheise avatar ryanheise commented on July 24, 2024

The documentation is still valid, with the proviso that after changing the configuration file you need to clean and rebuild.

This issue is about iOS only, but if you are experiencing an issue suddenly on both iOS AND Android, you might want to look at something else you changed in your app recently.

from just_audio.

cool2apps avatar cool2apps commented on July 24, 2024

The documentation is still valid, with the proviso that after changing the configuration file you need to clean and rebuild.

This issue is about iOS only, but if you are experiencing an issue suddenly on both iOS AND Android, you might want to look at something else you changed in your app recently.

You are right. Another package was using microphone. I removed that package and problem solved.

from just_audio.

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.