How can I use navigator.share API?

Hello guys!

I'm new here and I'm not a good programmer, but I'm trying to create an app with outSystems which is a fantastic tool. Forgive me if you find any silly mistakes.

I'm trying to implement a function to share an image.
Here are some screenshots about the problem:

I implemented it like this

When I open it in the browser, it works.

 But when I try to run in the app installed on the android phone, it doesn't work 


This is part of a larger solution, but create a specific file (Share.oap) to attach here to share what I'm trying.

I tried to use some modules available in Forge, but I couldn't put it to work either.

But I think it will be much simpler if it works in javascript.

Can someone help me?

Share.oap

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.