Android Revamp #1264
Replies: 72 comments 180 replies
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
-
Another update today! We've released Thank you @doughsay and @phillipcmittmann for testing ❤️ |
Beta Was this translation helpful? Give feedback.
This comment has been hidden.
This comment has been hidden.
-
Since adding I have also had an issue with launching the correct intent with |
Beta Was this translation helpful? Give feedback.
-
The Promise returned by
'after destroy' will never be output. |
Beta Was this translation helpful? Give feedback.
-
I seem to have an issue on some android devices that the player isn't always setup and thus I was calling setupPlayer again on the screen it is used. I believe this should just resolve. It might be useful to have a constant like |
Beta Was this translation helpful? Give feedback.
-
We've recently discovered a pretty severe issue in how we had designed the music service for Android, which allows music tracks to be played while the app is in the background. The following problems were found:
These problems were in the original Android implementation as well, and the revamp sadly brought them over, unbeknownst to us. I'm working on this at the moment, but it will take some time, as it's a bigger problem than originally thought. |
Beta Was this translation helpful? Give feedback.
-
We're seeing this |
Beta Was this translation helpful? Give feedback.
-
I have posted the following issue regarding |
Beta Was this translation helpful? Give feedback.
-
There seems to be an issue with I have posted this issue on the topic. As far as I can tell it only effects the release candidate for the Android rewrite. Might be related to the issue that @jenshandersson is seeing on production |
Beta Was this translation helpful? Give feedback.
-
Just FYI, a lot of the crashes recently reported might be related to this. |
Beta Was this translation helpful? Give feedback.
-
I'm seeing a lot of crashes (via Firebase Crashlytics) with the message;
FWIW, I'm initialising TrackPlayer once only at the top level of my app (with I have 100% of the crashes are Samsung on Android 12 (from 250+ crash events).
|
Beta Was this translation helpful? Give feedback.
-
Hi! We just released |
Beta Was this translation helpful? Give feedback.
-
Hi, so I'm working on ironing out the kinks in my app using the latest RC3 and I've noticed that the next button disappears from the notification sometimes. I thought this was a bug at first but then I realized it happens when I'm on the last song in the queue, so it seems intentional, but can we get a way to opt out of this behavior? It's very weird to me that it disappears altogether and then the stop button moves over to take its place, and I'd much rather have the old behavior back. If not that then at least an error that I can catch on the |
Beta Was this translation helpful? Give feedback.
-
So, I noticed that when I add a track, the metadata is working perfectly on the Android Command Center, but it is showing 'unknown' at the Android home screen (lock and unlock), does anyone have this problem too? :) |
Beta Was this translation helpful? Give feedback.
-
is there going to be an rc4 release? |
Beta Was this translation helpful? Give feedback.
-
Since this conversation has become way too big and new comments and replies are getting hard to find, I will be closing it. You are still welcome to use the issue reporting with the label |
Beta Was this translation helpful? Give feedback.
-
Hello everyone! 👋
After the 2.0 release, we've been working hard on the next step of getting this library on a solid foundation to be able to bring and incorporate some of the vision we have for the future.
The next thing we've been working on is a revamp of the Android part of this library. This effort has been primarily led by @mpivchev where we've rewritten the Android side of the library to be more modern and robust. For the rewrite we've settled on using Kotlin as the library's language which has allowed us to use some more modern language features, API's and overall write safer code.
We expect this rewrite to already bring some benefits: especially around the background service playback and architecture.
The work is currently in progress - this effort is currently being released as a RC
The new version should eventually be feature complete and on par with the existing version v2. We hope that some of you will give it a try and help us iron out any initial kinks. We'll update the thread once we have the first pre-release.
You can install the beta versions by doing
yarn add react-native-track-player@next
==========
We'd appreciate your help testing these beta releases to find any regressions and bugs! Not everything is supported yet, but we'll slowly make our way there -- but a lot of the core functionality is there to allow testing.
Required changes
Update
android/build.gradle
to include:What works but should be tested:
beta5
)beta11
)beta11
)beta11
)Reporting Issues or regressions
If you find a regression please create a bug report Issue and use the
android-rewrite
label.Thank you!
Beta Was this translation helpful? Give feedback.
All reactions