diff --git a/RNSound/RNSound.m b/RNSound/RNSound.m index a06bb650..0242c2c9 100644 --- a/RNSound/RNSound.m +++ b/RNSound/RNSound.m @@ -191,7 +191,7 @@ -(NSDictionary *)constantsToExport { player = [[AVAudioPlayer alloc] initWithContentsOfURL:fileNameUrl error:&error]; } else { - fileNameUrl = [NSURL fileURLWithPath:[fileName stringByRemovingPercentEncoding]]; + fileNameUrl = [NSURL URLWithString: fileName]; player = [[AVAudioPlayer alloc] initWithContentsOfURL:fileNameUrl error:&error];