flutter: [firebase_auth/admin-restricted-operation]ADMIN_ONLY_OPERATION flutter - flutter

I'm encountering this error when I'm trying to launch an app I was working on 2 month ago it was working okay and it does work on android now but when I'm trying to run it on iOS I get this error
I'm using anonymous method for the Authentication and it's enabled in Firebase what could be the problem?
flutter: [firebase_auth/admin-restricted-operation]ADMIN_ONLY_OPERATION

Related

Firebase deployed flutter web page throws exception (since today) - why?

I have a flutter web app with the following dependencies, updated today to most recent ones. There was no code change! Just version updates:
firebase_storage: ^11.0.12
firebase_core: ^2.6.0
cloud_firestore: ^4.4.1
firebase_auth: ^4.2.7
Running the web app locally works fine (Chrome), but when I upload/deploy it to firebase, I get the following Exception:
VM155:2 Uncaught (in promise) TypeError: Failed to resolve module specifier 'Instance of 'TrustedScriptURL''
at window.ff_trigger_firebase_core (<anonymous>:2:18)
at mJ.v7 (main.dart.js:49235:19)
at main.dart.js:52258:9
at aJx.a (main.dart.js:6218:62)
at aJx.$2 (main.dart.js:45146:14)
at Object.M (main.dart.js:6204:10)
at ag6.aqG (main.dart.js:52262:10)
at ag6.BK (main.dart.js:52239:21)
at ag8.$1 (main.dart.js:52332:15)
at e9.q (main.dart.js:44287:19)
which is this statement
and the same exceptions for all other firebase packages:
The problem is, when I now revert back to the old firebase version, the problem stays! I donĀ“t know what happened. Edge browser shows the same exception.
Thanks!

Issue while running flutter app in release mode

I'm using audio service in my flutter app it was working fine in both debug and release mode when my flutter version was 3.0.2 when I update my flutter from 3.0.2 to to any higher flutter version then the app isn't working correctly.App is working fine in debug mode but when I'm running my app in release mode the following error is occurs.
E/flutter (12940): [ERROR:flutter/shell/common/shell.cc(93)] Dart Error: Dart_LookupLibrary: library 'package:shiatoolkit/services/audio/app_audio_service.dart' not found.

Flutter: User-Defined Issue (Xcode): Unsupported Swift architecture

I am trying to run my flutter app in ios via android studio, and i am encountering this error which i do not understand.
Making these changes resolved my issue

There is errer on ios device when executing firebase in flutter

There is an error when running on an iOS emulator from a flutter firebase
I don't know what the error is. Please help me.
Error Log is here

flutter run with flutter create app throws error

when I run the flutter create default app . my app is running but getting an error and it quits.
The error is :
Error connecting to the service protocol: HttpException: Connection closed before full header was received while flutter run http://127.0.0.1:64730/WQfPVkoQWyk=/
How to resolve this issue?
If you are using the emulator then changing the Android version from Q to Pie should solve the issue. This issue is addressed here