Questions tagged as 'firebase'

1
answer

Dynamically fill ArrayList ANDROID STUDIO

The main screen of my app is composed of some sessions using RecyclerView. For the adapter of my recyclerview I pass an arraylist of the type Sessoes so that the screen stays the way I want. But this arraylist I can only fill statically. I'd lik...
asked by 08.10.2018 / 14:42
0
answers

Download Firebase Storage

Until then I have this code but without success public void baixar(){ FirebaseStorage storage = FirebaseStorage.getInstance(); StorageReference storageRef = storage.getReferenceFromUrl("gs://the-xxxxxxxxxxlpha1.appspot.com/arquivos")...
asked by 01.10.2018 / 06:05
1
answer

I can not "recover" the value of the Realtime Database (Firebase)

I'm trying this, but it always appears that the app has stopped working. public class TesteActivity extends AppCompatActivity { private TextView la; @Override protected void onCreate(Bundle savedInstanceState) { super.onC...
asked by 26.09.2018 / 03:16
0
answers

How do I not repeat data from a ListView in an Android application?

When you use a ListView to display the name and image of some data that is in the Cloud Storage for Firebase , an Android device is starting to repeat itself images and names, even ListVIew referring to different data. Researching this is...
asked by 22.09.2018 / 23:36
1
answer

Persist currentbase firebase with React Native

This function is triggered by clicking the Login button: export const loginUser = ({ email, password }) => { return (dispatch) => { dispatch({ type: LOGIN_USER }); firebase.auth().setPersistence(firebase.auth.Auth.Persistence.LOCA...
asked by 27.09.2018 / 00:19
1
answer

Get real-time id Firebase

I am creating a new document in firebase and like to get the id that I will be creating to save in my collection, however how would I get the same if I have not yet saved it in the database? Example: the id that will generate will be Iq313NGP...
asked by 25.09.2018 / 00:59
0
answers

ProgressBar in Download Manager

I am downloading a pdf file that is stored in firebase storage and would like a progressbar to appear while the download is in progress. private Long downloadFile(String url) throws IOException { // I get the url variable of a query in fir...
asked by 21.09.2018 / 01:01
0
answers

Function does not return the UID - Firebase

I'm developing an app with ionic 3 and firebase, and I'm encountering a problem, because the function I'm calling is not working as expected. I wanted it to return only the requests with this uid getAll() { var userId = firebase.auth().current...
asked by 20.09.2018 / 20:36
1
answer

Definition of RealTimeDatabase Rules

How should my rules be, so that a logged-in user has access, can read and write only in their requests ??? { "orders": {     "-LMqiTIhAr-VUMKpq8FD": {       "name": "asdasdsa",       "tel": "213"     },     "-LMr1wgwinGyew0rVpWs": {       "...
asked by 20.09.2018 / 16:23
0
answers

how to read data in firestore

Hello. I am trying for a simple rule in the firestore but I do not have enough knowledge for this, someone could help me. my service is following the firestore documentation on google. constructor( private afs: AngularFirestore ) { this...
asked by 19.09.2018 / 01:34