react-native-track-player | fully fledged audio module created for music apps | Audio Utils library

 by   DoubleSymmetry Java Version: v2.0.1 License: Apache-2.0

kandi X-RAY | react-native-track-player Summary

kandi X-RAY | react-native-track-player Summary

react-native-track-player is a Java library typically used in Audio, Audio Utils applications. react-native-track-player has no bugs, it has no vulnerabilities, it has a Permissive License and it has medium support. However react-native-track-player build file is not available. You can download it from GitHub.

A fully fledged audio module created for music apps. Provides audio playback, external media controls, chromecast support, background mode and more!

            kandi-support Support

              react-native-track-player has a medium active ecosystem.
              It has 2272 star(s) with 748 fork(s). There are 49 watchers for this library.
              It had no major release in the last 12 months.
              There are 72 open issues and 1061 have been closed. On average issues are closed in 149 days. There are 26 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of react-native-track-player is v2.0.1

            kandi-Quality Quality

              react-native-track-player has 0 bugs and 0 code smells.

            kandi-Security Security

              react-native-track-player has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              react-native-track-player code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              react-native-track-player is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              react-native-track-player releases are available to install and integrate.
              react-native-track-player has no build file. You will be need to create the build yourself to build the component from source.
              Installation instructions are not available. Examples and code snippets are available.
              It has 2357 lines of code, 213 functions and 35 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed react-native-track-player and discovered the below as its top functions. This is intended to give you an instant insight into react-native-track-player implemented functionality, and help decide if they suit your requirements.
            • Creates a media source .
            • Updates the playback state .
            • Returns the default capabilities .
            • Get a Uri from a resource .
            • Handle ID3 data .
            • Called when audio focus has changed .
            • Remove a single media source .
            • Called when a position is discontinuous .
            • Starts the service .
            • Initialize Flipper
            Get all kandi verified functions for this library.

            react-native-track-player Key Features

            No Key Features are available at this moment for react-native-track-player.

            react-native-track-player Examples and Code Snippets

            No Code Snippets are available at this moment for react-native-track-player.

            Community Discussions


            How to customize React native track player notification bar
            Asked 2022-Feb-11 at 12:38

            I am using react-native-track-player to create a music app. Can I customize the notification area, and lock screen player?

            What I need to do is changing the background color and add custom theming to the notification area and lock screen play options. Can someone please let me know how to do it please?

            Following is the code I have used to enable track player options. How can I modified it to do above tasks? Or is there any other method to perform customization. Thank you so much.



            Answered 2022-Feb-09 at 21:26

            You cannot do it from javascript at least for now, because this module is not providing any methods to customize that. To do that you need to change native files in order to get make it customized. You can also take a look at and see if you can make it work together with track player.



            React native buld failed with the following message Failed to list versions for com.facebook.react:react-native
            Asked 2022-Jan-16 at 14:55

            I am using ReactNative version 0.62.2 and when i try to run the application using the command

            react-native run-android the build gets failed with the following error message



            Answered 2021-Dec-26 at 08:42

            Bintray service is down and the only way to fix this is to migrate to React Native 0.65, where this repo is no longer used.



            TypeError: null is not an object (evaluating 'TrackPlayer.RATING_HEART') && Module AppRegistry is not a registered callable module
            Asked 2021-Sep-17 at 10:13

            For the past 1.5 days or so, I tried to get react-native-track-player working and I just can't make it happen. No matter what I try I always end up running into the same error block:



            Answered 2021-Sep-12 at 12:05

            Unfortunately by Looking the Documentation of react-native-track-player , This package doesn't support expo Expo and Expokit support

            How I manage to run the Example Project from Package Steps:
            • Cloned react-native-track-player

            • Separate out the example project from package

            • Remove postinstall from package.json's scripts

            • add package in dependencies "react-native-track-player": "^2.0.1",

            • yarn install or npm install

            • yarn android or npm run android




            Is it possible to have two different versions of a same library coexist?
            Asked 2021-Jul-23 at 09:19

            I'm developing a react-native application which plays both audio and video files. So I'm using two javascript dependencies: react-native-track-player and react-native-video.

            Individually, they work fine. Together though...



            Answered 2021-Jul-23 at 09:19

            After discussing the issue with some people, it appears that it's impossible to have two different versions of a same library. It seems to be a limitation of the JVM, with Maven, Gradle, and Sbt all having different behaviors when confronted with the issue.

            What most surprises me is that Gradle silently override the lower-version dependency with the higher one without notifying me, which results in a different runtime API, and thus crashes.

            I fixed the issue by bumping my react-native-track-player exoplayer dependency version to 2.13.2, and just had to do minor changes in the source code.



            How to convert functional component into class component?
            Asked 2020-Apr-22 at 07:41

            This is the functional component sample that I want to use.


            How to convert this into class component?



            Answered 2020-Apr-22 at 07:41

            usePlaybackState is a react hook, but it appears there exists a getState function that returns a promise. You don't want to store this state object as it likely will become stale very fast, so no need to use this.playbackState at all. You'll just need to await it each time you need to access the current player state.


            Community Discussions, Code Snippets contain sources that include Stack Exchange Network


            No vulnerabilities reported

            Install react-native-track-player

            You can download it from GitHub.
            You can use react-native-track-player like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the react-native-track-player component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer For Gradle installation, please refer .


            You can find us as part of the React Native Folks Discord in the #react-native-track-player channel.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
          • HTTPS


          • CLI

            gh repo clone DoubleSymmetry/react-native-track-player

          • sshUrl


          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Reuse Pre-built Kits with react-native-track-player

            Consider Popular Audio Utils Libraries


            by goldfire


            by fingerprintjs


            by Tonejs


            by AudioKit


            by sonic-pi-net

            Try Top Libraries by DoubleSymmetry


            by DoubleSymmetryRuby


            by DoubleSymmetrySwift


            by DoubleSymmetryKotlin


            by DoubleSymmetryKotlin


            by DoubleSymmetryKotlin