discord / gamesdk-and-dispatch

Public issue tracker for the Discord Game SDK and Dispatch
22 stars 7 forks source link

Mobile support #110

Open hnguyen094 opened 3 years ago

hnguyen094 commented 3 years ago

Not a bug, but a feature request! It would be nice to be able to have some basic functionality on Android & iOS, through some platform-compiled binaries (e.g. .so files for ARM or something). We're currently working on a multi-user experience that utilizes the Lobby APIs to connect various app clients to the same world instance. Having the ability to connect clients to the same lobby across platforms would be very intuitive.

Expected workflow 1) Add some precompiled libs/binaries for ARM (whether iOS or Android). 2) The SDK would work as expected on those platforms.

Implementation specifics

Jump-Suit commented 3 years ago

Mobile Discord Client has no way of communicating to the Discord GameSDK if this was to go forward into production. So sadly, I don't believe this is possible.

hnguyen094 commented 3 years ago

Not even as intent-based URIs (e.g. discord://discord.gg/somegame?authdata=xxxx&lobby=yyyy)? Is the mobile Discord client unable to communicate with the lobby creation/join backend or is there some other technical challenge?

Jump-Suit commented 3 years ago

Mobile Discord can't communicate no.. Sorry. https://discord.com/channels/613425648685547541/613425918748131338/619218346050846721 Read Mason's response about it here. It is what it is. EDIT: image Here's more info that should satisfy your curiosity.

hnguyen094 commented 3 years ago

Yup, it makes sense! It seems like it's well discussed already so I won't go too much more into it. But at the very least it seems possible for lobbies through HTTP: image

Totally understand that 1) Devs might want to have full feature-parity between mobile & desktop, which is impossible architecturally. But having just lobbies on mobile alone would be fantastic! 2) There simply isn't enough people wanting this, and means that this kind of feature would just get backlogged until enough people (e.g. me & you, this thread) express more interest for it.