firebase-realtime-database

StackoverflowError when using Firebase

情到浓时终转凉″ 提交于 2020-01-04 11:03:32
问题 I'm currently trying to make an app that will show you a position on a map whilst also saving it to Firebase for later use. This is my MapsActivity: public class MapsActivity extends AppCompatActivity implements OnMapReadyCallback, GoogleApiClient.ConnectionCallbacks, GoogleApiClient.OnConnectionFailedListener, LocationListener { GoogleMap googleMap; LocationRequest mLocationRequest; GoogleApiClient mGoogleApiClient; Marker marker; Intent intent; DatabaseReference myRef; FirebaseDatabase

Submitting an app to the App Store that uses Firebase

独自空忆成欢 提交于 2020-01-04 09:11:45
问题 I had a quick question about submitting an app to the app store when it uses Firebase. I wanted to know if there is anything I need to do on the Firebase side to enable the database for anyone to use. Or can I just go through the normal process of submitting an app and assume that the database will be working for a tester or any user that downloads the app? In short do I have to enable something on the Firebase side for it to work globally for any user? Any help would be appreciated. 回答1:

Submitting an app to the App Store that uses Firebase

丶灬走出姿态 提交于 2020-01-04 09:11:05
问题 I had a quick question about submitting an app to the app store when it uses Firebase. I wanted to know if there is anything I need to do on the Firebase side to enable the database for anyone to use. Or can I just go through the normal process of submitting an app and assume that the database will be working for a tester or any user that downloads the app? In short do I have to enable something on the Firebase side for it to work globally for any user? Any help would be appreciated. 回答1:

How to exclude some of the Firebase database nodes from being persisted?

僤鯓⒐⒋嵵緔 提交于 2020-01-04 07:56:17
问题 FirebaseDatabase.getInstance().setPersistenceEnabled(true); This statement persists all the read and write operations in firebase database across the app restarts. But what i need to exclude some of my database nodes from being persisted? I am already storing the data in local database, and enabled the persistence only for the database write operations. Some of my queries are downloading a big amount of data for displaying some reports to the user and I want Firebase to exclude that query

How to exclude some of the Firebase database nodes from being persisted?

时光总嘲笑我的痴心妄想 提交于 2020-01-04 07:56:06
问题 FirebaseDatabase.getInstance().setPersistenceEnabled(true); This statement persists all the read and write operations in firebase database across the app restarts. But what i need to exclude some of my database nodes from being persisted? I am already storing the data in local database, and enabled the persistence only for the database write operations. Some of my queries are downloading a big amount of data for displaying some reports to the user and I want Firebase to exclude that query

How to send Facebook authentication details to Firebase using a Cordova plugin & Firebase template

为君一笑 提交于 2020-01-04 07:28:11
问题 Sorry this question is kind of long, it's because I've been trying to solve this problem for a while and want to make sure I don't leave any info out. I'm building a Cordova app and using Firebase for the authentication/database back end. I've been trying to authenticate users into Firebase using a Log in with Facebook button for almost a week now, but I haven't been able to get it to work. Originally I tried following Firebase's example here: https://firebase.google.com/docs/auth/web

How to send Facebook authentication details to Firebase using a Cordova plugin & Firebase template

烈酒焚心 提交于 2020-01-04 07:28:10
问题 Sorry this question is kind of long, it's because I've been trying to solve this problem for a while and want to make sure I don't leave any info out. I'm building a Cordova app and using Firebase for the authentication/database back end. I've been trying to authenticate users into Firebase using a Log in with Facebook button for almost a week now, but I haven't been able to get it to work. Originally I tried following Firebase's example here: https://firebase.google.com/docs/auth/web

Unable to save new data in firebase

独自空忆成欢 提交于 2020-01-04 07:26:44
问题 I am trying to save new data in firebase under a node Visitors . i have already set some rules on that node. "Visitor":{ "$userId":{ ".write": "auth != null && $userId === auth.uid", ".read": " auth.uid != null" } }, In my app FirebaseAuth mFirebaseAuth = FirebaseAuth.getInstance(); FirebaseUser mFirebaseUser = mFirebaseAuth.getCurrentUser(); FirebaseDatabase mDatabase = FirebaseDatabase.getInstance(); if(mFirebaseUser == null){ }else{ String mUserId = mFirebaseUser.getUid();

AngularFire2 - nested FirebaseObjectObservable won't fire a nested Firebase call

这一生的挚爱 提交于 2020-01-04 06:39:39
问题 I've got a question about dealing with working with many-to-many relationships in Firebase. Basically, I'm trying to build a user profile object from multiple paths inside of my Firebase data. I've tried building a function that returns an observable and then updates the data in that observable as a nested observable grabs data from Firebase. The problem is that the nested observable doesn't ever get called, from what I can tell. I've been beating my head against this for hours without any

AngularFire2 - nested FirebaseObjectObservable won't fire a nested Firebase call

試著忘記壹切 提交于 2020-01-04 06:39:26
问题 I've got a question about dealing with working with many-to-many relationships in Firebase. Basically, I'm trying to build a user profile object from multiple paths inside of my Firebase data. I've tried building a function that returns an observable and then updates the data in that observable as a nested observable grabs data from Firebase. The problem is that the nested observable doesn't ever get called, from what I can tell. I've been beating my head against this for hours without any