Sphere

Wallpaper App & Live Wallpaper App

Introduction

Hey there, We are happy to see you as our valued customer of the Sphere app. Here is the easy documentation to set up the app and ready to launch. Please follow all the instructions carefully and don't skip any step. Feel free to contact us if you face any problems while set-up.

Get Started

    • Thank you for purchasing our app

    • Please read the documentation carefully , and if you have any question check us.

    • Find the sphere.zip from the folder downloaded from codecanyon and open in in android studio.

Import Android Project

    • Open android project in android studio.

    db_1

Change package name

    • Open your Gradle Build File (build.gradle - Usually app or mobile). Update the applicationId in the defaultConfig to your new Package Name and click on Sync Now Gradle.

    • db_1

Change App Icon and Name

      db_1
    • Make sure the project root folder is selected as Android otherwise select Android by clicking on it .

    • Then Right click on app > res tab

    • Find mipmap folder, right click on that and delete this folder.

    • db_1
    • Go to new New > Image Asset

    • db_1
    • In the pop up that appears select the the Foreground layer and choose image as asset type, then click on a folder icon to select your .png image file of icon.

    • You can resize app icon with the scroller shown in to above image.

    • Click on next , a new dialogue will appear like below.

    • db_1
    • Click on finish button, app icon will generate automatically.

    • Change name in strings.xml file

    • db_1
      db_1

General style

    • If you want change the theme of ui. change color as your requirment.

    • Go to res > values > colors

    • db_1

add Android app to Firebase

    • In the next step, we have to choose the platform to add Firebase to our application. The platform can be Android, iOS, Web etc..

    android_firbase_1
    • Your package name is generally the applicationId in your build.gradle (app-level) file

    • See this page for information on using keytool to get the SHA-1 hash of your signing certificate

    • Add your applicationid in the first field and SHA-1 to the third field as shown in the image below.

    android_firbase_2
    • Download the google-services.json file & place it in your project's app root directory.

    android_firbase_3
    android_firbase_3
    • Back in the Firebase console-setup workflow, click Next to skip the remaining steps and then finish and complete

    android_firbase_4

Change Base url, Image Url

    • Open Const.java file

    • Replace -------------------- of BASE with your baseURL and -------------------- of APIKEY with your api_key (which you got, when you was setting up backend).

    • These credentials can be available after following the backend documentation. If you have not followed it, please follow it first

    • db_1

Android in App Purchase Setup

  • Play Store subscription setup

  • For configuring subscriptions on Google Play Console, follow the steps below:

    • Go to Google Play Console . Log in with your developer account.

    • Select the app in which you want to add subscriptions.

    • From the left menu, under the Monetize section, expand the Products category. Select Subscriptions.

    RC1
  • Let's start creating the subscriptions:

    • From the Monetize > Products > Subscriptions page, click Create subscription.

    • Select the app in which you want to add subscriptions.

    • From the left menu, under the Monetize section, expand the Products category. Select Subscriptions.

    RC1
    • Enter a unique Product ID for your subscription and a publicly viewable Name. Click Create.

    • For example, we will be creating a Monthly subscription with:

      • Product ID: monthly_product_id

      • Name: Monthly Subscription

      Note : You won't be able to change or reuse a Product ID across any of your apps, even if the product is deleted.

      RC1
    • Click "Add a base plan"

    • RC1
    • Enter the Base plan ID, Renewal type (Auto-renewing), Tags , and Price etc as per your Preference.

    • RC1
      RC1
      RC1
    • Click Activate

    • RC1
    • That completes the subscription setup for the Google Play Console. Let's move on to the play Store subscription setup.

    • After adding products in Google Play Console, you have to add product's id accordingly in your admin panel.

    • RC1
    • According to example (Above image) procuct_id is monthly_product_id.

    • RC1
    • Similarly, create as many Subscriptions as you need and add product_id of all that subscriptions to the admin panel accordingly.

Debug APK

    • Refer to below image for debug apk.

    • db_1

Publish App on Play Store

      Once your app get’s published on the Playstore, Some of google authentication might stop working as methods as mentioned below.

      • Log in with gmail

      • Mail and Password Log in

      • Or any other authentication methods firebase offers

      • Google resign the app whenever we publish the app to the store and to make it working, we have to retrieve the SHA1 Fingerpring from Playstore from our app, and add that to the firebase.

Want to talk with us?