Closed expertdevs closed 4 years ago
Having the same issue.
firebase_auth: 0.15.4 <- this helped to solve the issue for a while (while devs a busy digging).
Me too. It seems firebase_core 0.4.4+2 is the culprit. Forcing the old version:
firebase_core: 0.4.4 # do NOT use ^ !
Fixed to the build for me.
i didnot receive otp for web mobile authentication
I changed dependencies. try this.
dependencies:
firebase_auth: 0.15.3
dependency_overrides:
firebase_core: 0.4.4
Don't use ^
in version.
Nothing happened no OTP again
On Fri, 28 Feb 2020, 17:22 Woody Kim, notifications@github.com wrote:
I changed dependencies. try this.
dependencies: firebase_auth: 0.15.3dependency_overrides: firebase_core: 0.4.4
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/FirebaseExtended/flutterfire/issues/2084?email_source=notifications&email_token=AKMFHNX3J6Q4A67IWP3B2LTRFD3JNA5CNFSM4K5N2NV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENIIVZY#issuecomment-592480999, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKMFHNVZ4KVEZTHFNC5DM6TRFD3JNANCNFSM4K5N2NVQ .
I'm having this issue related to Cloud Firestore. Can confirm using firebase_core: 0.4.4
"fixes" the issue. Thank you everyone for posting this so timely, y'all saved my butt!
I used for phone authentication flutter web In case of mobile I received the OTP , but for web didn't get , having same code base
On Fri, 28 Feb 2020, 20:12 Zachary Russell, notifications@github.com wrote:
I'm having this issue related to Cloud Firestore. Can confirm using firebase_core: 0.4.4 "fixes" the issue. Thank you everyone for posting this so timely, y'all saved my butt!
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/FirebaseExtended/flutterfire/issues/2084?email_source=notifications&email_token=AKMFHNVYTYFYIATB4P2O3LLRFEPF7A5CNFSM4K5N2NV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENIX25I#issuecomment-592543093, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKMFHNWA2TFCYHMITXHCBPDRFEPF7ANCNFSM4K5N2NVQ .
I am transitively using firebase_core: 0.4.4
, but still have the build issue.
Running Xcode build...
Xcode build done. 9.7s
Failed to build iOS app
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
/Users/anthony/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-0.15.5+2/darwin/Classes/FLTFirebaseAuthPlugin.m:7:9: fatal error: 'UserAgent.h' file not found
#import "UserAgent.h"
^~~~~~~~~~~~~
1 error generated.
My flutter pub deps
show:
|-- cloud_firestore 0.13.4
| |-- cloud_firestore_platform_interface 1.1.0
| | |-- collection...
| | |-- firebase_core...
| | |-- flutter...
| | |-- meta...
| | '-- plugin_platform_interface 1.0.2
| | '-- meta...
| |-- cloud_firestore_web 0.1.1
| | |-- cloud_firestore_platform_interface...
| | |-- firebase 7.2.1
| | | |-- http...
| | | |-- http_parser...
| | | '-- js...
| | |-- firebase_core...
| | |-- flutter...
| | |-- flutter_web_plugins 0.0.0
| | | |-- collection...
| | | |-- flutter...
| | | |-- meta...
| | | |-- typed_data...
| | | '-- vector_math...
| | |-- http_parser 3.1.3
| | | |-- charcode...
| | | |-- collection...
| | | |-- source_span...
| | | |-- string_scanner...
| | | '-- typed_data...
| | |-- js 0.6.1+1
| | '-- meta...
| |-- firebase_core 0.4.4
| | |-- firebase_core_platform_interface 1.0.3
| | | |-- flutter...
| | | |-- meta...
| | | '-- quiver...
| | |-- firebase_core_web 0.1.1+2
| | | |-- firebase...
| | | |-- firebase_core_platform_interface...
| | | |-- flutter...
| | | |-- flutter_web_plugins...
| | | |-- js...
| | | '-- meta...
| | |-- flutter...
| | '-- meta...
| |-- flutter...
| '-- meta...
Rolling back firebase_auth
to 0.15.4 worked for me. I'm not exactly certain which version broke, but 0.15.4
works and 0.15.5+2
does not.
i have some problem with OTP can't sent in some time
Even after rolling back firebase_auth to 0.15.4 I'm getting this error
/Users/divyanshubhargava/workspace/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-0.15.5+2/darwin/Classes/FLTFirebaseAuthPlugin.m:7:9: fatal error: 'UserAgent.h' file not found
#import "UserAgent.h"
@divyanshub024 please remember to remove the ^ before the version -- because you don't want to accept the newer version; and you may need to flutter clean
too before building.
@awhitford Oh I missed that. It was taking newer because of ^
. Thanks a lot for the help.
I changed dependencies. try this.
dependencies: firebase_auth: 0.15.3 dependency_overrides: firebase_core: 0.4.4
Thanks for your solution, it solved mine too
@athlona64 am also have the same issue with an app using OTP. It was working fine previously doe.
I also ran into the issue as well, for now my dependencies are
dependencies: firebase_auth: ^0.15.4 firebase_core: ^0.4.4
doesn't seem to work even though earlier I had no issues
Edit: working now removed all " ^ " from the front of the number in pubspec.yaml
The same issue. Rollback to older versions is working.
I did not get OTP for flutter web authentication using flutter for mobile number I tried everything plz help me
On Sun, 1 Mar 2020, 18:54 Igor Karelin, notifications@github.com wrote:
The same issue. Rollback to older versions is working.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/FirebaseExtended/flutterfire/issues/2084?email_source=notifications&email_token=AKMFHNSG7DNPCJUQKP5WKZDRFJOZXA5CNFSM4K5N2NV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENM7CDY#issuecomment-593096975, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKMFHNR6Y3755MVBQOM3FZTRFJOZXANCNFSM4K5N2NVQ .
@woody-kim thanks, you solution worked
Anyone here here done web authentication for flutter using mobile number please help me it's urgent Thanks in advance
On Mon, 2 Mar 2020, 10:47 expertdevs, notifications@github.com wrote:
Closed #2084 https://github.com/FirebaseExtended/flutterfire/issues/2084 .
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/FirebaseExtended/flutterfire/issues/2084?email_source=notifications&email_token=AKMFHNVIOHEUFOK66YV6HRTRFM6O7A5CNFSM4K5N2NV2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOW73W6AI#event-3086446337, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKMFHNUKBRQCTTEK2QTYZG3RFM6O7ANCNFSM4K5N2NVQ .
@expertdevs Why was this closed? Rolling back is a workaround, not a solution. I don’t see any code changes to truly resolve this issue. Did I miss something?
@motorahul create a new issue for your problem. This issue is for the UserAgent.h
compilation error.
In my case
firebase_core: ^0.4.4+2
to
firebase_core: 0.4.4+2
to
firebase_core: 0.4.4
worked
I changed dependencies. try this.
dependencies: firebase_auth: 0.15.3 dependency_overrides: firebase_core: 0.4.4
Don't use
^
in version.
Worked for me, thanks very much.
I changed dependencies. try this.
dependencies: firebase_auth: 0.15.3 dependency_overrides: firebase_core: 0.4.4
Don't use
^
in version.
this worked for me too. I had to remove ^ from firebase_auth as well.
When I don't use ^ in version, why am I getting this error?
could not find package dev_dependencies at https://pub.dartlang.org
Launching lib/main.dart on iPhone 11 Pro Max in debug mode...
Running pod install...
Running Xcode build...
Xcode build done. 247.2s
Failed to build iOS app
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
/Users/johnappleseed/development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.4.4+2/darwin/Classes/FLTFirebaseCorePlugin.m:6:9: fatal error: 'UserAgent.h' file not found
#import "UserAgent.h"
^~~~~~~~~~~~~
1 error generated.
note: Using new build system
note: Planning build
note: Constructing build description
warning: Mapping architecture armv7 to i386. Ensure that this target's Architectures and Valid Architectures build settings are configured correctly for the iOS Simulator platform. (in target 'camera' from project 'Pods')
warning: Mapping architecture arm64 to x86_64. Ensure that this target's Architectures and Valid Architectures build settings are configured correctly for the iOS Simulator platform. (in target 'camera' from project 'Pods')
warning: Mapping architecture armv7 to i386. Ensure that this target's Architectures and Valid Architectures build settings are configured correctly for the iOS Simulator platform. (in target 'image_picker' from project 'Pods')
warning: Mapping architecture arm64 to x86_64. Ensure that this target's Architectures and Valid Architectures build settings are configured correctly for the iOS Simulator platform. (in target 'image_picker' from project 'Pods')
Could not build the application for the simulator.
Error launching application on iPhone 11 Pro Max.
Same here ...
dependencies: firebase_auth: 0.15.3 dependency_overrides: firebase_core: 0.4.4
fixed the issue
Achei a solução
basta comentar o import e colocar abaixo este código deve ficar assim
-------------- EN ---------------------- I found the solution
just comment or import and put this code below it should look like this
//#import "UserAgent.h"
// Generated file, do not edit
I'm looking forward to PR #2099 that appears to resolve this properly.
Have you tried to run "pod update" in your ios folder? I am using firebase_auth: ^0.15.5+2 and i was having this error before i ran pod update
Flutter v1.12.13+hotfix.8
I have a crash with those versions
*** Terminating app due to uncaught exception 'com.firebase.installations', reason: 'The default FirebaseApp instance must be configured before the defaultFirebaseApp instance can be initialized. One way to ensure that is to call [FIRApp configure];
(FirebaseApp.configure()
in Swift) in the App Delegate's application:didFinishLaunchingWithOptions:
(application(_:didFinishLaunchingWithOptions:)
in Swift).'
Same here ...
dependencies: firebase_auth: 0.15.3 dependency_overrides: firebase_core: 0.4.4
fixed the issue
worked for me, thank you!
Same issue here: needed to downgrade firebase_core to make it work.
Do they not test. I mean how does such a major error like this just fly under the radar?
same issue
I changed dependencies. try this.
dependencies: firebase_auth: 0.15.3 dependency_overrides: firebase_core: 0.4.4
Don't use
^
in version.
This doesn't work for me :( (Channel Master: 1.15.19!) I get following:
I am working on flutter application with firebase, when i use the firebaseAuth plugin application give the following error
i using these libraries-
anyone have idea how to solve this error?, i have already done following things
but don't help me to solve this error