GDevelop-extensions icon indicating copy to clipboard operation
GDevelop-extensions copied to clipboard

[Share] <Share not working on mobile browsers>

Open GTM-create opened this issue 6 months ago • 0 comments

Is there an existing issue for this?

Enter the name of the extension

Share

Describe the bug of the extension

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 -

Screenshot 2024-08-22 at 12 06 44 PM

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 methods to see if it was a problem with my input, not with the share function itself.

Screenshot 2024-08-22 at 11 40 04 AM Screenshot 2024-08-22 at 11 56 50 AM Screenshot 2024-08-22 at 12 01 38 PM

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. 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!

Steps to reproduce

  1. Go to gd.games/GTM/orderle
  2. Start Game, hit submit until you get to the Share button. Hit Share and see what happens.

GDevelop platform

Web

GDevelop version

5.4.209

Platform info

OS (e.g. Windows, Linux, macOS, Android, iOS)

OS Version (e.g. Windows 10, macOS 10.15)

Browser(For Web) (e.g. Chrome, Firefox, Safari)

Device(For Mobile) (e.g. iPhone 12, Samsung Galaxy S21)

Additional context

No response

GTM-create avatar Aug 22 '24 18:08 GTM-create