Comments (8)
What platform are you using ? Android or ios ?
from flutter-assetsaudioplayer.
I use Android right now and i tested it on my mi9T which has Android 10 OS in it.
from flutter-assetsaudioplayer.
ok, I look for solutions
- listen phone state
https://stackoverflow.com/questions/11120922/how-to-pause-and-resume-audio-for-phone-calls
it look simple,
but it request a permission
- play with audioFocus on android, but it seems to be android > 8.0
https://developer.android.com/guide/topics/media-apps/audio-focus
from flutter-assetsaudioplayer.
the first requests a runtime permission :'(
from flutter-assetsaudioplayer.
Ok, i saw the audioFocus when i searched for solution.
How can i use the number 2 solution for dart and flutter for your pluging. it must be done for sure :)
from flutter-assetsaudioplayer.
I need to update the Android source code to do this, I'm on my phone now, it's 21.43pm, I'll try to do it tomorrow, I will ping you ;)
from flutter-assetsaudioplayer.
Oh thanks a lot then. I am looking forward for your answers :)
from flutter-assetsaudioplayer.
pushed in 1.4.3+1 ! can you try ?
from flutter-assetsaudioplayer.
Related Issues (20)
- playlistFinished event is triggering onData even before the song has completed
- Missing Now Playing Card on Android TV HOT 1
- Color OS and Oxygen OS issue
- Please update to UUID to 4.1.0 HOT 1
- What do I need to clean up after using Assets Audio Player?
- Exception ocurring leading to crash: android.app.ForegroundServiceStartNotAllowedException HOT 9
- Please update the latest version of assets_audio_player_web in pubspec.yaml file
- Open it and choose iOS, next song, previous song, or the previous 10 seconds and the next 10 seconds. HOT 1
- Buttons not working on notification in android 13
- two audio at same time
- Memory leaks
- Ios playlist feature is not working in ios
- DASH Streaming support on android and ios and web
- audio not working when the app is launched from the background HOT 1
- Can I preload audio assets on initState() or app launch?
- able to setpitch on IOS Platform.
- exception when do pub get
- No media visible in Android Auto HOT 2
- Privacy manifest file for iOS is missing
- RangeError fix
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter-assetsaudioplayer.