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.
The Application Package you have downloaded Contain following files
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.
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.
In Xcode Project, Locate Constants.h under FoodDelivery
In link replace url with your admin panel url.
Click on Burger King --> General tab
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.
To Localize app in your language, Follow the steps
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.
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:
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.
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.
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.
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.
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 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..