google signin not calling delegate method after success

后端 未结 5 1140
有刺的猬
有刺的猬 2021-01-18 20:06

i am using google sdk for google signin but after entering the email and password

in viewDidLoad i have added delegate

//set Google sign In delegates

5条回答
  •  别那么骄傲
    2021-01-18 20:37

    I was having a very similar issue, until realizing that the GIDSignInDelegate was being garbage collected between starting the signin and getting the callback. Just storing a reference to it elsewhere resolved my issues. (presumably Google uses a weak reference)

提交回复
热议问题