"Food Delivery for multiple restaurant with delivery boy IPhone application Documentation by "FreakTemplate""

Food Delivery for multiple restaurant with delivery boy IPhone application

Contact Information

Email : [email protected]

Skype : freaktemplate

Whatsapp : +918200438788

Thank you for purchasing this template, stay in touch and you can get benifits :

1. you can contact us if you have any trouble while setup template.

2. in future you can get update news 

3. If you require any customisation

4. We also sell few products which is not available on code canyon,

This Document will cover the following topics.

Table of Contents

  1. Purchased Package Contents
  2. How to import IOS Project ?
  3. Change Backend URL
  4. Show Hide Admob Advertisement
  5. Admob Integration : Change Admob ID
  6. Change Package Name
  7. How to Reskin Application
  8. Translate App in your language
  9. Setup Admin Panel (backend)
  10. How to setup Facebook Login ?
  11. How to setup Google Login ?
  12. How to create push certificate ?
  13. How to setup firebase ?

1. Purchased Package Contents top

The Application Package you have downloaded Contain following files

2. How to import IOS Project ? top

You can install the CocoaPods tool on OS X by running the following command from the terminal.

$ sudo gem install cocoapods

Open a terminal and cd to the directory containing the Podfile.

$ cd /project/

Run the pod install command. This will install the SDKs specified in the Podspec, along with any dependencies they may have.

$ pod install

Open your app's .xcworkspace file to launch Xcode. Use this file for all development on your app.

3. Change Backend URL top

In Xcode Project, Locate Constants.h under FoodDelivery

In link replace url with your admin panel url.

4. Show Hide Admob Advertisement top

  • To show and hide admob advertisement, Follow the below steps.

    In Xcode Project, Locate Constants.h under FoodDelivery


    To show ads Change the value to YES (see screen shot)


    To show ads Change the value to NO (see screen shot)

  • 5. Admob Integration : Change Admob ID - top

    You need two Admob ids

  • 1. Banner Ads and
  • 2. for Full page Ads

    In Xcode Project, Locate Constants.h under FoodDelivery

    set your admob id here in BannerID and InterstitialID for Banner and Interstitial respectively.

  • 6. Change Package Name top

    Click on fooddelivery --> General tab

    8. How to Reskin Application top

    Change Icon

    Open makeappicon website and upload 1024 pixel icon,

    download converted icon from your email. you will receive AppIcon folder.

    Now open images.xcassets folder and remove old AppIcon and drag and drop new.

    Change Images

    9. Translate App in your language top

    To Localize app in your language, Follow the steps

  • 1. From Left navigation bar select project StoreFinder.
  • 2. Now Scroll down to localizations section in info.plist.
  • 3. Click (+) plus icon add choose you language

  • when below pop up open only select localizable.strings

  • In Left Navigation bar you will find Localizable.strings(English). Copy all words and paste in your file and change the meanings.

  • 10. Setup Admin Panel (backend) top

    11. How to setup Facebook Login ? top

  • 1. Browse https://developers.facebook.com click Add New App add Name, email and continue.

  • 2. Go to Settings --> Basics --> Add Platform --> Select Android

  • 3. Copy Package Name from build.gradle file, set in field Google Play Package Name

  • 6. Now copy app id from facebook app page and set into info.plist file FacebookAppID.

  • 12. How to setup Google Login ? top

    Goto google firebase --> Click on GO TO CONSOLVE--> Add Project --> add Name & select country.

    Click on add firebase to ios app

    Step 1 : Add your bundle identifier --> register app

    Step 2 : Download googleService file and add into xcode under Supporting Files

    Step 3 : skip

    Step 4 : Finish

    Now open GoolgeService-info.plist copy CLIENT_ID and set into Constants.h file GClientID

    Now open GoolgeService-info.plist copy REVERSED_CLIENT_ID and set into info.plist in URL types.

    11. How to create push certificate ? top

    Configuring Your Apple Developer Account

    Credit to www.appcoda.com for this tutorial

    The first step is to have a paid Apple developer account. Yes, you need to enroll into the Apple Developer Program ($99 per year) to unlock the push notifications capability.

    Assuming you already got a paid developer account, go ahead and login to your Apple Developer account. Once logged in, you will be re-directed to the Apple Developer homepage. From there, you should see “Account” at the top navigation bar. Click that option.

    Now you should be inside of your Apple Developer account.

    Now look to the left side bar. The third row should say “Certificates, IDs & Profiles.” Select that option.

    Now you are in the “Certificates, Identifiers & Profiles” page.

    Look to left side bar and there should be a section called “Identifiers.” Under that section, there is a link that says “App IDs.” Press that.

    a link that says “App IDs.” Press that.

    You should see all your iOS App IDs.

    Now at the top right, you should see a + button. Press that. After that, you should be at this stage:

    We now need to fill out the followings:

    • App ID Description - Name. Here, you should put your app’s name (e.g. Firebase Notification Demo)
    • App ID Suffix - Explicit App ID . Here, you need to select a unique bundle identifier for your app (e.g. com.appcoda.firebasenotificationsdemo). Please make sure you use your own bundle ID instead of using mine.

    Then under App Services, tick “Push Notifications.” Press continue.

    After that, you will be redirected to a “Confirm your App ID” page. Press register.

    Now we are back to our “iOS App IDs” page. Look for the App ID you just created. Press on it and you should see a a drop down of Application Services.

    Scroll down until you reach the end of the drop down and you should see an “Edit” button. Press that.

    The “iOS App ID Settings” page will show up.

    Scroll all the way down until you see “Push Notifications.”

    It is time for us to create a “Client SSL Certificate.” This will allow our notification server (Firebase) to connect to the Apple Push Notification Service. Under Development SSL Certificate, press on the “Create Certificate…” button.

    Now we will see this.


    To generate a certificate, we would need a Certificate Signing Request (CSR) file from our Mac. We will get back to this page later, but now we need the CSR file.

    Generating a CSR file

    To generate a CSR file, press cmd + space and do a spotlight search for “Keychain Access.” Open Keychain Access, and go up to the menu to select Keychain Access > Certificate Assistant > Request a Certificate From a Certificate Authority…

    A “Certificate Assistant” pop up should appear.

    Fill in your email address and name. Choose “Saved to disk” and press Continue. Then save your CSR somewhere on your hard drive.

    Uploading Your CSR File

    Now that we have our CSR generated, it is ready to go back to the “Add iOS Certificate” page.

    Scroll down. Press continue, and then click “Choose file…” Select the CSR file you just saved on your hard drive.

    Next, click continue again. Then the web page should say “Your certificate is ready.”

    Now you can go ahead and click on the blue download button to download your certificate.

    Preparing the APNs Certificate

    Now that you have created the iOS certificate, we will then prepare the APNs (short for Apple Push Notifications) certificate, which will be used later in the Firebase configuration. Open up Finderand locate the certificate you downloaded earlier.

    Double click the certificate file (e.g. aps_development.cer) to add the certificate into Keychain Access.

    Now open up Keychain Access. Under the “My Certificates” category, you should see the certificate you just added. It should be called:

    Apple Development IOS Push Services : <your.bundle.id>

    Click the expand arrow to the left of the certificate’s name to reveal the private key option. Right click on the private key and press export.

    Once clicking Export, a pop up will prompt you to save your private key as a .p12 file. Go ahead and click save.

    Then enter a password if you want to protect your exported certificate. Click OK to confirm.

    Awesome! We just completed the configuration and preparation. Now we are ready to move onto Firebase! Let’s get started.

    12. How to setup firebase ? top

    First, head over to Firebase console. Sign in with your Google account to enter the console. If you don’t know how to switch to the console, there is a button at the very top right that says “Go to console.” Go ahead and click on that.


    Once you are at the console, click on the “CREATE A NEW PROJECT” button.


    I name my project “Firebase Notification Demo” but you’re free to use other names. Simply click the “CREATE A NEW PROJECT” button to proceed.

    After that, you are redirected to the project overview page. Now click the “Add Firebase to your iOS” button. Enter your iOS bundle ID. Then click the “ADD APP” button.

    Follow the on-screen instruction to download the GoogleInfo.plist file.

    Add GoogleInfo.plist file into xcode project. make sure you add exact place. when add also select Destination and Target as per below image.

    Click “continue” to go to the next step. You will see instructions showing you how to add the Firebase SDK into our project. I will walk you through how to configure the SDK later. For now, just ignore and click “Continue” to proceed.

    Finally click “Finish” to complete the configuration. You should then see your iOS app in the Firebase overview page.

    Look for the setting icon at the top right. Click the settings icon > Project settings.

    Select the Cloud Messaging tab.


    Scroll down, and click the “Upload Certificate” button.

    Then a pop should appear to ask you for your Development APNS certificate.

    Click browse and choose your APNs certificate (i.e. .p12 file) that you prepared in the earlier section. If you configured the file with a password, enter certificate password, followed by clicking the Upload button.

    Now you should see a Development APNs certificate file in the Cloud Messaging setting.

    ok its almost done now, go to Cloud Messaging setting and copy your server key.

    Now Open your admin panel

    Open Notification section from side menu

    Click on firebase key

    In ios firebasekey paste server key and save


    Now you can test push notification..