我在使用ionic的react中有一个应用程序,问题是我在我的项目中实现了firebase,我使用推送通知和分析事件,我目前有一个问题,因为我得到了这个错误,它抛出了太多次,我调查了一下,我没有看到任何关于这个问题的东西,所有的firebase函数对我都有效,但它一直抛出这个错误 Firebase analytics is not initialized. make sure initializeFirebase () is called once 我把数据的实现留在这里,一切都很好: FirebaseAnalytics.initializeFirebase({
apiKey: `$
我第一次尝试在React应用程序上使用firebase,但我在文档中找不到正确的过程。
这是我的config.js用于防火墙(当然,在这里,我已经隐藏了我的凭证)
// Import the functions you need from the SDKs you need
import { initializeApp } from "firebase/app";
import { getAnalytics } from "firebase/analytics";
// TODO: Add SDKs for Firebase products that you
当用户启用了阻止firebase-analytics.js的广告阻止程序时,我的颤振Web应用程序就会崩溃。我只剩下一页空白。
这是我收到的错误:
top_level.dart.lib.js:110 Uncaught (in promise) TypeError: dart.global.firebase.analytics is not a function
at Object.analytics$ [as analytics] (top_level.dart.lib.js:110)
at new firebase_analytics_web.FirebaseAnalytic
我正在开发一个android应用程序,我想集成Firebase Analytics。但显然,在仪表板中记录自定义事件和查看这些自定义事件并非易事。
Google app Engine项目现在链接到Firebase,但我想将Google Analytics集成到我的android应用程序中。
但是当我尝试设置Google Analytics时,当我尝试选择项目并点击CONTINUE TO Choose and configure services时,我会被重定向到Firebase Analytics页面。
请帮帮忙。谢谢:)
我不知道这里的错误是什么。我制作了教程Firebase/网站,并在我的项目中做了同样的事情。我试图在我的React网站上打印出我在Firebase上创建的集合,但在db.collection:Uncaught (in promise) TypeError: ae.collection is not a function行得到了错误 component.js: // React
import { useState, useEffect } from "react";
import { db, collection, getDocs } from '../../../f
我已经在应用程序中集成了我的firebase分析,并希望使用facebook分析来定位广告活动。但是,我不想编码所有的东西并集成facebook分析。我听说Google Tag Manager集成了facebook和firebase分析功能。我是否可以通过Google Tag Manager将Firebase Analytics中的事件共享到Facebook Analytics?
在react本地应用程序中,我使用的是firebase google分析。
问题是在跟踪屏幕上,我跟踪,但是我有
TypeError: (0 , _analytics.analytics) is not a function).
还有。
我的应用程序文件(drawer.js):
import { createDrawerNavigator } from 'react-navigation-drawer';
import { createAppContainer } from 'react-navigation';
import Feed from '.
我开始使用Jest来测试我的React应用程序,我正在写一个基本的测试,我有一个例外。测试代码如下所示 // __test__/App.test.js
import '@babel/polyfill'
import React from 'react';
import App from '../components/App'
import { render } from '@testing-library/react';
jest.mock('firebase/app')
// The error is the
最近,我通过严格遵循一些教程来学习React,但由于没有正确设置ReactJS和Firebase之间的集成,我的web应用程序被卡住了。这就是我到目前为止所拥有的。
var React = require('react');
var ReactDOM = require('react-dom');
var ReactFire = require('reactfire');
var Firebase = require('firebase');
var Fi
我正在学习一个教程,我不知道问题是什么?当我尝试import { db } from '../firebase.config'时,我一直收到一个错误。
我已经尝试了所有的东西,并且查看了git中的教程代码,它们是相同的,所以我认为这个问题是新的。
这是firebase.config.js文件和SignUp.jsx文件,我试图导入db。
// Import the functions you need from the SDKs you need
import { initializeApp } from "firebase/app";
i
有一个react原生项目,它不会构建在目标"Staging“上,因为我已经设置了cocoapods并使用了xcworkspace文件(需要用于react-native-firebase的firebase集成)。当尝试为taget "staging“构建时,我会得到这个错误:
ld: library not found for -lPods-[app]
clang: error: linker command failed with exit code 1 (use -v to see invocation)
它可以在调试时工作,当我归档项目时(至少它不会抛出错误)。
我正在尝试成功运行react本机安装附带的boiler -test.js测试。我已经看到这个测试在其他项目中“开箱即用”,然而,由于我们与Firebase SDK的集成,我的测试失败了。我们的长期目标是构建一个测试套件,模拟对我们的firebase SDK的调用(我想探索以下解决方案:https://medium.com/stories-from-upstatement/jest-mocks-roasting-on-an-open-firestore-36fa55b76953、How do you mock Firebase Firestore methods using Jest? ),但
我尝试在flutter web中使用firebase分析,但得到以下错误:
TypeError: dart.global.firebase.analytics is not a function
at Object.analytics$ [as analytics] (http://localhost:5000/packages/firebase/src/top_level.dart.lib.js:110:102)
at new firebase_analytics_web.FirebaseAnalyticsWeb.new (http://localhost:5000/packages/fir
我正在做一个使用React和Firebase的项目。在这样做的时候,我得到了这样的错误:TypeError: firebase_compat_app__WEBPACK_IMPORTED_MODULE_4__.default.auth is not a function React将这一行指向错误:const auth = firebase.auth(); 我的App.js文件(除了重要的部分,我不能显示全部): import './App.css';
import React, { useRef, useState } from 'react';
impor
我需要在我当前的flutter应用程序中实现Google Tag Manager。我找了一个包,但是我只找到了这个https://pub.dev/packages/google_tag_manager,它只适用于flutter web。 我的问题是:有没有办法将Google Tag Manager集成到使用Firebase Analytics的现有flutter应用程序中,而无需创建插件本身?