Get Started

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 .

Must Read this:

After purchase if you run the project and test the build in phone it will not work becuase you have to setup the Web API first then app will be works fine.

Web API is in PHP 7.0 and it will work on any kind of hosting packages

Recommended Hosting (Free Life Time Support)

Customers who host their files with hostrever.com will receive free support for life

Why free support?

Having a hosting platform that our support team is familiar with makes it easier for them to assist you

Web API Configration

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 constant.php file which is located at "mobileapp_api/app/Config/constant.php"

SQL Database Setup

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 constant.php file which is located at "mobileapp_api/app/Config/constant.php"

Fill the database details in "mobileapp_api/app/Config/constant.php"

define('DATABASE_USER', '');
define('DATABASE_PASSWORD', '');
define('DATABASE_NAME', '');
									

PostMark Setup

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/Config/constant.php"

//PostMark
define('POSTMARK_SERVER_API_TOKEN', '');
define('SUPPORT_EMAIL', '');
									

Firebase Setup

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://freshly-abcd.firebaseio.com/"

Fill the Firebase push notification server key which google firebase has provided you in "mobileapp_api/app/Config/constant.php"

You have to change the database permissions

//Firebase
define('FIREBASE_PUSH_NOTIFICATION_KEY', '');
define('FIREBASE_URL', '');
									

Stripe Setup

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/Config/constant.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/grocery/

Admin Panel Configration

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

Firebase Configration

Step 1

Open link on Web Brower: https://firebase.google.com/ then Open such Page and then Click on “Get Started”

Step 2

Click on Add Project

Step 3

Write down name of the project here and then click on Continue

Step 4

Click on the continue

Step 5

Check the inbox that are unchecked and click on Create project

Step 6

Now project Created on Firebase

Step 7

Now select your platform

Step 8

Enter your iOS app bundle identifier, enter your App nickname and click on register

Step 9

Now download your "GoogleServices-info.Plist"

NOTE:

Save this Info.plist after successfully created project, then drag & drop this Info.plist in your Xcode project

Step 10

Click on Next

Step 11

Click on Continue Console.

Step 12

Select Realtime Database and click on Create Database

Step 13

Click on Next

Step 14

Select 'Start in test mode' and then click on Enable

Step 15

Now select Realtime Database > Rules

Step 16

Replace the whole code with this
{ "rules": { ".read": "true", ".write": "true" } }

Step 17

Click on Publish

NOTE:

Now your configuration done with firebase

Facebook Login Configuration:

You have to follow the steps

Step 1

Open this url on your browser https://developers.facebook.com/ and click on MyApps

Step 2

Click on Create App

Step 3

Select the options Something else and Continue

Step 4

Enter your App name and provide your Email and click on Create app

Step 5

Select your platform

Step 6

Just click on next

Step 7

Open your Xcode and copy the bundle identifier and Paste their and Click on Save and press Continue

Step 8

Open your Xcode and copy these code ( show on Point 2 and Point 6) and paste into Info.Plist

How to get Info.Plist

Open Xcode and at left side of your Xcode you will get file named Info.Plist

Right click on info plist such dialogue appear ,Select Open as -> Source code

Paste the copy code (Step 8) above < / dict >

Step 9

Open Xcode, Select Info.Plist find Facebook Id and copy its Value

Step 10

After copy the Facebook Id Value follow the shown Order in Screenshot find URL Schemes (there will two URL Schemes One of them is for Facebook Id and second one is for Google's REVERSED_CLIENT_ID So don't paste it on both places) and paste the Facebook Id Value there

Google Login Configration

Step 1

Open this url on your browser
https://developers.google.com/identity/sign-in/ios/start-integrating

Step 2

just scroll down main page and click on create an OauthID

Step 3

click on create project

Step 4

Write down the name of your project

Step 5

Add the product name

Step 6

Select platform

Step 7

Select iOS

Step 8

Copy project Bundle identifier and past here and click on create

Step 9

Click on Download Client Configuration and save it and drag drop to project also copy Client ID

Step 10

Open project and select GoogleServices-info.Plist

Step 11

Select and Copy REVERSED_CLIENT_ID's Value under green line

Step 12

After copy the ID Scroll Down and Find URL Schemes

Step 13

And paste the ID in URL Schemes "In the circle"

Step 14

Copy the REVERSED_CLIENT_ID's as shown in Step 11 and paste it in AppDelegate.swift in Xcode as shown in Screenshot under greenline





Google Map Services Configurations

Follow the instructions for configurations

Step 1

Click on App Name then write keys in filter

Step 2

After that you will find the keys.swift as shown in screenshot, select that file

Step 3

Now you can paste your API Key at Googl_API_Key as shown in Screenshot

xCode Configration

Follow the instructions for configurations

Step 1

Step 2

Step 3

Step 4

Step 5

Step 6

Step 7

Step 8

How to Change App name

Step 1

Click on App name

Step 2

Select Name from Identity and Type and write your Desired Name & press Enter

Step 3

After that a popup view will show and ask for confirmation, press Rename

Step 4

Then press Continue , and App Name Will change succesfuly

How to get Bundle Identifier

Click on AppName Select AppName from TARGETS and then Signing & Capabilities after that Change Bundle Identitier and Press enter

How to Setup API URL

Just go there ApiHandler.swift file and Change BASE_URL with your URL and API_KEY with your API

Are you facing any issues setting up the app? Our expected response time is 24 to 96 hours Mon-Fri (9AM - 6PM) GMT+5, Submit A Ticket