fix(ios): check for ios url query encoding (#3384)
Co-authored-by: Juozas Petkelis <juozas.petkelis@kilo.health>
This commit is contained in:
parent
fe89122524
commit
de4159f0c2
@ -299,7 +299,7 @@ enum RCTVideoUtils {
|
||||
var asset:AVURLAsset!
|
||||
let bundlePath = Bundle.main.path(forResource: source.uri, ofType: source.type) ?? ""
|
||||
let url = source.isNetwork || source.isAsset
|
||||
? URL(string: source.uri ?? "")
|
||||
? URL(string: source.uri?.addingPercentEncoding(withAllowedCharacters: .urlQueryAllowed) ?? "")
|
||||
: URL(fileURLWithPath: bundlePath)
|
||||
let assetOptions:NSMutableDictionary! = NSMutableDictionary()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user