Skip to content

Commit

Permalink
fix(ios): revert ios url encoding as this breaks encoded urls (#3440)
Browse files Browse the repository at this point in the history
  • Loading branch information
Duell10111 committed Dec 24, 2023
1 parent bea268a commit 0723481
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/Video/Features/RCTVideoUtils.swift
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,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?.addingPercentEncoding(withAllowedCharacters: .urlQueryAllowed) ?? "")
? URL(string: source.uri ?? "")
: URL(fileURLWithPath: bundlePath)
let assetOptions: NSMutableDictionary! = NSMutableDictionary()

Expand Down

0 comments on commit 0723481

Please sign in to comment.