Firebase setup
Go to https://console.firebase.google.com and create a new project
add android application:
According to the system prompts, fill in all the required fields: (do not forget to rename the application package, how to do read here)
Download the google-service.json file and replace it in the application folder according to the instructions
Open project in Android studio, run app and register in Firebase
For correct operation you will need SHA-1 keys.
How to get debug SHA-1 key:
- open android studio project and click Gradle tab -> Taks -> signingReport
Copy SHA-1 key, go to Firebase console and paste it:
How to get release SHA1 key:
- Make you test release apk and keystore
- Open terminal and run command:
keytool -list -v -keystore "your_keystore_path" -alias "key_alias"
Copy SHA1 release key:
More info about SHA1 read here: https://stackoverflow.com/questions/15727912/sha-1-fingerprint-of-keystore-certificate
And paste it in Firebase console.
In the Firebase console click - Authentication ->Sign-in method -> Phone and enable it
Add test phone number
Parse server setup
Go to https://www.back4app.com
Click on "Build new app" and follow the prompts of the system
Go to "Server settings"
Next click "Core settings" -> "Settings"
You need to copy: "App id" and "Client key"
Open android studio and paste it ( strings.xml file)
Run and test application.
ADMOB setup
Go to https://apps.admob.com/ and add new app
Following the prompts of the system, get App ID and copy it
Open android studio -> strings.xml file and paste:
Next, get Ad unit and copy it:
Open Android studio -> strings.xml file and paste it:
DEMO
Open android studio and file SetApps.java
Set SET_DATA = true
Run app then set SET_DATA = false (Otherwise, at the next start, you will duplicate the demo date)
PUSH NOTIFICATION
It's simple!
Go to onesignal.com signup or signin
Add new app
Following the prompts of the system, fill in all the required fields
You will have a question where to get the keys for firebase?
Remember at the beginning of the instructions we integrated our application with firebase? So there it is.
Go to Firebase console and open app
Next find tab "Cloud messaging" and click
Copy Server key and Sender Id and paste to Onesignal
Then you get: App ID. You need to copy it
Open android studio , find file build Gradle ( module app) And paste it
Run app and test connect to onesignal. If you did everything right, you can send a test push message
APP SETTINGS
Now let's talk about the file SetApps.java
SET_DATA - on/off demo data
ADS_SHOW - on/off show advertising
LOADING_NEW - number of channels to display on the main screen
LOADING_TOP - number of channels to display on the main screen
YOU_GOOGLE_PLAY - Link to your google play developer account
Application localization
The prepared file for localization with a list of lines is strings.xml
How to localize android app :
Or tap this link : https://www.youtube.com/watch?v=72qURZPIUIA
You need to translate only the file into the language you need, in the application you do not need to do anything else!
FREE ADMIN PANEL
There is a very convenient and free service for managing the Pars server, this is adminca.com
Go to http://adminca.com signin or signup
Add new panel
Enter a name and click "Self hosted"
Now you need to fill in these fields
Where to find them? You ask
Go to your back4app account -> application -> server settings -> core settings and find:
and
Copy, fill in the adminca and click "Create"
If the data is not updated, there is a magic sync button in the panel
Now you can use the convenient control panel. Management is intuitive and clear.
Important!!! Do not forget, before adding a TV stream, first add a category !!!
DESIGN
All graphic elements are in the folder drawable
Color Schemes location colors.xml file
Support
We will answer all your questions in our support team. https://t.me/qodo_dev
Unfortunately, we do not answer technical questions in the comments on the product, messengers and mail.
Free support is provided only within the established Envato
If you yourself cannot customize the project , our services:
Install app + backend - $59
Install app + backend + customize app ( logo, color, map, name, name package) - $89
Install Parse backend on your server (VPS, VDS) - $180
Disclaimer
For everything that you do with the application code, you are responsible yourself. You make any changes to the original code at your own risk. We relieve ourselves of any responsibility for the action with the code on your part and the reaction of the approving company (in this case, Google)