Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 5 years ago.
Improve this question
I'm implementing an Android app that collects data throughout the day. When the user returns home where there is internet connection, then the app will push data to backend.
I have been looking into Firebase for this. It has offline capabilities that would save data into disk in case there is temporary network interruptions.
My question is whether the offline feature fits with my scenario? Is the feature designed for short term interruptions, or works with any kind of interruptions?
It works with any kind of interruptions. So if you don't have an internet connection during the day, when you come back home in the evening, all the changes made when you were offline will be pushed to Firebase database.
To achieve this you need to use this line of code:
FirebaseDatabase.getInstance().setPersistenceEnabled(true);
Hope it helps.
Related
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 4 years ago.
Improve this question
I have an app in which the user should be able to store videos. I was wondering if Firebase or Sqlite would be better for the job. Please get back to me as soon as possible.
Unless the videos were really short then you wouldn't store them in a database. You would store them as files and store the path to the file in the database.
SQLite would be better if the data in the database is device specific and thus needed no syncing with other devices.
Firebase could be the choice if syncing the data across devices.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
Is it secure to simply save it in the local storage along with my project files? Or is it safer to store them as environment variables?
I would in general advice against saving and pushing credential files into a repository for others to see.
You may consider encrypting you credential file. Everyone who has to work with the project then has to decrypt it first and you have control who receives the access to it.
Have a look Googles KMS: https://codelabs.developers.google.com/codelabs/cloud-encrypt-with-kms/index.html#0
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 4 years ago.
Improve this question
I am bulding a learning portal for a client and the client has asked for a feature where the user can record and upload sound directly from the browser (or browser plugin) to a custom made forum on the portal. The client envision having a button like [start recording] on the site. I am probably ending up with recommending against this feature but I would like to hear if any of you have done something similar and what you used.
This specific application is built using dotnet core 2.0 and Angular 5 in the frontend.
Using WebRTC could be an option if you can run your site under an SSL cert.
You may want to take a look to this example here.
Here you have another example using the device camera.
You can store the response on a Blob and send it to your server.
It is an initial aproach but I think it could help you take a decision.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 5 years ago.
Improve this question
I have been reading a lot of articles in regards to security and other parties reverse engineering your app and then flooding your APIs etc.
For my current (nativescript) app I am using Firebase for Auth and then have my own API URL hardcoded into the app.
I am considering using Firebase Remote Config to retrieve my API URL and then setting it in the app. In order to not have my API URL exposed.
I was wondering if someone has done this before? And if this approach is a good or bad idea?
Thanks. Robert
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
Im wants to make a live chat feature in my web applicatin in asp.net. I found signalr for live chat, but i want to save that text from one browser to How to save text user's message in signalr
SignalR is used to push changes to the client. Saving messages is not a concern for SignalR. You need to roll your own persistence for this, maybe your application have a database already?