Thank you for purchase this item!
Setting up the product will take you no more than 30 minutes (maybe)
Parse setup
1. Go to Back4app.com , register or login.
2. Build a new application
3. Fill in all the required fields following the system prompts
4. You are now on the server management page. Need, go to "Server settings"
5. Next go to "Core settings" -> "Settings"
6. Now you need to copy the identifiers: App ID, Client key
7. Open android studio project , go to file strings.xml and paste this data
8. Next, connect the project to the firebase
Firebase Setup
9. Go to https://console.firebase.google.com and create a new project
10. add android application:
11. According to the system prompts, fill in all the required fields: (do not forget to rename the application package, how to do read here)
12. Download the google-service.json file and replace it in the application folder according to the instructions
13. Open project in Android studio, run app and register in Firebase
Phone Setup (authentication)
14. 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:
15. 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
Adding keys SHA1 development and production is mandatory !! Without this, the application will not work in test mode, not in production, take double attention to this
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:
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 setup with admin
1. Install the demo categories for correct operation . Open file StartActivity.java and uncomment string 79
2. Run app once! You will see that new categories have appeared in the backend
3. Now using the application you can add radio yourself
4. To approve the radio, you need to be an administrator, otherwise you will not see the secret menu items in the user profile
5. Register in the application using your phone
6. After successful registration, find the file MainActivity.java and uncomment string 89
7. Run app once! and delete this function!
this:
and this:
8. If you did everything correctly, then you will see hidden elements
Next, open file Prfs.java and change: App name and Dev_mail
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!
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://simpleapp.freshdesk.com
Unfortunately, we do not answer technical questions in the comments on the product, messengers and mail.
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)