Right click on project folder and click on replace in path
Write com.u6amtech.flutter_restaurant in 1st marked box and write your own package name at second marked box and then click on Replace All button.
Copy all data from en.json and paste it in your created file.
Translate all English text placed here after colon(:) to your local language.
Copy your country picture and paste it on
Create your own firebase project from https://console.firebase.google.com/ and also add an android app there with your own package name and app name.
Then click register app and download google-services.json file from there.
Then copy that file and paste and replace it in
To change your notification icon with your app icon, first make your icon image totally white.
Rename it as notification_icon.png.
Then paste it in
- Go to https://console.firebase.google.com/ - If you don’t have a project, create one. - Go to Add App from your project overview (if you have already an app for web, skip step 3, 4, 5 & 6). - Select Web for web setup credentials. - Register your app with an app nickname (checking firebase hosting is optional). - From Add Firebase SDK, go to ‘Use a <script> tag. - If you already have an app for web, go to Project Settings (beside the Project Overview). - Under the General tab > Your apps > Web apps > YOUR_PROJECT - Copy the value of ‘apiKey’, ‘authDomain’, ‘projectId’, ‘storageBucket’, ‘messagingSenderId’, ‘appId’ and configure Firebase Chat Config from admin panel settings.
You must have to set color for dark theme also from
IF you want to access the current location of your app and web you have to add a paid api for It.
To get the api you have to buy the api first. To buy the api follow this this https://support.google.com/googleapi/answer/6158867?hl=en
To generate the api key visit this link https://developers.google.com/maps/documentation/embed/get-api-key
After creating API key---
Now you are ready to build the web version of your app.
Go to the terminal of your ide and run this command
flutter build web --web-renderer html --release
After running the command,
<project>/web/index.html and replace
eFood title with your app name.
<project>/web and replace this
favicon.png with your fav icon. Must rename your favicon as
<project>/web and replace
logo.png with your app logo
Now you are good to go for business. Best of luck.
To publish the app on playStore follow the instructions in the link below
To publish the app on appStore follow the instructions in the link below