Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS crashes after verifyPhoneNumber #65

Open
cerealexx opened this issue Aug 8, 2019 · 3 comments
Open

iOS crashes after verifyPhoneNumber #65

cerealexx opened this issue Aug 8, 2019 · 3 comments

Comments

@cerealexx
Copy link

This is the code:
this.fbAuth.verifyPhoneNumber('foo-number', 30000).then(id => console.log(id));

Works fine in Android phone, immediately crashes in iPhone.

@ilsaha
Copy link

ilsaha commented Oct 7, 2019

You need to add a custom url scheme on Xcode -> Info -> URL Types -> Press [+] and then in URL Schemes input box you need to enter the url which you can find in the Xcode console after app crashed OR you can check GoogleService-Info.plist which should be in your project's root, it will be right after REVERSED_CLIENT_ID. Look for something like com.googleusercontent.apps.xxxxxxxxxxxxxxx-
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
No other input you need to enter.

@anghiulian
Copy link

Had the same issue and the same fix but through Fastlane ( due to the CI build).

In my case, for Ionic4, had to modify the platforms/ios/[ProjectName]/[ProjectName]-Info.plist file with Fastlane update_url_schemes().

@imranaalam
Copy link

@anghiulian can you explain the process of adding it for IOS.

what is Fastlane?

@ilsaha what is the url link for?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants