Forums » Bugs

Cannot set or get clipboard text on android

Jun 01, 2023 Luxen link
I intended to make a utility that let a pilot import or export their system notes by using the gkinterface.GetClipboardText and SetClipboardText lua functions. This could be useful to pilots on mobile devices where they have limited or no access to the game files; the specific case was to back up someone's DroidButtons configuration on iOS.

I don't have an iOS device to test, but on my android device the game was unable to get or set clipboard text. It worked fine on the windows client, where I imagine clipboard access is easier to handle...

LG G8 ThinQ
Android 12
VendettaHD client
Jun 02, 2023 darknessrise13 link
I have assisted Luxen in testing his plugin ClipSave. I can confirm for iOs that the export (copy to clipboard) function is working. I can also confirm the API is making the paste call but it appears to be limited by how much it can paste.

For example, I exported a droidbuttons system notes file, I was able to copy it all and paste it into iOS notes. I then attempted to paste it back in, I received a dialog from iOS "Do you want to allow Vendetta Online access to the clipboard?", I hit allow. No data pasted. I tested with a small amount of text, for example 'poop' and it pastes. I did, rough estimate, 300-400 characters, it was able to paste. The full length of the copied data was 4801.
Jun 05, 2023 incarnate link
It may be a little while before we can get to this, but we will see what we can do.