我向play商店发送了我的应用程序,在一些下载之后,play控制台中出现了一些错误群集。在我的手机里,这种失败从来没有发生过。 播放控制台错误: java.lang.RuntimeException:
at android.app.ActivityThread.handleReceiver (ActivityThread.java:3334)
at android.app.ActivityThread.-wrap17 (Unknown Source)
at android.app.ActivityThread$H.handleMessage (ActivityT
我正在建立一个与世博会反应原生应用程序,我只有2个组件,WelcomeScreen和PhoneLoginScreen。我正在尝试实现firebase电话身份验证,它在网络上工作得很好,但在iOS模拟器上,我得到了一个错误的Verifier._reset is not a function. (In 'verifier._reset()', 'verifiier._reset' is undefined,当我点击导航到PhoneLoginScreen组件的继续按钮时,它就崩溃了。代码如下:
App.js
import React from "react
当我试图在我的Mac M1上用android和ios构建我的本机应用程序时,当我在error.....it上构建时,就不会出现这个error.....it:
Package firebase-functions has been ignored because it contains invalid configuration. Reason: Package subpath './package.json' is not defined by "exports" in /Users/..../node_modules/firebase-functions/pa
无法在我的React本机项目中解决此错误,该项目使用Firebase Cloud消息传递模块@react本机-火基/消息传递:
BUILD FAILED in 9s
error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup.
Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServ
我在Android上有一个Reactive原住民项目。在Xcode上工作很好,但是A/S方面我得到了一些我不熟悉的错误:-
Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve project :react-native-firebase.
Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve project :react
当我试图为生产构建时,就会出现这个错误。我在使用。这个错误发生在android上。
这是错误
* What went wrong:
Execution failed for task ':react-native-firebase_app:generateReleaseRFile'.
> Could not resolve all files for configuration ':react-native-firebase_app:releaseCompileClasspath'.
> Failed to transform react-na
我安装了@react-native-firebase的v6,它按预期工作,但当我尝试运行单元测试时,我得到了以下错误:
Jest encountered an unexpected token
Details:
/node_modules/@react-native-firebase/database/lib/index.js:18
import { isBoolean, isNumber, isString } from '@react-native-firebase/app/lib/common';
^
SyntaxError: Unexpected t
我已经在我的react原生项目中集成了firebase crashlytics。我关注了链接
@react-native-firebase/app已经存在于项目中。我从firebase控制台启用了crashlytics,并在我的项目中更新了GoogleService-Info.plist。我使用npm I @react-native-firebase/crashlytics cd ios/ && pod install安装了crashlytics
我在项目中安装了最新版本
Firebase crashlytics根本不工作,如果我遗漏了什么,请让我知道?
摘要 我在我的项目中使用了react-native-firebase,并且我运行的是纯react-native (No Expo)。然而,在对Firestore上的任何文档发出get请求时,都不会给出响应。也就是说,在try-catch块中,它既不会解析,也不会被拒绝,它会一直运行下去。(是的,我知道promise,并且我使用await/async,所以它不是等待promise完成,事实上,主要的事情是promise没有得到解决/拒绝) 主要的问题是这个问题是随机出现的,它不是每次都失败,它是随机发生的。通过仔细观察,我还观察到,这种情况主要发生在我不断执行get请求时,例如,我有一个查询,
我是新的反应本土化,我一直在创建一个应用程序与Firebase为后端。我了解到,如果我只是在一个名为firebaseConfig.js的文件中复制并粘贴控制台页面中的firebase配置,那就太危险了。
我创建了一个.env文件并编写了一些局部变量(如果我认为它们是正确的),用变量替换firebase配置信息(如apiKey )。
我不知道哪里出了问题。
// Import the functions you need from the SDKs you need
import { initializeApp } from "firebase/app";
import { ge