Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
228 views

Been through about a million tutorials, StackOverflow questions etc already, but for the life of me I can't find what I'm doing wrong. I'm implementing a react-native app with Expo and react-native-...
downwash's user avatar
  • 413
0 votes
0 answers
44 views

i am using react-native-track-player version 3.2.0 in my project and i am getting the below error in my crashlytics Fatal Exception: android.app.RemoteServiceException$...
Rogan Antony's user avatar
0 votes
0 answers
67 views

I noticed that PlaybackActiveTrackChanged event of RNTP 4.1.1 provides in lastIndex (same for lastTrack), the index of the track that is before the new active track in the queue but not as it is ...
u2gilles's user avatar
  • 7,433
3 votes
4 answers
3k views

Problem Statement: I am trying to develop a React Native app that can play music. I ejected the project from Expo and implemented React Native Track Player. However, when I try running the app on an ...
hasibuzzaman chowdhury's user avatar
3 votes
2 answers
914 views

I'm developing a React Native app using react-native-track-player for audio playback. The app works perfectly fine on Android, but I'm facing issues on iOS. Specifically, when building and running the ...
FrenchBoy's user avatar
1 vote
0 answers
666 views

I am Integrated the Audio functionality with in the App using react-native-track-player the issue I was facing that App is not running When i Add this line in my (index.js) TrackPlayer....
Hamza Jameel's user avatar
1 vote
0 answers
77 views

I am developing a music player app with React Native Expo & to play music using the library react-native-track-player I am having issues with adding more than 1 track if I add just a single track ...
Dinesh's user avatar
  • 875
1 vote
0 answers
169 views

I am using Google's Text to Speech API on my backend. I want to play the resulting audio in my Expo application, but I have a low volume problem on physical devices (but not on simulators). Right now, ...
Martin's user avatar
  • 71
0 votes
1 answer
233 views

import React, { useState } from 'react' import { View, StyleSheet, Pressable} from 'react-native' import TrackPlayer, { State , usePlaybackState } from 'react-native-track-player'; import Icon from '...
Kuldeep Tiwari's user avatar
2 votes
0 answers
320 views

Check Network Connection in the emulator by checking the browser for random stuff. Check Permissions for android and included in AndroidManifest.xml file. checked link to my mp3 player.It is https. ...
smitha's user avatar
  • 21
1 vote
1 answer
1k views

The native module which is accessed inside trackPlayer.ts in the RNTP package seems to be undefined, which causes the error: new NativeEventEmitter() requires a non-null argument. const { ...
Sherif Ogoussan's user avatar
1 vote
2 answers
6k views

I am trying to build a track player in react native. I am using an expo managed workflow. I installed react-native-track player dependency using npx expo install react-native-track-player. Further, I ...
Robin Sadgehpour-Faraj's user avatar
1 vote
0 answers
370 views

I want react-native-trackplayer NOT to work in background mode. So when i close the app i want react-native-trackplayer to STOP. I have already configured this for android android: { ...
Sander van Maastricht's user avatar
1 vote
1 answer
1k views

await TrackPlayer.updateOptions({ android: { appKilledPlaybackBehavior: AppKilledPlaybackBehavior.StopPlaybackAndRemoveNotification, }, // This flag is now deprecated. Please use the above to ...
shincy paul's user avatar
0 votes
1 answer
111 views

I'm using [email protected]. When I closed the application, The audio stopped but the playback notification was still visible. Here is my track player setup code in index.js file. const ...
Ambreen Kanwal's user avatar
0 votes
1 answer
284 views

enter image description here My react native project does not have an index.js file to be able to register registerPlaybackService, I only have an App.js file I searched a lot and found a way to add ...
Nam Dang's user avatar
1 vote
0 answers
993 views

EDIT: I'm using react-native-track-player": "^3.2.0" I have an issue with "react-native-track-player". The audio files in my app are played via this function: async function ...
stehvanin's user avatar
0 votes
2 answers
3k views

import React, {useEffect, useState} from 'react'; import TrackPlayer, {usePlaybackState} from 'react-native-track-player'; import IconButton from './IconButton'; function Player({url}) { const [...
Sita Tan's user avatar
2 votes
0 answers
189 views

i am using react-native-music-control for displaying music notification but because of "no longer maintained" some functionality are not working like seek bar not working etc., if anyone ...
Pankaj's user avatar
  • 490
0 votes
1 answer
411 views

I am making a music player in React Native using the React-Native-Track-Player library that plays music from the phone's internal storage, so far everything is going well, but when I want music ...
Hamid K72's user avatar
1 vote
1 answer
341 views

I'm using track player in react-native for ios. I also added background mode functionality from xcode now play functionality works properly and the remote also works but when I pause the music and ...
ismail jan's user avatar
4 votes
4 answers
5k views

I have a react-navigation modal with react-native-track-player, closing one and opening it back throws the error The player has already been initialized via setupPlayer. How to make sure it runs only ...
an92kz's user avatar
  • 132
0 votes
1 answer
564 views

I am using React Native Track Player version 3.2. Everything is working properly in Android when I am using local media path instead of the website media url. I am also not getting any error in the ...
Ayan Mukherjee's user avatar
1 vote
1 answer
491 views

I have a react-navigation screen set as a modal with a react-native-track player in it. Initially, it loads with no issue, but when I close the modal and open it back - the audio plays but the artwork ...
an92kz's user avatar
  • 132
3 votes
1 answer
583 views

We use react-native-video for a video application, the problem is when you lock screen during watching video, you get empty grey areas, we want to see video title and thumbnail there, I have tried ...
niphredil's user avatar
0 votes
0 answers
319 views

How to update the url in react-native-track-player? The urls I have expire after 3 hours and I would like to be able to update them in case we would like to use the app in the morning and continue the ...
Niroda's user avatar
  • 318
1 vote
1 answer
495 views

I am creating an app which uses react-native-track-player in the foreground. Occasionally on closing the app I get an android message App Name keeps stopping. The error feedback on the device ...
Manil Malla's user avatar
1 vote
0 answers
239 views

so I was just following the react-native-track-player installation on an Expo app but when I imported the Track Player with import TrackPlayer from "react-native-track-player", it returned ...
Nguyên Nguyễn's user avatar
1 vote
1 answer
1k views

I'm currently using the React Native Track Player for playing audio, and it plays local audio tracks fine. When I fetch it through my private api it correctly gets the audio object in blob form - here ...
Dean Campagnolo's user avatar
3 votes
1 answer
3k views

For a better explanation check this issue. The issue has been closed with this fix, but the fix creates another issue which is still open. react-native-track-player uses foreground service in android ...
Tayyab Mazhar's user avatar
2 votes
1 answer
2k views

I'm working on a music app using react native track player for playing a song, my current code works with multiple songs, and I would like to know how can we implement one song playing. for example, ...
Kouma Ibrahim's user avatar
0 votes
1 answer
1k views

I am developing an app for a radio station using react-native-track-player. I have this working fine. When I press Pause, the player pauses as expected, but when I press Play again the audio continues ...
Steve W's user avatar
  • 97
2 votes
2 answers
2k views

I have an react-native expo managed (SDK 44) project and am attempting to add react-native-track-player.I am going through the installation steps and keep encountering the same error that is crashing ...
igotbeatebydre's user avatar
1 vote
2 answers
2k views

I got TrackPlayer.destroy is not a function. (In 'TrackPlayer.destroy()', 'TrackPlayer.destroy' is undefined error when I called TrackPlayer destroy method in my expo react native app this is my code ...
Paulos Ab's user avatar
  • 409
0 votes
1 answer
2k views

Hello I have a streaming service, (it is an online radio) that I need to stream in my app, the url it is the following https://cast.uncuartocomunicacion.com:8020/live I have been using react native ...
Alexc957's user avatar
1 vote
0 answers
255 views

I use expo for my app, all work fine in sdk 44 except a few bugs, to resolve that bugs I need to upgrade to sdk 45, now the problem is that in sdk 45 expo-av use an exoplayer versione incompatible ...
red's user avatar
  • 1,649
0 votes
1 answer
1k views

I'm using react-native-track-player for my audio app. When I use TrackPlayer.setRate to set the rate to a slower speed (0.5), the audio sounds like it's coming from underwater. When I play the same ...
Eric Cheon's user avatar
1 vote
1 answer
1k views

I am using react-native-track-player package to play music files in my React Native mobile application. There due to some issue, I need to stop the track-player once the queue of audio tracks reaches ...
Pawara Siriwardhane's user avatar
0 votes
1 answer
1k views

I'm using React Native Track Player in a React Native project and playing an array of music tracks. After ending the audio tracks, I'm getting the following error in the emulator: (This error is ...
Pawara Siriwardhane's user avatar
1 vote
4 answers
5k views

I am using the react-native-track-player (2.1.3) to implement an audio player in a react-native application. When I initialize the track player in my project I get the following warning message. WARN ...
Pawara Siriwardhane's user avatar
0 votes
1 answer
3k views

I am trying to use react-native-track-player in my app. The functionality of my app requires that one audio track is played, and then it needs to await user input. I have tried the following code ...
psquizzle's user avatar
  • 185
2 votes
1 answer
523 views

React Native application build was working recently, But now one critical package that I'm using as a part of the essential feature is started throwing errors on IOS build. Following are the build ...
Jijo Alexander's user avatar
3 votes
2 answers
5k views

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 ...
Samantha H's user avatar
3 votes
0 answers
1k views

I am using react-native-track-player version 2.0.3 Issue : Sometimes when i minimize the app, the song is playing on background after completing one song next song is not playing automatically on ...
Jaya mani's user avatar
0 votes
1 answer
2k views

useEffect(() => { try { const voiceover = parseOrGet(item.scenes[selectedIndex].voiceover); voiceover["title"]="test" voiceover["artist"]="...
Prateek Pareek's user avatar
1 vote
0 answers
114 views

I tried installing this module with npm, but recieved a bug which I cannot understand. I have tried to install multiple versions of the package, including the dev-version and none has yielded any good ...
Thinked's user avatar
  • 49
5 votes
2 answers
2k views

So I am using react-native-video and react-native-track-player parallelly, Normally both are working fine, but to use some extra functionalities of video player like buffering I have to use Exo ...
Manglesh's user avatar
0 votes
0 answers
218 views

I have started build relase version for ios below is error which I received: ld: warning: Could not find or use auto-linked library 'swiftCore' ld: warning: Could not find or use auto-linked library '...
Piotr Kucharski's user avatar
1 vote
2 answers
1k views

After updating app in android 12 and try to run app in android 12 device and simulator facing issue for crashing. Here is issue. androidx.media.session.MediaButtonReceiver: Targeting S+ (version 31 ...
KetanUbhada's user avatar
1 vote
1 answer
3k views

Problem: I can build the React Native App npx react-native run-android but when I install react-native-track-player yarn add react-native-track-player it fails to build. What I have tried: npm i react-...
DerWeisse's user avatar