Comments (7)
I think this is doable with a Flutter life-cycle event. It's just a matter of calling the StreamingCore's stop
method. That will detach the notification making the foreground service stop
from flutterradioplayer.
how can we add metas for notification ? like images and track metadata ? @Sithira @cjamcu
from flutterradioplayer.
Hi, @cjamcu that's the default behavior of ExoPlayer on a Foreground service. You should stop the player manually by the notification bar.
What is your point of view?
from flutterradioplayer.
When users close the application, the notification must be removed and thus the Foreground service stops. In versions lower than Android 9 if it has this behavior.
from flutterradioplayer.
how can we add metas for notification? like images and track metadata ? @Sithira @cjamcu
You mean like dynamic content? Dynamic images?
from flutterradioplayer.
@cjamcu idk if this is the problem you were facing, but the foreground service should definitely stop when the app gets destroyed. Like in Android when i remove app from "recent apps" list. is this the problem you mentioned?
from flutterradioplayer.
Has been updated to v2. Please check the master branch
from flutterradioplayer.
Related Issues (20)
- Android standby display info, Artist & Title don't display correctly! HOT 1
- issue occurred in ios HOT 1
- FATAL EXCEPTION: Unsupported type 4 HOT 2
- Metadata giving unwanted text like, title, text style etc, can i remove them HOT 1
- Android 12 crash HOT 1
- Album art does not update on Android 13 - Solution (version 1.0.1) HOT 1
- Radio resume after ending of call or music HOT 2
- Not resuming playback on Internet resume HOT 1
- Build time issue HOT 18
- how can i track if radio is flutter_radio_stopped HOT 1
- Execution failed for task ':flutter_radio_player:compileDebugKotlin'. HOT 7
- Swift Compiler Error (Xcode): Cannot convert value of type HOT 9
- FRPCoreService has not been initialized yet HOT 5
- PlatformException on Release HOT 2
- java.lang.IllegalStateException: Handler (android.os.Handler) HOT 2
- Question HOT 2
- IOS error message HOT 1
- Value of type 'AudioPlayer.EventHolder' has no member 'receiveMetadata' HOT 5
- Current track time?
- CarPlay support
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 flutterradioplayer.