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:

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

Web API configuration

installing Advilla 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_HOST', '');
define('DATABASE_USER', '');
define('DATABASE_PASSWORD', '');
    								

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

*Note you have to open your api url http://domain.com/mobileapp_api

Note: All the steps mentioned above is explained in the above video clearly. Please go through the video and follow the steps.

Admin Panel configuration

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

Android configuration

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

SDK Manager

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

  • SDK tools
  • SDK platform Tools
  • SDK Build Tools
  • Google Play Services
  • Android Support Library
  • Google Repository
  • Google USB Driver

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.

Importing Android Project

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

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.

Change Bundle ID

Change App Name

Above is illustrated how you can change the name of the application.

Change Color Scheme

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

Change Theme of Application

Above is illustrated how you can change the Theme of the application.

Change App icon

Now we need to put a png file with your icon named 'ic_launcher.png' in the following folders:

  • res/drawable-mdpi - with a size of 48px x 48px
  • res/drawable-hdpi - with a size of 72px x 72px
  • res/drawable-xhdpi - with a size of 96px x 96px
  • res/drawable-xxhdpi - with a size of 144px x 144px

this URL will help you resize your images or event create new icon to your app Launcher Icon Generator

Firebase Configuring

Change Firebase Db Rules

Debug and release Key

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

Debug Key

Method 1 How to get the SH1 key for the published app (Signed or 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

keytool.exe -list -v -alias {alies name you set according to above toturial "key0" is the alies name} -keystore "{file adress of the key}" -storepass {password} -keypass {password}

Method 2 How to get the SH1 key for the published app (Signed or release key)

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

Facebook Login

You have to follow the steps

Here is the Helping video for setup facebook login

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 Android

Step 6

Follow screenshort

Step 7

Follow screenshort

Step 8

Follow screenshort

Step 9

Copy APP ID Follow screenshort

Step 10

Follow screenshort

Step 11

Copy APP ID & APP Secret Follow screenshort

Step 12

Follow screenshort

Below related to Step 5

Package Name is com.qboxus.advilla

Default Activity Class Name com.qboxus.advilla.Splashscreen

Give the App Id and App secret in firebase Authuntication

Step 13

Generate KeyHash Follow screenshort

Step 14

Follow screenshort

Google Login configuration

Here is the Helping video for setup google login

Step 1

Step 2

Step 3

Step 4

After publish app on Google Play Store

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

FAQ

App Develope in native or not?

Yes app is in native coding

Which PHP version?

it will work on PHP 7.0

Which Database You are using?

We are using mysql database

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

Yes Test/Demo Data are inlucded in the package

Does it have Admin panel

Yes It has Three (Super portal) 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

Which framework we are using for API

We are using cakePHP 2.7.8

Does it support other languages (RTL)

No its only support English language

API/Server/3rd party services setup will be free?

No we will not do any help to setup API/server/3rd party services

Do you provide customization?

Yes we do but there will be an extra cost , contact us on our email hello@qboxus.com

Thank you & Support

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
  • Answers to (technical) questions about the item's features
  • Assistance with reported bugs and issues
  • Answers to questions about importing and setting up the item as is described in the docs.
Please note that support does not include:
  • Customization & adding new features
  • Installation Services
  • Support for 3rd party software and/or plugins
  • Content related rejections and violations from Google
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