Friday, August 19, 2022
HomeiOS Developmentgoogle signin - GoogleSignIn iOS SDK would not match YouTube's Quickstart guide

google signin – GoogleSignIn iOS SDK would not match YouTube’s Quickstart guide

[ad_1]

I am making an attempt to combine my app with YouTube’s knowledge API. I discovered YouTube’s guide for doing so.

After I tried to make use of the GoogleSignIn SDK in my mission, it was fully completely different from what’s proven within the quickstart information.

Examples:

  • When accessing GIDSignIn.sharedInstance, within the guide it is a operate (GIDSignIn.sharedInstance()), however within the SDK it is a property.
  • The GIDSignIn.sharedInstance property has no delegate property.
  • The GIDSignIn.sharedInstance.deal with methodology has just one attribute, as an alternative of three within the guide.

I am utilizing the SPM model of the SDK (model 6.1.0 for GoogleSignIn), the newest Xcode model. The app’s language is Swift.

Does anyone know the place can I discover an up-to-date guide? Or possibly ought to I exploit the CocoaPods model (I do not need to accomplish that, all my different dependencies are from SPM).

[ad_2]

RELATED ARTICLES

Most Popular

Recent Comments