我正在尝试将Firebase的版本升级到11.4.2,我在我的项目中做了以下更改:在project gradle文件中:
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.google.gms:google-services:3.1.0'
我正在创建一个网站,它需要在google驱动器中创建电子表格的功能,并在单击按钮时安装一个附加到创建的电子表格的工作表。
我能够使用以下代码创建电子表格
// $client is the Google_Client() object with required properties
$service = new Google_Service_Sheets($client);
$spreadsheet = new Google_Service_Sheets_Spreadsheet([
'properties' => [
'title
我试图在Google中创建一个节点,并使用它的唯一id在中创建一个相同名称的文档。
我正在使用谷歌的PHP客户端:
我已经阅读了他们的文档:
这是我的代码:
<?php
use \Google\Cloud\Firestore\FirestoreClient;
use \Google\Cloud\Core\Timestamp;
use \Google\Cloud\Firestore\Transaction as FirestoreTransaction;
use \grptx\Firebase as FirebaseClient;
class FirestoreTest
{
p
我正在尝试使用下面的代码行获取令牌,但会出现错误,因为您可以看到控制台输出。我很久以前就这样做了,而且效果很好。我不知道现在是怎么回事。有人能帮我解决这个问题吗。
var token =等待FirebaseMessaging.instance.getToken();
E/FirebaseMessaging(29973): Failed to get FIS auth token
E/FirebaseMessaging(29973): java.util.concurrent.ExecutionException: com.google.firebase.installations.Fireba
在创建应用程序之前,我正在构建一个具有firebase依赖关系的应用程序,我已经完成了firebase配置,并在pubspec.yaml中添加了firebase依赖关系。但是当我运行这个应用程序时,我得到了一些错误。
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':app:preDebugBuild'.
> In project 'app' a resolved Google Play se
我是Android Studio的初学者,当我试图将我的应用程序连接到firebase实时数据库时,我遇到了一个问题。我在firebase中创建了一个项目,并使用firebase辅助来建立连接,但问题是显示没有Firebase初始化,如下所示: W/ComponentDiscovery: Application info not found.
Could not retrieve metadata, returning empty list of registrars.
D/FirebaseApp: com.google.firebase.auth.FirebaseAuth is n
我使用react-native-firebase作为数据库,react-native-camera使用firebase-mlkit。当我安装“react本机-firebase”时出现了问题,现在我收到了以下错误:
Could not determine the dependencies of task ':react-native-firebase_app:compileDebugAidl'.
> The library com.google.android.gms:play-services-measurement-base is being requested by
我有一个Firebase应用程序,它对用户进行身份验证并返回一个访问令牌,然后我可以使用该令牌来访问Google Calendar and Sheets API。我还保存了refreshToken。已验证令牌的示例代码:
firebase
.signInWithGoogle()
.then(async (socialAuthUser) => {
let accessToken = socialAuthUser.credential.accessToken // token to access Google Sheets API
let refreshToken
我要跟着撞车:
Fatal Exception: java.lang.SecurityException: !@Too many alarms (500) registered from pid 27251 uid 11383
at android.os.Parcel.readException(Parcel.java:1620)
at android.os.Parcel.readException(Parcel.java:1573)
at android.app.IAlarmManager$Stub$Proxy.set(IAlarmManager.j
我有一个带有PeriodicWork的安卓应用程序,可以每30分钟向Firestore写入数据。它工作得很好,但我注意到在某些情况下,它会失败,并出现异常FirebaseFirestoreException: PERMISSION_DENIED。我不明白为什么它会抱怨权限,如果它可以写数据到Firestore。
// Firestore Rules
service cloud.firestore {
match /databases/{database}/documents {
match /bar/{document=**} {
allow read: if tru
我使用google sheets作为JSON端点。我创建了我的google sheets,然后点击File>Publish to web并使用下面的JSON文件:。我不确定我做错了什么,但我的数据没有被拉到我的网站上。
我还注意到,我无法将共享设置中的google链接更改为On-the Public Web。上面只写着“任何有链接的人”都可以查看。你知道我怎么解决这个问题吗,这样我的数据就会被读入我的网站?
谢谢!
答:需要是feed/list,而不是feed/cell。
我正在尝试使用firebase进行用户身份验证。我已经按照Android Studio Firebase下的说明进行了操作,但是我得到了这个错误->
Error:(53, 29) error: cannot access zzbti
class file for com.google.android.gms.internal.zzbti not found
我已经为我的Ionic 3应用程序安装了Firebase消息传递插件,并提供了推送通知。但是,它在安装后突然给我造成了一个构建错误。我得到的是:
错误脚本:
* Where:
Script 'C:\Users\Kyle Louise Villar\QuickEApp\platforms\android\cordova-plugin-
fcm\quicke-FCMPlugin.gradle' line: 13
* What went wrong:
A problem occurred evaluating script.
> Failed to apply plugi