Creating a share button

How can I implement a share button on my android game?
I tried using JS code


The last one because I know that GD uses Cordova, and I made it work a long time ago when I did a project on a certain IDE.
It worked, it was just using JS.
So, is there is way to make this work on GD(or there is another way to do this)?

[Solved] Share button in GDevelop! - How do Iā€¦? - GDevelop Forum (
@arthuro555 made an extension, it worked well for me, try it and see how it goes