Thank you for purchasing our app
Please read the documentation carefully , and if you have any question check us . Most pages are accompanied by a video tutorial , it's recommended to check both , the video and the written Documentation .
Customers who host their files with hostrever.com will receive free support for life
Having a hosting platform that our support team is familiar with makes it easier for them to assist you
installing Foodies PHP API is an easy process and we will guide you through it .
Step 1 - You have to upload the mobileapp_api files which we have provided in your downloaded package from codecanyon
Step 2 - Login in your hosting cpanel Navigate to File Manager , upload the mobileapp_api.zip , then extract it
Step 3 - For Database & 3rd party API configurations You have to edit variables.php file which is located at "mobileapp_api/app/lib/variables.php"
Step 1 - You have to import the SQL file which we have provided in your downloaded package from codecanyon
Step 2 - You have to edit variables.php file which is located at "mobileapp_api/app/lib/variables.php"
Fill the database details in "mobileapp_api/app/lib/variables.php"
define('DATABASE_USER', ''); define('DATABASE_PASSWORD', ''); define('DATABASE_NAME', '');
Step 1 - Sending Emails to Create an account here postmarkapp.com & Copy the server key
Fill the PostMark POSTMARK_SERVER_API_TOKEN & SUPPORT_EMAIL in "mobileapp_api/app/lib/variables.php"
//PostMark define('POSTMARK_SERVER_API_TOKEN', ''); define('SUPPORT_EMAIL', '');
Step 1 - Setup API Keys , Get Google Maps Api keys Console Cloud Google Make sure to enable this API in Android and in PHP
Fill the Google Maps key in "mobileapp_api/app/lib/variables.php"
//Google Maps define('GOOGLE_MAPS_KEY', '');
Make sure to enable this API in Android and in PHP
Step 1 - Get twilio keys by Create an account on twilio and buy a number as well which is required for the Programmable SMS You can find the API KEY and auth token in: twilio.com
Step 2 - You have to allow geo permissions for sending sms Click here
Fill the Twilio ACCOUNT ID , AUTH TOKON and PURCHASED NUMBER which twilio has provided you in "mobileapp_api/app/lib/variables.php"
//Twilio define('TWILIO_ACCOUNTSID', ''); define('TWILIO_AUTHTOKEN', ''); define('TWILIO_NUMBER', '');
Step 1 - you need to create your project first Console Firebase Google
Step 2 - You can find the API KEY in: (gear-next-to-project-name) > Project Settings > Cloud Messaging
Step 3 - You have to put firebase real time database url FIREBASE_URL example "https://foodies-abcd.firebaseio.com/"
Fill the Firebase push notification server key which google firebase has provided you in "mobileapp_api/app/lib/variables.php"
You have to change the database permissions
//Firebase define('FIREBASE_PUSH_NOTIFICATION_KEY', ''); define('FIREBASE_URL', '');
Step 1 - For getting payments you have to setup stripe follow screenshort
Fill the Stripe STRIPE_API_KE which twilio has provided you in "mobileapp_api/app/lib/variables.php"
//STRIPE define('STRIPE_API_KEY','');
Before getting started, please make sure your web server meets all the requirements:
*Note you have to open your api url http://domain.com/foodies/mobileapp_api
Note: All the steps mentioned above is explained in the above video clearly. Please go through the video and follow the steps.
Step 1 - You have to upload the admin panel files which we have provided in your downloaded package from codecanyon
Step 2 - Login in your hosting cpanel Navigate to File Manager and Create a folder "admin" and upload the admin.zip files , then extract it
Step 3 - For API configuration You have to edit config.php file which is located at "admin/config.php"
Step 4 - You have to put your Domain URL here "http://domain.com/" if you have SSL then you have to use this "https://domain.com/"
Now open admin panel through your domain http://domain.com/admin and use login admin@admin.com and password is 123456
*Note: Make sure your SQL File has been imported & Database Connection successfully works
Step 1 - Open Firebase project and add a new project project setting
Step 2 - For enable real time chat with rider you have to fill this setting "admin/config.php"
//Firebase real time db configration define('apiKey', 'Your apiKey here'); define('authDomain', 'Your authDomain here'); define('databaseURL', 'Your databaseURL here'); define('projectId', 'Your projectId here'); define('storageBucket', 'Your storageBucket here'); define('messagingSenderId', 'Your messagingSenderId here'); define('appId', 'Your appId here');
*Required: You can Purchase the rider app from here Purchase Now
Step 1 - You have to upload the rider panel files which we have provided in your downloaded package from codecanyon
Step 2 - Login in your hosting cpanel Navigate to File Manager and Create a folder "rider" and upload the rider.zip files , then extract it
Step 3 - For API configuration You have to edit config.php file which is located at "rider/config.php"
Step 4 - You have to put your Domain URL here "http://domain.com/" if you have SSL then you have to use this "https://domain.com/"
Now open admin panel through your domain http://domain.com/rider and use login rider@gmail.com and password is 123456
*Note: Make sure your SQL File has been imported & Database Connection successfully works
*Optional: You can Purchase the Restaurant Tablet app from here Purchase Now
Step 1 - You have to upload the restaurant panel files which we have provided in your downloaded package from codecanyon
Step 2 - Login in your hosting cpanel Navigate to File Manager and Create a folder "restaurant" and upload the restaurant.zip files , then extract it
Step 3 - For API configuration You have to edit config.php file which is located at "restaurant/config.php"
Step 4 - You have to put your Domain URL here "http://domain.com/" if you have SSL then you have to use this "https://domain.com/"
Step 5 - You have to put your google map key
Now open admin panel through your domain http://domain.com/restaurant and use login scoma@gmail.com and password is 123456
*Note: Make sure your SQL File has been imported & Database Connection successfully works
In order to start configuring , you need to install Android studio and the 'Java SE Development Kit'. First download the android studio from here Android Studio
The installer , as also shown in the video should automatically download and install all required components . if you want to do manual setup , download at least the following components using the SDK manager
You can download these SDK , if not installed already , using the SDK manager SDK Manager After you're done, you can open Android Studio and continue.
To import the template, simply open Android Studio and import/open the template. Make sure to wait for all the processes (the Gradle Build) to complete before continuing to the next step
Addition steps Sometimes, the Gradle Build fails. In some cases additional components are needed, Android Studio will ask you to do download these additional SDK components in the 'messages' tab, simply follow the instructions provided to install and download the additional components.
Above is illustrated how you can change the name of the application.
Above is illustrated how you can change the Colors of the application.
You can change your apps colors to create a custom look. The primary color is the color of the Toolbar, some buttons and headers. The primary dark color is used for e.g. the status bar. get more color from here material.io
Above is illustrated how you can change the Theme of the application.
Now we need to put a png file with your icon named 'ic_launcher.png' in the following folders:
this URL will help you resize your images or event create new icon to your app Launcher Icon Generator
baseURL should be "http://domain.com/mobileapp_api/api/" and imgBaseURL should be "http://domain.com/mobileapp_api/"
Add all the application in one firebase project and keep in mind google json file should be download after you add the app into firebase.
Before going to next you have to learn about the Sh1 key for both debug and release. if you are in the development mode then you will use the debug sh1 key but when you going to publish the app on playstore then you will have to use the sh1 key of Release key
To get realese sh1 contains two step.
Step1: you will generate your own app signing key Create signing key
Step2: Get the Sh1 key of app signing key
Get the Sh1 key. Run the below command on Command Promt
Follow the steps
If you are see this screen that means you have the SS1 keys
If you already have keys then you have to follow the phone number login step
Make sure you have add the firebase firbase first then you project on Google Api console will automatically show, means you don't need to create the project on Google api console if you created the firebase project
Here is the Helping video for setup facebook login
Go to "facebook Developer" the link is given developers.facebook.com and Create a new app
Go to "facebook Developer" the link is given developers.facebook.com and Create a new app
Then Go in Setting > Basic Fill privacy policy and application nature/cateogry and press save
Then Go in Setting > Basic Add development palatform
Then Go in Setting > Basic > development palatform Select Android
Follow screenshort
Follow screenshort
Follow screenshort
Copy APP ID Follow screenshort
Follow screenshort
Copy APP ID & APP Secret Follow screenshort
Follow screenshort
Package Name is com.dinosoftlabs.Foodies
Default Activity Class Name com.dinosoftlabs.Foodies.Accounts.Login_A
Give the App Id and App secret in firebase Authuntication
Generate KeyHash Follow screenshort
Follow screenshort
Here is the Helping video for setup google login
If your app is publish into the playstore then you have to make a seprate google auth client id.
the ways of gmail release key same like as we create for debug. The only difference is in release mode we get and use SH1 key from google playstore and create a new OAuth client Id
if you want to disable facebook or google login button you have to hide the mentioned View/Button just add android:visibility="gone"
You have to delete the table "tax" in from database follow the screenshort
After that you have to add tax info from your admin panel where you will see list of countries , you can select in which you want to setup follow the animiated picture you will see look like this
Note if you are using our demo database you have to follow this step for avoid app crash
after add tax you have to see whats the tax id that you added from tax page and just replace that tax id in resturent table
Yes app is in native coding
it will work on PHP 7.0
We are using mysql database
Yes Test/Demo Data are inlucded in the package
Yes We are using these Thrid party services listed below
Yes It has Three (Super portal , Rider , Restaurants) as well which is in HTML/CSS and connected with datbase via PHP API
Yes it has Documentaion about android , web api setup , admin panel setup , firebase push notification setup
We are using cakePHP 2.7.8
No its only support English language
No we will not do any help to setup API/server/3rd party services
Yes we do but there will be an extra cost , contact us on our email hello@qboxus.com
If you see white page please make sure that your php version should be 7.0. you can change php version 7.0 by going into your hosting cpanel
I'd like to thank you again for your purchase and I hope you where able to successfully install the app and using it in your future business . If you need support or have some questions. You can visit our support resources here at hello@qboxus.com
What support does include