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.2 between 7.3 and it will work on any kind of hosting packages

Premium Features

  • Ebook - Any user can read books and magazines
  • Paid books & magazines : User have to pay price and read the books or magazines

For Premium features, contact us on skype support@divinetechs.com

Server Requirements

We have added some advanced functions to our product. We try to keep our product simple.

  • Php 7.2 to 7.3
  • Curl should be enabled
  • memory_limit should be 500M View Attachment
  • upload_max_filesize should be 200M
  • max_execution_time should be 100M
  • post_max_size should be 100M

If you face any issue in book upload or it takes time in uploading video to server that might be because of your server. Sometimes server gives this error if you check your error log file

Allowed memory size of 33554432 bytes exhausted (tried to allocate 15756752 bytes)

If you see this error then you would need to upgrade your server or increase Php memory limit by going into php.ini file. you need to google about where this file is. This file resides in different locations in different servers

Step 1

Increase your upload limit

One last thing you need to do is increase your post_max_size and upload_max_filesize.

Note: We have tested this on VPS. Terminal we accessed from whm.

Android Configuration :

In order to start configuring , you need to install Android studio (version 1.4.2) and the 'Java SE Development Kit'. First download the android studio from hereAndroid 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.

*Note: After successfully installing the Android Studio please make a sample app project to install necessary files into computer by android studio.

Import Android Project

To import the app, 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

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 App Name

Here is the helping video to change your app name.

OR

Below is illustrated how you can change the name of the application.
Go to app -> res -> values -> strings.xml

Change Package Name

Here is the helping video to change your app's package name.

Change Color Scheme

Here is the helping video to change your app's color scheme.

OR

Below is illustrated how you can change the color of the application.
Go to app -> res -> values -> colors.xml

Change Theme of Application

Here is the helping video to change your app's theme.

OR

Below is illustrated how you can change the theme of the application.
Go to app -> res -> values -> styles.xml

Change App icon

Here is the helping video to change your app's icon.

OR

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

Go to project location -> Source code -> YourAppName -> app -> src -> main ->

  • 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
  • res/mipmap-xxxhdpi - with a size of 192px x 192px

This URLs will help you resize your images or event create new icon for your app MakeAppIcon

Change Splash Screen

Here is the helping video to change your app's splash screen.

OR

We need to put a png file with named 'splash.png' in the following folder:

Go to project location -> Source Code -> YourAppName -> app -> src -> main -> res -> drawable

Change Purchase Code

Below is illustrated how you can change the purchase code in app code.
Go to app -> java -> com.packagename.appname -> Util -> Constant

Below is illustrated how you can change the purchase code in admin panel.

Setup AdMob

For Ad Mob setup you need ad mob id's which you get from your ad mob account. If you have no ad mob account then go to this
Google AdMob make an account, get id's and paste in app and admin as metioned below.

Click on app -> res -> values -> ads.xml

Follow below image to add id's in your admin.

Setup Facebook Ads

For Facebook ad setup you need placement id's which you get from your facebook audience network account. If you have no facebook audience network account then go to this
Facebook Audience Network make an account, get id's and paste only in admin as metioned below.

Remove AdMob Ads and Facebook Ads

If you want to remove ads just set the value "No" in ADMOB section and "OFF" in FACEBOOK ADS section, as mentioned below screenshots.

Payment Gateway set-up

Here is the helping video for Payment Gateway set-up.

OR

Get keys and IDs of respective payment gateways, as mentioned below screenshots and those keys in your admin panel as mentioned in above video.

PayPal

If you have no accounts in PayPal, thenCreate PayPal account and get the client Id.

You can get the client ID and secret key from below images.

FlutterWave

If you have no accounts in FlutterWave, thenCreate FlutterWave account and get the public and encryption key.

You can get the public and encryption key from below image.

PayUMoney

If you have no accounts in PayUMoney, thenCreate PayUMoney account and get the merchant Id and merchant key.

You can get the merchant ID, Key and Salt from below image.

Paytm

If you have no accounts in Paytm, thenCreate Paytm account and get the merchant Id and merchant key.

You can get the merchant ID and account Secret Key from below image.

Razorpay

If you have no accounts in Razorpay, thenCreate Razorpay account and get the API Key.

You can get the Api key from below image.

In-App Purchase set-up

Here is the helping video for In-App purchase setup.

OR

Follow below steps to make product Id for In App Purchase

Firebase-OneSignal Configuration

Here is the helping video for setup Firebase-OneSignal Configuration.

Debug and release Key

Here is the helping video to generate debug & signed(release) key.

OR

Before going to next you have to learn about the SHA1 key for both debug and release. if you are in the development mode then you will use the debug SHA1 key but when you going to publish the app on play store then you will have to use the SHA1 key of Release key.

First you will check your android studio version. Here I mentioned how you can check.
Go to Help -> About

If your current android studio version is less than or equal to 4.1.1 then you will follow step 1 otherwise you will follow step 2 to get debug SHA1 key..

Step 1

Step 2

Go to File -> Settings

How to get the SHA1 key for the published app (Signed or release key) and How to add in firebase console.

Go to Google Play Console and follow the steps.

Copy "App signing key certificate SHA1" and "Upload key certificate SHA1" from above images and add one by one in firebase console and follow below image steps.

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

To get realese SHA1 contains two step.

Step 1 : you will generate your own app signing key Create signing key

Step 2 : Get the SHA1 key of app signing key

Get the SHA1 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 address of the key}" -storepass {password} -keypass {password}

Facebook Login Configuration

Here is the helping video for setup facebook login.

Google Login Configuration

Here is the helping video for setup google login.

OR

You can follow the steps

Step 1

Open yourFirebase console where you have create your app.

Follow the steps.

Step 2

Follow the steps to get debug SHA1 key from your project add in Firebase console.

You can refer "Google login video" OR "Firebase Configuration" to add "google-services.json" file in project after downloading latest file from below image.

Step 3

To get "Client ID" and "Client secret".

Go toGoogle Sign-In for Android and follow the below images.

Step 4

Add "Client ID" and "Client secret" in your project.
Go to app -> res -> values -> strings.xml

Firebase OTP Login Configuration

Here is the helping video for setup google login.

Generate Debug Apk

Here is the helping video to generate debug apk file.

OR

Below is illustrated how you will get the debug apk.

You have to follow the steps

Generate Release Apk

Here is the helping video to generate signed(release) apk file (.aab file).

OR

Below is illustrated how you will get the signed/release apk.

Or you can follow Sign your app on developer site.

You have to follow the steps

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.2 between 7.3
  • MySQL extension (enabled on all hosts by default)

Step 1 - Upload the Servercode files which we have provided in your downloaded package from codecanyon

Step 2 - Login in your hosting cpanel Navigate to File Manager , upload the Servercode , then extract it

Step 3 - For Database edit datbase.php file which is located at "application/config/datbase.php"

if you dont have htaccess file?

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


<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>

SQL Database Setup

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

Step 2 - edit datbase.php file which is located at "application/config/datbase.php"

Fill the database details in "application/config/datbase.php"

	'hostname' => 'localhost',
	'username' => 'root',
	'password' => '',
	'database' => '',

    								

Step 3

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

Step 4

  • Edit the file "database.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

Promotion Setup

Step 1

Add your Purchase code settings in your Admin Panel and clikc on Settings > Purchase Code Menu

Add your purchase code and package name [Where Is My Purchase Code?]

Step 2

Add App Basic Setting on Admin panel

Side menu click on Settings > Settings and update your basic info for your application

Step 3

Add Your ADMOB Setting on Admin panel

Side menu click on Settings > Ads setting and update your ADMOB setting from admin panel

Step 4

Add Your Facebook Ads Setting on Admin panel

Side menu click on Settings > Ads setting and update your Facebook Ads setting from admin panel

Step 4

Add Your Notification key from Admin panel

Side menu click on Notifications > Notification setting and update your Notification key from admin panel [Where Is My Onesignal Key?]

FAQ

App Develope in native or not?

Yes app is in native coding

Which PHP version?

it will work on PHP 7.2 or more then 7.3

Which Database You are using?

We are using mysql database

Does it have Admin panel

Yes It has admin panel as well which is in PHP and connected with datbase

Does it have Documentation

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