hostrever

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 5.6 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

xCode Configration

Follow the instructions for Xcode iOS

  • Open the terminal window in the project directory and type: pod install (cocoapods must be installed on you mac: https://cocoapods.org/)
  • Open project in XCode using Foodomia.xcworkspace file
  • Rename project (I recommend: do not change the FoodomiaApp folders name and Project name). How to rename the project - there are many ways. I use - http://stackoverflow.com/a/35500038
  • Configure App config (AppDelegate.swift). Follow the images
  • Run App for test.


Bundle Identifier and App Name (edit the data on the selected image)


Open and edit staticdata.swift (edit the data on the selected image)

We recommend: do not change the FoodomiaApp folders name and Project name

Brige Header File issue

Drag your Bridge Header File into Obj C Bridge Header File like as screen shot

Firebase Configration

Follow the instructions for google json file and also for setup push notifications



You have to create your project first


For download google service plist file you have to go in project settings

For enable push notifications you have to add certificate file for development and production

Change Firebase Db Rules

Facebook Login

You have to follow the steps

Step 1

Go to "facebook Developer" the link is given developers.facebook.com and Create a new app

Step 2

Go to "facebook Developer" the link is given developers.facebook.com and Create a new app

Step 3

Then Go in Setting > Basic Fill privacy policy and application nature/cateogry and press save

Step 4

Then Go in Setting > Basic Add development palatform

Step 5

Then Go in Setting > Basic > development palatform Select iOS

Step 6

put your Bundle id here

Step 7

You have to download the SDK from here and follow the documentation developers.facebook.com

Step 8

Follow screenshort

Step 9

Copy APP ID Follow screenshort

Below related to Step 5

You have to submit your application for review to facebook to enable 2 permission Date of birth & Gender by following this link How can i submit?

Phone Login Configration

For "login with phone number" you have to enable the settings from firebase

Google Login Configration

Step 1

Go in project setting and download the google service plist file and add in your iOS project

Step 2

Open AppDelegate.swift file and put the client ID there copy from google services plist file

Step 3

Put the Reserved Client ID here copy from google services plist file

Web API Configuration

installing Tictic PHP API is an easy process and we will guide you through it .

Before getting started, please make sure your web server meets all the requirements:

  • Latest PHP Version 7.0
  • MySQL extension (enabled on all hosts by default)

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

if you dont have htaccess file?

Make sure .htaccess file exist in the directory mobileapp_api/. If not then create the file .htaccess and copy the below code in it


<IfModule mod_rewrite.c>

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php [QSA,L]

</IfModule>

SQL Database Setup

Step 1 -Import the SQL file which we have provided in your downloaded package from codecanyon

Step 2 - 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_HOST', 'localhost');
                                        define('DATABASE_USER', '');
                                        define('DATABASE_PASSWORD', '');
                                        define('DATABASE_NAME', '');
                                    

Step 3

  • Create Database in mysql databases ( in cPanel ) with the name of "Tictic" you can write what ever you want
  • Create a new user
  • Assign that user to database

Step 4

  • Edit the file "constant.php" and update the Database information that you setup above
Note: All these steps have been mentioned in the video. If you do not understand anything please follow the video

Twilio Setup

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

//Twilio
                                                        define('TWILIO_ACCOUNTSID', '');
                                                        define('TWILIO_AUTHTOKEN', '');
                                                        define('TWILIO_NUMBER', '');
                                                    

Admin Panel Configuration

  • You have to open your API URl and copy the code from here Click Here and paste it in your portal/config.php

FAQ

App Develope in native or not?

Yes app is in native coding

Which PHP version?

it will work on PHP 7.0 or more then 7.0

Which Database You are using?

We are using mysql database

Does Demo Data included (Demo users like on our app)?

Yes Test/Demo users profiles are inlucded in the package

Does it have 3rd party services?

Yes , It has Firebase Thrid party for real time chat and send push notifications, Which is free but limited , after lot of users and usages you have to buy their packages there are have 3 packages Free , $25 monthly , Pay As you go See Firebase packages

Does it have Admin panel

Yes It has admin panel as well which is in HTML/CSS and connected with datbase via PHP API

Does it have Documentation

Yes it has Documentaion about android , web api setup , admin panel setup , firebase push notification setup

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