Comments (7)
iOS now returns the track id for both track changed and the new track-ended
event 💃
from react-native-track-player.
@Guichaguri whenever the playback-track-changed
event occurs, the track and next track properties contain null values, even when I change the track.
{
type: 'playback-track-changed',
nextTrack: null,
position: 0,
track: null
}
from react-native-track-player.
The next track is already sent to the event, but the finished track can definitely be added as well.
from react-native-track-player.
@Guichaguri I'm not sure that's the case on iOS. @dcvz said it returns nothing. Haven't tested on Android.
from react-native-track-player.
@Guichaguri what's the status of this on Android?
from react-native-track-player.
@dcvz It currently sends the new track as the track
property in the event object. How about previous-track
and next-track
?
Also, we should unify the event system in both platforms (#33)
from react-native-track-player.
This has been added on all platforms. Check the documentation for more information
from react-native-track-player.
Related Issues (20)
- android crashes when i play an audio file. TypeError: Cannot read property 'forEach' of null. HOT 1
- [Feature Request] Channel splitting and merging with volume control. HOT 1
- The buffer plays after waiting 20 seconds. HOT 4
- How to use in Web? HOT 1
- RNTP module not loading properly with NextJS / Solito HOT 3
- iOS audio cutting out randomly during live stream HOT 2
- One or more of the events provided to useTrackPlayerEvents is not a valid TrackPlayer event HOT 2
- HSL audio playing issue in android HOT 4
- [Feature Request] Add back a Status that lets us distinguish between the two types of buffering — Play Buffering vs Paused Buffering HOT 4
- Equalizer Integration HOT 1
- [4.0.1] Crash: com.doublesymmetry.trackplayer.service.MusicService.startAndStopEmptyNotificationToAvoidANR HOT 1
- Cannot invoke method toInteger() on null object HOT 5
- TrackPlayer.getProgress() does not return duration on ios HOT 2
- [Feature Request] Support playing files from bundle without require or import HOT 1
- [Feature Request] Auto retry policy on iOS on error
- [iOS] Stream error on specific audio HOT 9
- [Feature Request] How to embed ads in a song HOT 1
- Notification Player not show on lock-screen HOT 4
- Duplicate value for resource 'attr/show_buffering' with config 'DEFAULT' and product '' HOT 1
- Duplicate actions in notification controller on Android 13+ HOT 1
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 react-native-track-player.