Introduction

Thank you for purchasing code. It really means a lot and It's our pleasure to serve top-notch service to you. Thank you so much for choosing WRTeam . If you have trouble with the code and documentation please contact to our Support Team Here.

Qearner Admin Panel

1. How to Install Qearner on Your shared hosting?

  1. Create your domain or subdomain With SSL certificate(https) in your shared hosting
  2. Create an empty database in your shared hosting and remember this credentials:
    i. database name
    ii. database username
    iii. database password
  3. Upload the source code you have downloaded from CodeCanyon and unzip it.
  4. Now navigate to the url where your project is located.
    ex. mydomain.com or subdomain.mydomain.com
  5. The installation screen should appear and guide you in the process.

Thats it! Now you are ready to run your first Qearner : https://quizdemo.wrteam.in

Default Login Details
User: admin
Pass: admin123

Notification Management

First Of all,we need to set the FCM server key from Firebase console

Set System Configurations

Set Configurations for you app. All the changes are maded here will directly reflect in the App

From here you can set System & App Timezone, App Play store or market place Link, Enable / Disable Answer Display, Language Mode, Option E Mode, Force Update App, Daily Quiz Mode, Contest Mode, Battle Random Category Mode, Battle Group Category Mode & In App Purchase. Manage App Version and Update Shareapp Text. Set fix Question in level

System Configurations

Set Privacy Policy

Set Privacy Policy for your website and app.

Set Terms Conditions

Set Terms Conditions for your website and app.

About Us Content

Set and manage your about us content for app.

7. Instructions Content

Set and manage your instructions content for app.

8. Configure Google Service Account

Generate a private key file for your service account:

  1. Open https://console.firebase.google.com/project/_/settings/serviceaccounts/adminsdk and select the project you want to generate a private key file for.
  2. Click Generate New Private Key, then confirm by clicking Generate Key
  3. Upload Json File

Qearner App

How to change app name?

  • Open Android Studio > app > res > values > strings.xml
  • Enter your app name inside "app_name" string tag:
    <string name="app_name">Qearner</string>
  • You can also change other string text here.

How to change the Privacy Policy?

  • Open Android Studio > app > res > values > strings.xml
  • Enter your Privacy Policy inside "term_privacy" string tag:
    <string name="term_privacy">By Logging / SigningUp in, you agree to our Terms of Service and Privacy Policy</string>
  • Use Same Word in your Languge in<string name="privacy_policy"> And <string name="terms">
  • If you Don't Use Same Word in your Language Application Will crash.

How to change the package name?

You can change it easily from Android Studio. Here are the steps:

  • In the Android pane, click on the little gear icon.Uncheck/Deselect the Compact Empty Middle Packages option.
  • Your package directory will now be broken up in individual directories.
  • Individually select each directory you want to rename, and: Right-click itSelect RefactorClick on RenameIn the Pop-up dialog.
  • Click on Rename Package instead of Rename Directory Enter the new name and hit RefactorAllow a minute to let Android Studio update all changes.
  • Now open your build.gradle (Usually 'app' or 'mobile'). Update the applicationId to your Package Name and Sync Gradle, if it hasn't already been updated automatically.
Note: When renaming com in Android Studio, it might give a warning. In such case, selectRename All.








How to set Admin panel url in Android and PHP

  • go to android >app >java > com.qearner.quiz > Constant.java

Create Firebase Project for Application.

  • We need Firebase project for Firebase PushNotification, Google Sign-In and Facebook Login.
  • here is steps for craete project.







Enable Realtime database in firebase console.

Authenticate Using Email and Password on Android With Firebase.

  • First of all we have to enable Google Sign-In method in firebase console.
  • Now open your project in firebase console.
  • In the Firebase console, open the Auth section.
  • On the Sign in method tab, enable the Email/password sign-in method and click Save.




Change Sender Name and Subject for verify email and reset Password.





Authenticate Using Google Sign-In on Android With Firebase.

  • First of all we have to enable Google Sign-In method in firebase console.
  • Now open your project in firebase console.



  • Do This setting for get SHA-1 KEY goto File ---> Setting ---> Experimental Unchecked below setting.
  • If you haven't yet specified your app's SHA-1 & SHA-256 fingerprint, do so from the Settings page of the Firebase console.



  • After you integrate Google Sign-In, your LoginActivity has code for login you don't have to add anything extra.
  • If you want to read code for google sign-in for android you can read here. Steps for Integrating Google Sign-In into Your Android App
  • Refer this video for Google sign-in.
  • Note
    There was three type of SHA-1.
    1. Debug SHA-1 : you can get this sha from your android stuido.
    2. Release SHA-1 : when you create keystore(.jks) file for generate sign apk. you can get release sha from your key store file. Use this Desktop App for get release sha from keystore file. KeyStore Explorer. Add this sha in your firebase project when you test realese apk.
    3. Sign SHA-1:You have add this sha when you publish your app on playstore. You can get this sign sha from your PlayConsole. Without Sign sha your google login not work when your app published on PlayStore.
    4. For App signing certificate go to > Play Console > Select your App > Release Management > App Signing

Authenticate Using Facebook Login on Android with Firebase.

  • first create project for your application , go to Facebook for Developers
  • Go to Facebook Quick Start Integrate the Facebook SDK
  • On the Facebook for Developers site, get the App ID and an App Secret for your app.
  • In the Firebase console, open the Auth section. Enable Facebook Login.
  • On the Sign in method tab, enable the Facebook sign-in method and specify the App ID and App Secret you got from Facebook.
  • Then, make sure your OAuth redirect URI (e.g. my-app-12345.firebaseapp.com/__/auth/handler) is listed as one of your OAuth redirect URIs in your Facebook app's settings page on the Facebook for Developers site in the Product Setting > Facebook Login config
  • Edit Your Resources and Manifest
    Create strings for your Facebook app ID and for those needed to enable Chrome Custom Tabs. Also, add FacebookActivity to your Android manifest.
  • Open your app >res >values >strings.xml file.
  • Associate Your Package Name and Default Class with Your App
  • Provide the Development and Release Key Hashes for Your App
  • To ensure the authenticity of the interactions between your app and Facebook, you need to supply us with the Android key hash for your development environment. If your app has already been published, you should add your release key hash too.
  • Generating a Development Key Hash
    1. We will use SHA-1 key to generate hashkey for facebook login.
    2. you can generate hash online. Here is external link for generate key has for facebook login.Key hash Genrate Link

  • Refer this video for Facebook Login.

How to Integrate Firebase Cloud Messaging in app?

  • Integrating Firebase Cloud Messaging
  • For FCM Notification first you have to register your application with firebase.
  • Create Firebase Project for Application. If you already created firebase project then you dont have to do that again.
  • Firebase dependency, service class and all nacessary class are already included in project.
  • So, you dont have to do extra code here.
  • Just download Google-service.json and replace with existing file.
  • Sending Messages from PHP Backend
  • Add Firebase Server Key in notification setting. Get server key from your firebase project and set in panel.


How to Remove Admob Ads open feature from Application?

  • go to android >app >java > com.qearner.quiz > helper >AppController.java
  • Remove below image line your admob ads open will removed.

Constant

How to change circular progress width, color, textSize etc?

  • We have two Indicator class in application CircleTimer.java and AudienceProgress.java.
  • Now Go to android > app> src > main > res > values > color.xml
  • Here you can set background color, progress color,width,strock width, text attributes and many more.
  • In dimen.xml ,we set circle's hight and width.


How to change Time , complete level configs, mark for correct and incorrect, textSize etc?


System Settings for Application.

  • Answer Display:= When User Give Wrong Answer You Can Enable and Disable Answer Show Or Not.
  • Language Mode:= Enable and Disable Language from admin panel.
  • Option E Mode:= Enable and Disable Opation E from admin panel
  • App Link:= You have to set Your Application Playstore Link.
  • More Apps Link := You Can set Your Developer Page link of Playstore.
  • Shareapp Text:= You have to set Your Application Share Text.
  • You can change True and False Value.
  • About Us:= Add Your Company Details It Will Reflect in Application About Us .
  • Instructions:= Add Your Quiz Instructions It Will Reflect in Application Instrucations
  • Privacy Policy:= Add Your Quiz Privacy Policy It Will Reflect in Application Privacy Policy
  • Terms Conditions:= Add Your Quiz Terms Conditions It Will Reflect in Application Terms of Service
  • Force Update App:= Here you can Enable and Disable Forcefully Update Dailog.
  • Daily Quiz Mode:= Here you can Enable and Disable DailyQuiz button.
  • Contest Mode:= Here you can Enable and Disable Contest Button.

How to Change Coins value!.

  • Per Coin:= Here you can change Paytm coin value how many coin have 1 rs.
  • Paypal per Coin:= Here you can change Paypal coin value how many coin have 1$.
  • True Answer:= Here you can give Each correct answer how many coins add.
  • Penalty per Wrong Answer:= Here you can give Each Wrong answer how many coins Deduct.
  • Refer Coin := Here you can give how many Coins get when user Refer.
  • Earn Coin := Here you can give how many Coins get when Someone Refer you.
  • Maximum Application Coin := Here you need to provide maximum value of Coins get User in onetime use of Application (if 90 max then put 100 Coins)
  • Start Coin := Here you can give When user first time login then that much Coins they will get. (Startup Coins)


How to change admob id?

  • Open Admin Panel > Setting > System Configurations.
  • You have to replace your live AdmobId with Test admobId.

Need Support?

Its our pleasure to serve our service and support. please contact our support team.

Customer Support : Kishan Mevada Skype Name : Kishan Mevada

To help our customers, we constantly be in touch with every customer if they need any assistance regarding our product. We offer our customers a support from Mon – Fri 9.00am to 6.00pm IST (GMT +5.30) – We are a Team located in India – Asia.

Typically we reply our customers for all the questions and queries within 24 hours of time via comments, support forum or emails.


Your Feedback

Dear valuable customer, Thank you very much for choosing our product. It's our pleasure to serve top-notch service to you. Please give us your honest feedback that will help us to make a more strong and reliable product by click here Rate Us. Thank you very much.

Contact Us

WRTeam has creative and dedicated group of developers who are mastered in Apps Developments and Web Application Development with a niche in delivering quality solutions to customers across the globe. Contact us today to find out how we can help you or for freelance work.

Visit Us : https://wrteam.in

Mail Us : info@wrteam.in

Thank you very much.