@codiqa100079737 wrote:
I have to update and publish an Ionic V1 app. Due to UIWebView issue with Apple, I followed Ionic instructions - Updated to cordova-ios 5.1.0, installed the WKWebView plugin and updated each Cordova plugin to the latest version.
However, after that it’s throwing error for displaying images:
[Error] Not allowed to load local resource: file:///Users/Prasoon/Library/Developer/CoreSimulator/Devices/A834F73C-A3A1-4B66-B922-8450F9CBEA21/data/Containers/Data/Application/AD7D56B7-B702-4C08-B7F2-4F41D1C28588/Documents/S12000033_logo.pngI tried updating URL manually by string manipluation like
/Users/Prasoon/Library/Developer/CoreSimulator/Devices/A834F73C-A3A1-4B66-B922-8450F9CBEA21/data/Containers/Data/Application/AD7D56B7-B702-4C08-B7F2-4F41D1C28588/Documents/S12000033_logo.pngBut, that changes the URL internally and throws error:
ionic://localhost/Users/Prasoon/Library/Developer/CoreSimulator/Devices/A834F73C-A3A1-4B66-B922-8450F9CBEA21/data/Containers/Data/Application/AD7D56B7-B702-4C08-B7F2-4F41D1C28588/Documents/S12000033_logo.png
Failed to load resource: the server responded with a status of 404 ()Then I tried implementing convertFileSrc/normalizeURL - however, not getting any help on Ionic V1 for using that.
Posts: 1
Participants: 1