İonic app window origin not working!

I use window.origin getting image (ex:src=window.origin+‘bs/ex/image.png’). But ı deployed ionic app for android and download apk and ı cant seeing images but I can see browser. what should I do? How window.origin behaves in webview? What can I use instead of window.origin?