Hello!
So, I’m creating a wordle-inspired game and one of the key elements of the game is being able to share your results at the end.
I was over the moon to discover the share extension, which worked perfectly when testing my game on the mobile app. Didn’t work on the desktop version, but to work around that, I made the results copy to clipboard instead. Here’s what the code looks like -
It worked absolutely perfectly. I exported my game to gd.games and tried it on my computer. Worked perfectly. Now to test it on mobile one more time… and nothing happened.
To clarify - in the GDevelop app, it works perfectly, but on the mobile browsers, nothing happens. It doesn’t share, but it also doesn’t copy to clipboard. The extension says it should work on iOS browsers, so I’m not sure what entirely is wrong here. I tried on Safari, Chrome, and Firefox. Same thing.
I looked some stuff up, and saw a few people saying it was because I wasn’t using multitouch controls. I then tried a variety of foolproof methods to see if it was a problem with my input, not with the share function itself.
(Tried to put screenshots but since this is only my first post, I can only put one. Effectively, I tried multitouch, then I made it so that at the beginning of the scene, it instantly shares)
Again, with all of these codes, it was the same. Works fine on desktop and in the apps, but not at all in mobile browsers. I also made sure to add little cosmetic changes to make sure that I knew the game was actually updating. It was.
I’m a bit stuck on what to do here. Should I just lose hope, is the share extension just not built for mobile browsers like it says it is? Or is there something you think I can do?
I’m still only a couple months into my GDevelop journey, so it’s possible I could be missing something fairly trivial here.
Thank you in advance!