草庐IT

firebase-plugins

全部标签

android - cordova-plugin-inapppurchase 错误 : package com. android.vending.billing 不存在

添加cordova-plugin-inapppurchase后对于我的项目,为Android平台构建WebAssets失败:\platforms\android\app\src\main\java\com\alexdisler\inapppurchases\IabHelper.java:33:error:packagecom.android.vending.billingdoesnotexistimportcom.android.vending.billing.IInAppBillingService;^\platforms\android\app\src\main\java\com\

android - Firebase UI RecyclerView onClick

我正在使用FirebaseUIFirebaseRecyclerAdapter来填充RecyclerView。我设法从我的项目View(标题)的组件中获取点击事件,但不是我需要的项目View中的任何地方。我按照谷歌示例。在我的Activity中:privatevoidsetRecyclerView(){recyclerView=(RecyclerView)findViewById(R.id.recycler_view_gigs);recyclerView.setHasFixedSize(true);recyclerView.setLayoutManager(newLinearLayout

java - 尝试在 Firebase 数据库中保存对象时出现错误 "java.lang.StackOverflowError:"

我是Firebase的新手。我试图将我的应用程序中列出的用户的属性保存到数据库Firebase中,这是代码mAuthListener=newFirebaseAuth.AuthStateListener(){@OverridepublicvoidonAuthStateChanged(@NonNullFirebaseAuthfirebaseAuth){firebaseuser=firebaseAuth.getCurrentUser();if(firebaseuser!=null){finish();firebaseuser=mAuth.getCurrentUser();Stringnama

关于qt.qpa.plugin: Could not load the Qt platform plugin “xcb“ in ““ even though it was found.解决思路

关于qt.qpa.plugin:CouldnotloadtheQtplatformplugin“xcb”in“”eventhoughitwasfound.解决思路在uos家庭版基于qt开发,debug程序时,遇到上述错误,详细错误如下:qt.qpa.plugin:CouldnotloadtheQtplatformplugin"xcb"in""eventhoughitwasfound.ThisapplicationfailedtostartbecausenoQtplatformplugincouldbeinitialized.Reinstallingtheapplicationmayfixthi

android - 如何为 firebase 创建自定义用户属性?

firebase控制台上的帮助部分说Firebaseappcanhaveupto25uniquelynameduserproperties(case-sensitive).Youshouldusepropertiesfornon-variableattributes,suchas“handedness=right”,“spender=true”.在firebasedocumentation据说一个属性是这样设置的mFirebaseAnalytics.setUserProperty("favorite_food",mFavoriteFood);这是否意味着对于名为k且值为v的每个用户属性

android - Android 中的 Firebase 身份验证错误

Hereisscreenshot当时我正在尝试使用firebase身份验证从google登录,但在我的项目中出现错误com.google.firebase.auth.FirebaseAuthException:Thisoperationisnotallowed.Youmustenablethisserviceintheconsole.andalsoitsaysERROR_OPERATION_NOT_ALLOWED这个操作是不允许的。您必须在控制台中启用此服务。 最佳答案 如您所说,您需要在Firebaseconsole中启用身份验证

java - Firebase - 在类上找不到要序列化的属性

我有这样一个类:classdataModel{Stringid,name;Integercount;dataModel(){}}然后我从Firebase添加数据。mDatabase.addValueEventListener(mListener=newValueEventListener(){@OverridepublicvoidonDataChange(DataSnapshotdataSnapshot){dataSet.add(dataSnapshot.getValue(dataModel.class));//...}});当我以调试方式运行应用程序时,没有问题。但在发布后,应用程序

java - 从 Firebase 数据库中删除特定值

我已经关注了this.但不幸的是,当我删除一个与另一个具有相同值的数据时,它也会被删除。我只想删除单个数据。这是我的数据库结构。.我只想删除一个值。Queryquery=databaseReference.orderByChild("address").equalTo(tvPatientAddress.getText().toString());query.addChildEventListener(newChildEventListener(){@OverridepublicvoidonChildAdded(DataSnapshotdataSnapshot,Strings){data

android - 无法解析 : firebase-database-15. 0.0

用助手连接firebase实时数据库添加firebase数据库的依赖项时显示此错误:Failedtoresolve:firebase-database-15.0.0这也发生在身份验证上我的androidstudio版本3.2构建于9月18日 最佳答案 新版本的AndroidStudio中有一个烦人的错误(我在Windows和Mac上都看到过3.2.1或更高版本)。如果您从工具自动集成firebase,Thןד会给您一个不需要的附加组件,该附加组件会反编译程序。例如:implementation'com.google.firebase

Android:WAITING firebase valueEventListener

我正在尝试使用信号量来等待我的firebasevalueEventListener。我有一个用户信息Activity,其中包含用户必须填写的6个不同字段。当用户保存他/她的信息时,我想进行“全有或全无”类型的检查。某些用户信息不能重复...例如用户名、电子邮件和电话号码。我正在使用firebase,目前的一般想法是格式:voidsaveUserInfo(){if(field1existindatabase){return;}...if(field6existindatabase){return;}savefield1();...savefield6();}我遇到的问题是检查该值是否已存