Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MacOS support issue? #149

Closed
KeithBacalso opened this issue Nov 13, 2024 · 5 comments
Closed

MacOS support issue? #149

KeithBacalso opened this issue Nov 13, 2024 · 5 comments

Comments

@KeithBacalso
Copy link

I maybe wrong here, but when I ran my app using macos desktop and tested it by someone callnig me in Messenger, but my audio recording did not pause... It worked in mobile android and ios tho.

@KeithBacalso KeithBacalso changed the title MacOS support MacOS support issue? Nov 13, 2024
@ryanheise
Copy link
Owner

audio_session wraps around the AVAudioSession API for iOS and the AudioManager API for Android. It doesn't do anything for other platforms, although if you are building a multiplatform app, audio_session will still allow you to link to audio_session for other platforms just so that it can compile, although it does nothing for those platforms.

@KeithBacalso
Copy link
Author

audio_session wraps around the AVAudioSession API for iOS and the AudioManager API for Android. It doesn't do anything for other platforms, although if you are building a multiplatform app, audio_session will still allow you to link to audio_session for other platforms just so that it can compile, although it does nothing for those platforms.

so you mean it doesnt work with desktop apps?: windows & macos

@ryanheise
Copy link
Owner

It doesn't do anything on those platforms.

@KeithBacalso
Copy link
Author

It doesn't do anything on those platforms.

I see, but here in pub.dev I can see that it supported it?
image

@ryanheise
Copy link
Owner

That means that it will compile with all of those platforms as I already explained. But you need to actually read the README page to see what the package actually does. As I have stated, the package will compile for all platforms, but it only does something for Android and iOS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants