firebase / firebase-ios-sdk

Firebase SDK for Apple App Development
https://firebase.google.com
Apache License 2.0
5.65k stars 1.48k forks source link

PhoneAuthProvider.provider().verifyPhoneNumber is not returning a verificationID #12567

Closed samirsd closed 7 months ago

samirsd commented 7 months ago

Description

I upgraded from firebase 10.8.0 to 10.22.1 and now I can't sign in with Phone Auth. There was no code change as far as I can tell. It just hangs on the sign in request forever and doesn't return with anything, not even an error. Is there something wrong on the backend? I don't understand because it was working fine for over a year. FirebaseAppDelegateProxy is not enabled.

Reproducing the issue

No response

Firebase SDK Version

10.22.0

Xcode Version

15.2

Installation Method

Swift Package Manager

Firebase Product(s)

Authentication

Targeted Platforms

iOS

Relevant Log Output

No response

If using Swift Package Manager, the project's Package.resolved

Expand Package.resolved snippet
```json { "pins" : [ { "identity" : "abseil-cpp-binary", "kind" : "remoteSourceControl", "location" : "https://github.com/google/abseil-cpp-binary.git", "state" : { "revision" : "bfc0b6f81adc06ce5121eb23f628473638d67c5c", "version" : "1.2022062300.0" } }, { "identity" : "alamofire", "kind" : "remoteSourceControl", "location" : "https://github.com/Alamofire/Alamofire.git", "state" : { "revision" : "3dc6a42c7727c49bf26508e29b0a0b35f9c7e1ad", "version" : "5.8.1" } }, { "identity" : "app-check", "kind" : "remoteSourceControl", "location" : "https://github.com/google/app-check.git", "state" : { "revision" : "3e464dad87dad2d29bb29a97836789bf0f8f67d2", "version" : "10.18.1" } }, { "identity" : "camera-swiftui", "kind" : "remoteSourceControl", "location" : "https://github.com/rorodriguez116/Camera-SwiftUI.git", "state" : { "revision" : "a83ad04ec213095e14d71491af8b55e7575a7b40", "version" : "0.5.0" } }, { "identity" : "files", "kind" : "remoteSourceControl", "location" : "https://github.com/JohnSundell/Files", "state" : { "revision" : "d273b5b7025d386feef79ef6bad7de762e106eaf", "version" : "4.2.0" } }, { "identity" : "firebase-ios-sdk", "kind" : "remoteSourceControl", "location" : "https://github.com/firebase/firebase-ios-sdk.git", "state" : { "revision" : "be49849dcba96f2b5ee550d4eceb2c0fa27dade4", "version" : "10.22.1" } }, { "identity" : "googleappmeasurement", "kind" : "remoteSourceControl", "location" : "https://github.com/google/GoogleAppMeasurement.git", "state" : { "revision" : "482cfa4e5880f0a29f66ecfd60c5a62af28bd1f0", "version" : "10.22.1" } }, { "identity" : "googledatatransport", "kind" : "remoteSourceControl", "location" : "https://github.com/google/GoogleDataTransport.git", "state" : { "revision" : "a637d318ae7ae246b02d7305121275bc75ed5565", "version" : "9.4.0" } }, { "identity" : "googleutilities", "kind" : "remoteSourceControl", "location" : "https://github.com/google/GoogleUtilities.git", "state" : { "revision" : "830ffa9276e10267881f2697283c2fcd867603fd", "version" : "7.13.0" } }, { "identity" : "grpc-binary", "kind" : "remoteSourceControl", "location" : "https://github.com/google/grpc-binary.git", "state" : { "revision" : "a673bc2937fbe886dd1f99c401b01b6d977a9c98", "version" : "1.49.1" } }, { "identity" : "gtm-session-fetcher", "kind" : "remoteSourceControl", "location" : "https://github.com/google/gtm-session-fetcher.git", "state" : { "revision" : "76135c9f4e1ac85459d5fec61b6f76ac47ab3a4c", "version" : "3.3.1" } }, { "identity" : "imagepickerview", "kind" : "remoteSourceControl", "location" : "https://github.com/ralfebert/ImagePickerView.git", "state" : { "revision" : "b84dd1c85a65cddba40c89699cd63ba0cb248dbd", "version" : "0.5.0" } }, { "identity" : "inputbaraccessoryview", "kind" : "remoteSourceControl", "location" : "https://github.com/nathantannar4/InputBarAccessoryView", "state" : { "revision" : "17ced92a5dccb36512b408b6276353631d7cbe57", "version" : "6.3.0" } }, { "identity" : "interop-ios-for-google-sdks", "kind" : "remoteSourceControl", "location" : "https://github.com/google/interop-ios-for-google-sdks.git", "state" : { "revision" : "2d12673670417654f08f5f90fdd62926dc3a2648", "version" : "100.0.0" } }, { "identity" : "iphonenumberfield", "kind" : "remoteSourceControl", "location" : "https://github.com/MojtabaHs/iPhoneNumberField.git", "state" : { "revision" : "5298972c899ba3555a77549bebeace2e16bc927d", "version" : "0.10.1" } }, { "identity" : "kingfisher", "kind" : "remoteSourceControl", "location" : "https://github.com/onevcat/Kingfisher.git", "state" : { "revision" : "5b92f029fab2cce44386d28588098b5be0824ef5", "version" : "7.11.0" } }, { "identity" : "leveldb", "kind" : "remoteSourceControl", "location" : "https://github.com/firebase/leveldb.git", "state" : { "revision" : "43aaef65e0c665daadf848761d560e446d350d3d", "version" : "1.22.4" } }, { "identity" : "lnpopupcontroller", "kind" : "remoteSourceControl", "location" : "https://github.com/LeoNatan/LNPopupController.git", "state" : { "revision" : "2813fafcbb2342a168cd1d2a7d43c91452da4a43", "version" : "2.18.7" } }, { "identity" : "lnpopupui", "kind" : "remoteSourceControl", "location" : "https://github.com/LeoNatan/LNPopupUI.git", "state" : { "branch" : "master", "revision" : "51070ea3213c1e7351dadcc2668cc248846e2a8b" } }, { "identity" : "lnswiftuiutils", "kind" : "remoteSourceControl", "location" : "https://github.com/LeoNatan/LNSwiftUIUtils.git", "state" : { "revision" : "954a3adadc21d5b973c24e1320bdcc3d638c6a9c", "version" : "1.1.1" } }, { "identity" : "messagekit", "kind" : "remoteSourceControl", "location" : "https://github.com/MessageKit/MessageKit", "state" : { "revision" : "1993e8e90d4e9a61b8d9bc8ceb733964ce943376", "version" : "4.2.0" } }, { "identity" : "nanopb", "kind" : "remoteSourceControl", "location" : "https://github.com/firebase/nanopb.git", "state" : { "revision" : "819d0a2173aff699fb8c364b6fb906f7cdb1a692", "version" : "2.30909.0" } }, { "identity" : "phonenumberkit", "kind" : "remoteSourceControl", "location" : "https://github.com/marmelroy/PhoneNumberKit", "state" : { "revision" : "a8d72d9c90f8336aff6fd6002976d7e36f4fbe8c", "version" : "3.7.9" } }, { "identity" : "promises", "kind" : "remoteSourceControl", "location" : "https://github.com/google/promises.git", "state" : { "revision" : "540318ecedd63d883069ae7f1ed811a2df00b6ac", "version" : "2.4.0" } }, { "identity" : "realm-core", "kind" : "remoteSourceControl", "location" : "https://github.com/realm/realm-core.git", "state" : { "revision" : "a5e87a39cffdcc591f3203c11cfca68100d0b9a6", "version" : "13.26.0" } }, { "identity" : "waveform", "kind" : "remoteSourceControl", "location" : "https://github.com/pixlwave/Waveform", "state" : { "branch" : "main", "revision" : "06d625fc6729b0654292b3678bf214d8ad38e1ee" } } ], "version" : 2 } ```

If using CocoaPods, the project's Podfile.lock

Expand Podfile.lock snippet
```yml Replace this line with the contents of your Podfile.lock! ```
google-oss-bot commented 7 months ago

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

samirsd commented 7 months ago

Nvm firebase was not properly configured