Admin Panel Using Flutter Firebase - flutter

So I am doing my FYP in flutter firebase. It's a health app and it needs an admin panel. I had watched like a ton of videos on youtube but neither of them is helping. Some are making the admin panel with in the app while others on web and even on web some use anonymous login for the admin. I'm kind of stuck at this place. Which approach do I choose to go about this? Or any resource anyone can provide so that it helps me make the admin panel..
I have watched quite a lot of videos and read from resources.. but not getting em at all? So any suggestion would be helpful..

Related

before and after login view

since I'm super new to Flutter, what is it called when you have some access to the application before login, but after login you have access to whole app.
if you don't get what I'm saying, I try to explain in some examples.
When I download an app from AppStore, Google Play.
I can take a look at some part like main UI and other stuff in main page.
but for section, pages and etc..., I need to login to see them.
it shows some property before login and others after login.
what is it called and what is the best recommendation to work with in Flutter?
Many thanks for your time
I think you mean authorization, check this for example Get Started with Flutter Authentication

How to support multiple domain links to open home screen app for flutter web pwa?

Problem is that when user installs the home screen app from google form a link such as wen-el-sahra.web.app and then a link such as wen-el-sahra.web.app/home is clicked it opens in home screen app but if wen-el-sahra.firebaseapp.com/home is clicked it doesnot open in homescreen app. Thanks for your help in advance.
This is not a bug or a problem to circumvent. Instead it has to be handled inside the app to work on the same origin. For a detailed explanation on why this is not the case please read this article on multi-orign-pwas.
So I would suggest to work with only one domain or as in the above mentioned article request user permission to register each sub-domain while installing the PWA initially, if this is possible.
I assume you are using firebase hosting. So always works with the available registered domain. That way there is no need to expose the web.app and firebaseapp.com domains to the users. In this case always work with wenelsahra.com

Flutter - How to build an app with a generic homepage and optional sign in features

I am trying to create an e-commerce app which has a generic homepage, which will list all products. I would then like the user to have an "account" page where they can either sign up or sign in.
When the user attempts to buy a product from the home screen, if they are not logged in they will need to before proceeding. I am not expecting someone to code this out for me (unless its a fairly straightforward ask) but can somebody advise on how to structure this project or better yet, link me to an example? I have trawled youtube looking for an example but all seem to have the user directed straight to the log in screen when launching the app.
Thanks
You have to learn Firebase methods it will give you a server less cloud to stock your data and handle users information for account page.
I learn thanks to these guy videos https://youtu.be/FTju8w4zEno

Creating Facebook App

Im new to facebook applications. I recently created a webapp that consisted of html & php. But recently Ive decided that integrating my webapp within facebook would be useful. Any tips on where to start? Ive looked over developers.facebook.com and im confused. It appears they are in the process of updating. Ive come across a few guides but there from a few years ago. This app will run completely within facebook and im probably gonna have to rewrite all the code. Any guides or suggestions?
Thanks!
You didn't specify the programming language you're using but if you're developing asp, start by looking into Facebook c# sdk here: http://facebooksdk.codeplex.com/
If you're using any other language (i.e. php), try looking into respective software dev. kits (i.e. facebook php sdk). They will facilitate your job in comparison to starting raw development all by yourself.
Tim, if you want to get into the business of working with Facebook, you need to know right away that they are always in the process of updating. That being said, you should learn some Facebook terminology so you can do more research and figure out what you want to do.
Applications that run within the Facebook interface are called Canvas Apps. Your application is hosted on your own server, and Facebook simply adds an iframe in their UI that points to your app's URL.
Another way to go to create a webapp that uses your own design, but still utilizes a single sign-on system from Facebook. This used to be called a Connect App but now they don't really have a name for it. Basically, you can use Facebook's authorization system to pull Facebook user data into your own database, which basically eliminates the need for a registration page. The authorization system prompts the user to allow your app to get specific data about them - once they authorize it, your app has access to do whatever the user gave it permission to do.
The best document to wrap your brain around is about authentication: http://developers.facebook.com/docs/authentication/
Give that a whirl, and good luck!

How can I add a link to an iPhone native app from website IF POSSIBLE

I have a link to a Facebook page from a website. I know I can use the URL scheme href="fb://" to open up the Facebook application from within an iPhone, but if the iPhone user does not have the native application installed, an ugly error message pops up. I would rather just send this user to the Facebook website.
There's gotta be a way to do this, but everything I've tried has had some short-coming:
Can't make a HEAD request to a different server
Can't run a try catch javascript function since the event leaves the client page
Can't seem to access information about the user's applications... or can I? I've read a bit about a cookie called "appInstalled" but can't find any real documentation about it.
Any ideas out there? Thanks a ton in advance.
Denis
Can a website determine if a device [iPhone] has certain applications installed ? I'm pretty sure that's a big NO because of privacy and security concerns.
Not a really technical answer, but you could change the user interface to give the user an option. For example, having:
Click here if you have the facebook application installed on your iPhone.
If you do not, click here to go through to the site.
Sorry that I cannot offer a "proper" solution, I'm not really that familiar with iPhone development.