React-native-track-player: Not playing local files

Created on 16 Feb 2018  路  3Comments  路  Source: react-native-kit/react-native-track-player

Hello,

I am using dev branch and try to play local file then give me below error

The operation couldn鈥檛 be completed. (RNTrackPlayer.AudioPlayerError error 0.)

I'm currently downloading files in default app path.

file path : /Users/ronit/Library/Developer/CoreSimulator/Devices/E0D347CD-3E4F-4FAA-A5EB-CCE53874A744/data/Containers/Data/Application/F32ECF53-F58A-4A44-914B-BD2903D1C64D/Documents/191plus-jmki-fx.mp3

with or with out use "file://"

Most helpful comment

Use file:/// + /file name. Needs to be four slashes on iOS.

All 3 comments

Same error on iOS. Tried with "file://" too. In Android works well.
Do you solved this?

Use file:/// + /file name. Needs to be four slashes on iOS.

the files name don't use chinese, because the plugins don't recognition chinese, it's not about the file slashes problem

Was this page helpful?
0 / 5 - 0 ratings

Related issues

moduval picture moduval  路  3Comments

mckmarc picture mckmarc  路  4Comments

mnlbox picture mnlbox  路  4Comments

moduval picture moduval  路  4Comments

moduval picture moduval  路  4Comments