Click on the Signin button crashes app (ios)

See original GitHub issue

Clicking on the Google Sign in button is completely crashing my ios app and returning me to the home screen. There are no error messages in the debugger.

I am following the exact setup as the ios example: https://github.com/devfd/react-native-google-signin/blob/master/example/index.ios.js

I’ve tried modifying onPress to only print out a console.log but the app crashes before reaching the console.log.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:8

github_iconTop GitHub Comments

4reactions
johnlevcommented, Mar 17, 2017

Yes I was able to solve this. The steps I would take to reproduce the fix I have listed below:

  • Make sure that you are configuring GoogleSignIn using the .configure method (as demonstrated below). The app crashes because of this as it fails to configure correctly without GoogleSignin.configure({ iosClientId: env.googleIOSClient })
  • Add the GoogleService-Info.plist to your project.
  • Confirm that the GoogleSignIn.framework is in your Copy Bundle Resources part of the Build Phases. (Without it the application doesn’t seem to be able to access the assets necessary)

This is just what I can remember, and I will confirm in an hour or so and edit if I’ve missed something

0reactions
johnlevcommented, Apr 14, 2018

I am afraid I don’t know if there is anything I missed. It’s been a while since I reproduced the problem

Read more comments on GitHub >

github_iconTop Results From Across the Web

Click on the Signin button crashes app (ios) · Issue #170
Clicking on the Google Sign in button is completely crashing my ios app and returning me to the home screen. There are no...
Read more >
iOS app crashes when I click Google Sign-In button
I'm using the Google Sign-In library for iOS, and when I click the Sign-In button the app crashes with the following error:
Read more >
App crashes when buttons pressed | Apple Developer Forums
I am having an issue with the application i am creating (for iOS). ... Respectively the Player 1 buttons both crash the app...
Read more >
iOS app crashes when I click Google Sign-In button-swift
[Solved]-iOS app crashes when I click Google Sign-In button-swift ... When I created a provisioning profile that was specific to my app and...
Read more >
How to Fix Crashing Apps on iPhone & iPad | OSXDaily
Double-click on the Home button to bring up the multitasking screen · Open the App Store and go to the “Updates” tab ·...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found