How to get image for NativeShare?

Hi,

I’m looking at this link: Share with Javascript - SDKBOX
And i’m wondering what the path to my image would be for: shareInfo.image = "path/to/image"

I want to share my icon:

shareInfo.image = "../textures/icon.png" didn’t work. Any ideas?

It’s not so easy, You want to use something like FileUtil.getPath