Getting 404 Not found while trying to access local image file

I am downloading an image using @ionic-native/http and it gets stored on the local drive. But when the app is trying to access the image its showing the error 404

I checked the path on the system. There the image exists.

Ionic info

cli packages: (/usr/local/lib/node_modules)

    @ionic/cli-utils  : 1.19.0
    ionic (Ionic CLI) : 3.19.0

global packages:

    cordova (Cordova CLI) : 8.0.0 

local packages:

    @ionic/app-scripts : 3.1.9
    Cordova Platforms  : ios 6.2.0
    Ionic Framework    : ionic-angular 3.9.2

System:

    ios-deploy : 1.9.2 
    ios-sim    : 8.0.2 
    Node       : v10.0.0
    npm        : 5.6.0 
    OS         : macOS
    Xcode      : Xcode 13.1 Build version 13A1030d 

Environment Variables:

    ANDROID_HOME : not set

Misc:

    backend : pro```