firebase-cpp-sdk icon indicating copy to clipboard operation
firebase-cpp-sdk copied to clipboard

[FR]: Reuse GameCenterAuthProvider implementation on macOS

Open solodon4 opened this issue 4 years ago • 1 comments

Feature proposal

  • Firebase Component: Auth

GameKit is supported by Apple on both iOS and macOS and its Game Center authentication API is 99% reusable between OSes, with the only exception being UIViewController vs NSViewController parameter in GKLocalPlayer:setAuthenticateHandler. If you guys massage your iOS implementation of GameCenterAuthProvider to also work on macOS, which from my experience should be pretty straightforward, then we will be able to use GameCenterAuthProvider::GetCredential to exchange it for a Firebase credential and thus have a unified user support across entire apple eco-system. This is particularly interesting to developers offering universal purchase because Game Center user IDs are shared between iOS and macOS thus enabling us to recognize the same user in Firebase across those operating systems.

solodon4 avatar Sep 07 '21 00:09 solodon4

I found a few problems with this issue:

  • I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
  • This issue does not seem to follow the issue template. Make sure you provide all the required information.

google-oss-bot avatar Sep 07 '21 00:09 google-oss-bot