skip to Main Content

Widget Test – "MethodChannelFirebase.channel" the getter channel isn't defined for the type MethodChannelFirebase. What is the current best practice?

Previously I used the following code to ensure Firebase was initialised ... typedef Callback = void Function(MethodCall call); void setupFirebaseAuthMocks([Callback? customHandlers]) { TestWidgetsFlutterBinding.ensureInitialized(); setupFirebaseCoreMocks(); ///todo fix this MethodChannelFirebase.channel.setMockMethodCallHandler((call) async { if (call.method == 'Firebase#initializeCore') { return [ { 'name': defaultFirebaseAppName,…

VIEW QUESTION

Flutter giving No known class method for selector 'appleCredentialWithIDToken:rawNonce:fullName:'

I updated my flutter project's following two dependencies: firebase_auth: ^4.4.0 firebase_core: ^2.9.0 And since then whenever I try to launch the project I get ARC Semantic Issue (Xcode): No known class method for selector 'appleCredentialWithIDToken:rawNonce:fullName:' /Users/saadbashir/.pub-cache/hosted/pub.dev/firebase_auth-4.4.0/ios/Classes/FLTFirebaseAuthPlugin.m:592:26 Following are the dependencies…

VIEW QUESTION

Laravel Firebase authentication error, unresolved dependancy

I started with this project: https://github.com/suhasrkms/laravel-with-firebase-auth (I downloaded the zip for email/password auth). To duplicate issue I ran composer require kreait/laravel-firebase:^4.0 -W Updated from version kreait/laravel-firebase:^3.0 and I got this error. Unresolvable dependency resolving [Parameter #0 [ string $projectId ]]…

VIEW QUESTION
Back To Top
Search