How can I build backend services for my mobile app [closed] - flutter

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 12 months ago.
Improve this question
I want to learn to build a simple log-in page using Flutter with its backend services. Is this infrastructure good? Are there any suggestions?
The profile picture of the user must be stored on a cloud storage
To check the identity of the user and to retrieve the profile picture
I guess a databank should do the work.
The user should see when was the last time he/she logged in. How can I do it?
I want to use Firebase to do it.

As I understood that you want to develop a simple login app with authentication using Firebase.
Firebase console services enable you to authenticate and firebase storage can be used to store and retrieve the login data. You can implement something like storing the date-time at every login or logout and save it in db. Update it if the login user entry exists previously otherwise add new entry to the table.
You can visit below link to read about how to implement firebase storage. It will provide you database as well as cloud storage service. So nothing other than that is required.
Pub dev for firebase storage

Related

Automatic update of URLs in firebase storage [duplicate]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I am building an app in Unity using Firebase Realtime Database and Firebase Storage. I need to add functionality in the client app that is triggered when a particular Storage directory is updated. The update could happen from the Firebase console itself, not necessarily from the client app.
I know you can monitor for changes of a database node, but there doesn't seem to be a quick way to monitor for changes of a storage directory. I could poll for changes, but it would be better to get realtime update.
Should I look into using Cloud Functions to update the database when the storage is updated so I can be notified in the client app? Or perhaps use Cloud Messaging? Please point me in the right direction.
Thank you.
There is nothing build into Cloud Storage for Firebase to inform client-side code.
The typical way to solve this is to write an update to the database whenever the file in storage is updated. That way you can keep an active listener on the database.
But sending an FCM message is also a valid option. Such a message is called a tickle, since it tickles the app to get it into action.
You could do either of those from Cloud Functions, or from within the application code itself. But if you also want to capture updates from the Firebase console, Cloud Functions is really your only option.

How could I create a hosted database to store data from my iOS app? [closed]

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 1 year ago.
Improve this question
im în my first year of software developing. Im trying to create an iOS app where I will have some authenticate and other databases query to do. How could I create a hosted database that users could authenticate and retrieve different informations from it?
You can have a look at different MBaaS solutions (Mobile Backend as a Service), the most prominent of which are possibly:
AWS Amplify
Firebase (Google)
Azure Mobile Apps
They provide very simple ways to create a complete and secure backend for Mobile and Web Apps with Authentication, APIs, Data Storage and others.

What is the best way of creating "half-offline" app in flutter? [closed]

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 2 years ago.
Improve this question
"Half-offline" app in my definition is an app with pre-populated data and the ability to update data.
For example:
Recipe app
Collection of quotes
Short tales
When a user installs the app, it comes with a number of recipes/quotes/tales inside. Then after some time, a user can update the collection manually. Updates can be requested from Firebase or own servers.
So what is the most correct way to pre-populate a SQL/NoSQL database or file assets and what software I should use to pre-populate a database?
From my experience, I prefer to start using Firebase Firestore, they already solved the online/offline structures, and you can do the steps by following this article
If you want to handle it by yourself, you can build and create your own SQLite, you can do that by following this article too, in this stage you can update the data every week, month by calling a single API request from your side.

Best practices and tutorials for ios authentication [closed]

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 9 years ago.
Improve this question
What are the best practices for creating a user authentication system for an ios application? Any good tutorials or insights on the process are helpful (newbie).
Stormpath is an authentication and user management backend service aimed at developers. You manage your own collection of users, verify their logins, and assign users to groups (roles). Your app makes calls to their server.
Parse provides a Parse Social service that lets your app do user authentication through Facebook or Twitter. Parse is being acquired by Facebook (as of 2013-04), so I don't know what that means for their future.
Okta is another.
Mozilla Persona is quite promising, but may not yet be ready for the real world. There is an open-source kit for iOS named persona-ios. Read a discussion on How to use Persona in a native iOS app?.
User authentication and identity as as service seems to be a new but burgeoning field.
If you are using a third party backend the stackmob, parse etc all handle authentication. If you are rolling your own then this project looks a reasonable way to go: http://quickblox.com/developers/SimpleSample-users-ios.

Is there any way to export Code Generator TOTP key for use with Google Authenticator app? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I've enabled the FB Code Generator (one-time passwords for secure login on new devices). I've already got 5 other accounts set up in Google Authenticator, so it'd be great if I could export my FB otp key for use in that app.
Between simulators, browsers, and test devices, I actually have to use this pretty often. It's kinda annoying that I have to start the FB app, tap the menu, scroll to the bottom of the huge list, and tap code generator (at least 5 seconds from a cold start)... When I can pull up the Google Authenticator app in approximately half a second.
Barring the ability to export keys, is there at least some way I can set my TOTP key via the API or something?
Yes. Facebook uses the standard TOTP algorithm and will need to accommodate the use case where you didn't have mobile internet access (hence key/seed fetching unavailable).
Look for the "having trouble?" link in the popped up dialog in your browser when setting up code generator, it will lead you to a seed/key. Just feed that into your Google Authenticator and verify the first code, it should work :)