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 .
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
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
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.
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
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.
Below is illustrated how you can change the name of the application.
Go to app->res->values->strings.xml
Below is illustrated how you can change the color of the application.
Go to app->res->values->colors
Here is the helping video for Changing the App icon
Before changing the App icon you should ready your App icon into PNG format.
We need to put a png file with named 'ic_splash' in the following folder:
Go to project location->app->src->main->res->drawable
Open your API URL and copy the Android Config code "http://domain.com/mobileapp_api/" and replace with the code that we highlight in screenshot.
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
URL: https://admob.google.com/home/ make an account, get id's and paste in app as metioned below.
if you did not change the firebase rules some of the app functions will not work like chat or save/change pictures.
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.
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 SHA1 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
Follow the steps
If you are see this screen that means you have the SHA1 keys
If you already have keys then you have to follow the phone number login step
Go to "facebook Developer" the link is given developers.facebook.com and Create a new app
Go to "facebook Developer" the link is given developers.facebook.com and Create a new app
Follow screenshort
Follow screenshort
Follow screenshort
Follow screenshort
Follow screenshort
Go to "Hex to Base64" the link is given Hex to Base64 and Create a Keyhash.
For Keyhash you have to enter SHA1 key in the Hex* section. And then click on Convert Hex to Base64 button.
When you publish the app on playstore you have to add another Keyhash in facebook developer account. For getting that keyhash you will get release SHA1 key from playstore (which we have already mentioned in Debug and Release key section) and paste that release SHA1 key into Hex* section and after pasting copy the keyhash and paste into facebook developer console.
Copied Web Client ID key Paste in the below ScreenShoot
if you want to disable facebook or google login button you have to hide the mentioned View/Button just add android:visibility="gone"
Installing DNews 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:
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"
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>
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', '');