我已经按照https://pub.dev/packages/firebase_crashlytics上的步骤安装了插件。但是,当我使用Crashlytics.instance.crash();强制崩溃时,我得到以下错误: ════════ Exception caught by gesture ═══════════════════════════════════════════════════════════════
The following StateError was thrown while handling a gesture:
Bad state: Error thrown b
我在运行颤振申请时遇到了问题。
酒吧失败(69)
我试过使用firebase_storage: any和firebase_storage: ^1.0.4
version: 1.0.0+1
environment:
sdk: ">=2.1.0 <3.0.0"
dependencies:
flutter:
sdk: flutter
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class
我正在使用Flutter开发iOS应用程序。当我通过通用链接启动应用程序时(例如,在Safari中输入url并单击打开按钮),应用程序启动,但会立即崩溃。但如果应用程序已经在后台运行,当我单击链接时,它不会崩溃。当它崩溃时,我得到了以下日志。所以我注释掉了所有与NSUserActivity相关的代码,但我仍然得到了相同的错误。
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Invalid type in JSON write (NSUserActi
我正在尝试对我的iOS Flutter使用Firebase身份验证。
我已经尝试了此链接中列出的所有过程,但仍然收到相同的错误。
这是我在运行iOS应用程序时收到的错误。
/ios/Runner/GeneratedPluginRegistrant.m:10:9: fatal error: module 'firebase_auth' not found
@import firebase_auth;
~~~~~~~^~~~~~~~~~~~~
1 error generated.
note: Using new build system
n
在为IOS构建应用程序时遇到以下错误:
Xcode's output:
↳
While building module 'firebase_core' imported from /Users/amishra19/Library/Android/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-2.1.0/ios/Classes/FLTQuerySnapshotStreamHandler.m:6:
In file included from <module-includes>
我一直在开发一个颤振应用程序,最近安装了三个与防火墙相关的程序firebase_core、cloud_firestore和firebase_storage。但安装后,当我试图将它们导入到.dart文件中时,我将面临“系统找不到指定的路径”
导入'package:quiver/core.dart';‘错误。那么我该怎么做呢,这是我的pubspec.yaml文件。我甚至尝试在pubspec.yaml中添加箭,如果这可以修复错误,但它没有。
name: bookecommerceapp
description: A new Flutter project.
# The follow
每次我用await Firebase.initializeApp();初始化firebase时,我的调试器都会将我重定向到ffirebase_core_web.dart,并在行处暂停(顺便说一句,我正在调试铬上的颤振,因为我没有模拟器)- completer.complete();
这只会在我运行await Firebase.initializeApp();时发生,而不会在其他时间出现。我该怎么做才能解决这个问题?这是我的私人资料。
name: messenger_clone
description: A new Flutter project.
# The following l
我已经把我的flutter包更新到了最新的版本,现在IOS已经不能工作了。 当我尝试更新pod时,它显示以下错误: [!] CocoaPods could not find compatible versions for pod "Firebase/CoreOnly":
In Podfile:
cloud_firestore (from `.symlinks/plugins/cloud_firestore/ios`) was resolved to 0.0.1, which depends on
Firebase/Firestore (~> 6.
当我尝试通过firestorage上传图片时,我遇到了一个问题。
upload的这个功能:
Future uploadFile() async {
int i = 1;
final String fileName = DateTime.now().toString();
for (var img in _image) {
setState(() {
val = i / _image.length;
});
FirebaseStorage storage = FirebaseStorage.instanc
The problem:经过适当的构建(XCode、VSCode或Android )后,我的iOS颤振应用程序中有一个黑色屏幕,没有错误。一旦安装和启动,屏幕就会变成黑色,没有其他生命的迹象。这个应用程序是生成的(我可以在屏幕上看到图标),但是我一启动应用程序,它就会完全变黑。
设置:(请参阅下面的颤振医生)我正在iOS物理设备中使用Firebase数据库(也是在各种模拟器类型中)。重要的:相同的代码运行正常,没有黑屏,一切都很好!
我很确定在我的Firebase项目中一切都配置正确,我一直在检查每个细节,就像我说的,当启动到Android设备时,一切都很好。对于iOS,GoogleServi
我一直在尝试在iOs模拟器iPhone 12中运行我的flutter项目,但是,我在StackOverflow或Github上找到的任何答案或建议都没有解决版本依赖的问题。 我面临的问题是: [!] CocoaPods could not find compatible versions for pod "FirebaseCore":
In Podfile:
cloud_firestore (from `.symlinks/plugins/cloud_firestore/ios`) was resolved to 2.5.3, which depends on
我正在尝试在pubspec.yaml中安装一个包pubspec.yaml:^4.0.0,在安装过程中,在安装结束时会得到这个错误:
Running "flutter pub get" in edaffix-mobile-flutter-master...
Because jitsi_meet >=4.0.0 depends on jitsi_meet_platform_interface ^2.0.0 which depends on plugin_platform_interface ^2.0.0, jitsi_meet >=4.0.0 requires
我刚刚将我的颤振版本升级到1.22.0。在升级和修改Firebase之后,我的安卓应用程序开始工作,但我无法在模拟器或物理设备上构建和运行iOS应用程序。
当我试图在模拟器或物理设备中运行应用程序时,终端显示了以下错误。模拟器运行在iOS 14上,物理设备运行在14.0.1上。
Emulator: ld: symbol(s) not found for architecture x86_64
Actual device: ld: symbol(s) not found for architecture arm64
我还执行了以下命令,但仍然无法工作.
flutter clean &&a
我试图在ios模拟器(Ios 13)上构建我的应用程序,但是构建失败了,导致了pod文件的错误: Podfile过时了
这就是错误。
Launching lib/main.dart on iPhone 11 Pro Max in debug mode...
Warning: Podfile is out of date
This can cause a mismatched version of Flutter to be embedded in your app, which may result in App Store submission rejection or crashes.
我在我的应用程序中使用Flutter INTL包来实现国际化。程序包会生成一个generated文件夹,我希望分析器忽略它。
然而,我遵循了,它似乎不起作用,因为生成的两个文件不会从列表中消失。
这是我的pubspec.yaml文件。
name: luma_app
description: Luma My Account
# The following line prevents the package from being accidentally published to
# pub.dev using `pub publish`. This is preferred for
我正在尝试安装jitsi_meet,但是我需要将最小的ios版本更改为11。当设置为iOS 10时,一切都运行良好,但是当我将iOS版本更改为11时,我会得到以下的错误消息,如运行pod安装时所示。我想知道我可以更新或更改哪些内容,以允许firebase与iOS 11配合使用。
pod安装错误消息:
firebase_analytics: Using Firebase SDK version '8.9.0' defined in 'firebase_core'
firebase_auth: Using Firebase SDK version '8.9.
我想在我的flutter应用程序中使用firebase消息传递(以及其他firebase功能)。我已经在为安卓安装firestore时遇到了很多麻烦( firebase教程在ios上运行得很好),但是现在当我尝试添加消息依赖时,我得到了一个新的(甚至更不透明的)错误:当我在调用flutter get packages之后运行安卓模拟器时,我得到了以下消息: Launching lib/main.dart on Android SDK built for x86 in debug mode...
Initializing gradle...
Resolving dependencies...
我对“颤栗”和“火球”都很陌生,所以在这个问题上请容忍我。当试图使用将文件上载到Firebase存储时,会出现以下异常
java.lang.IllegalArgumentException: The storage Uri cannot contain a path element.
下面还有更多的信息。
D/FirebaseApp(17988): com.google.firebase.auth.FirebaseAuth is not linked. Skipping initialization.
E/MethodChannel#plugins.flutter.io/firebase_st
我正在尝试将文件上载到Firebase存储,但不断收到错误 TypeError: appImpl.storage is not a function
at Object.getStorageInstance (http://localhost:61661/packages/firebase_storage_web/src/interop/storage.dart.lib.js:739:65)
at new firebase_storage_web.FirebaseStorageWeb.new (http://localhost:61661/packages/firebase_storage