“Datoo - Dating Platform (Android) ” Documentation by
“Angopapo, LDA” v1.0.7
“Datoo - Dating Platform ”
Thank you for purchasing Datoo - Dating Platform. If you have any
questions that are beyond the scope of this help file, please feel
free to email via my user page contact form, email or support Thanks
so much!
Table of Contents
-
Setup Firebase
( Analytics, Crashlytics, Monitoring and Push notifications )
-
Setup Agora.io ( Calls and Live Stream )
-
Setup Google Geolocation
( Google Places and Maps )
-
Setup Facebook and Instagram
( Facebook Login and Photos, Instagram Photos)
- Admob Setup (Google Admob)
-
Setup Backend
( Parse Server with Back4app.com )
-
Setup Google Play API
( Google Play In-app purchases)
- Import project
- Application Setup and Google Login
- App Customization
A) Setup Firebase - top
Datoo - Dating platform uses
firebase.com
for Push notifications, Monitoring,
Analytics and Crashlytics
Go to
Firebase developer console
and Create a project.
- Click in add app
- Choose android
- add your desired app package
- Register an app and download a .json file. Save it for later use
B) Setup Agora.io - top
Datoo - Dating platform uses
Agora.io For Calls and
Live Stream
With Agora.io you have FREE 10.000 Minutes / Month for
Calls and LiveStream
Follow these steps to Get Agora API key
-
Go to
Agora.io
-
Sign Up
or
Login
- Create new Project
-
Go to Project setting and Get App Id. Save it for later
use.
C) Setup Google Places - top
Datoo - Dating platform uses
Google Places API
to search for locations in filter.
Go to
Google Cloud Platform Console.
Login or Signup
-
Click the project drop-down and select or create the project for which
you want to add an API key.
- Click the menu button and select APIs & Services > Credentials.
- On the Credentials page, click Create credentials > API key.
- The API key created dialog displays your newly created API key.
- Save it for later use and Click Close.
The new API key is listed on the Credentials page under API keys.
REMEMBER: Restrict the API key before using it in
production.
Check how to fo it.
D) Setup Facebook Login and Instagram Photos -
top
Datoo - Dating platform has Facebook Login feature and
Instagram photos
a. Facebook Setup
Go to
Facebook developer
Login or Signup
- Select Facebook Login product and click the Set Up.
- Select Android as the App platform.
- Add key hash for release and debug. *
- Click the Save button.
-
Copy facebook_app_id and
fb_login_protocol_scheme the Save for later use..
-
Request permissions
user_photos, user_birthday,
user_gender, user_location
and the Save
* You need to
Generate Key hash
for facebook Login to work.
b. Instagram to get User's instagram photos
- Select Instagram product and click the Set Up.
- Go to Basic Display.
-
Scroll Down and Click in Create new App set name and
create
- Set App Name and Save
-
Copy Instagram App ID and
Instagram App Secret the Save for later use.
E) Admob Setup - top
Datoo - Dating platform uses
Google Admob
to show Ads and Rewarded Video
Go to
Admob developer
Login or Signup
- Click Apps in the sidebar.
- Select App or Create new.
- Click the icon in the App ID column
- Copy the ID of an app.
- Save for later use
Now create your ads for Home and Rewarded Video
- Click Apps in the sidebar.
- Select the name of the app you're creating this ad unit for. ...
- Click Ad units in the sidebar.
- Click Get started.
-
Click Select for the Banner or
Rewarded Video or Advanced native ad
format
- Enter a name for this ad unit.
- Save and get ID
- Now, sabe ID for Later use
F) Setup Backend - top
Datoo - Dating platform uses
Parse Parse
has backend, for more information about it, click on the link.
You have several options on how to get Parse Server as BaaS or install
your Self-hosted Parse Server
1) Cloud Services: There are several companies offering
Parse Server.
2) Self-Hosted: You can install Parse server in your own
Hosting Provider. Required NodeJS
The tutorial is about Back4app.com if you want to work
with any other, you need to do it yourself, hire developer or pay
installation fees
G) Setup Google Play Purchases - top
Datoo - Dating platform uses Google Play Payments to
charge users who needs to purchase extra features or credits.
a. Setup Market API KEY
-
Go to your Google Play Developer Console (Google Play Publish)
- Select your application in the list or create a new app
- Go to Services & APIs
-
Copy YOUR LICENSE KEY FOR THIS APPLICATION and Save it for later use.
b. Setup In-App Purchases
Datoo - Platform uses Managed and Subscriptions in-app purchases, you can
use your rules butwe recommend to follow our rules.
Consumable: 100 credits, 550 credits, 1250 credits, 2750 credits
Subscriptions: 1 week, 1 month, 3 months, 6 months
Create your in-app purchases to and save their ProductIDs for later use
- In-app Products
- Add new product
- set the product id and type (Managed or Subscription)
- Fill the form and set the price you want and Save.
You need to create products individually, remember to save all products
Ids for later use.
H) Android App Import - top
Datoo - Android was developed with Java for Android, for that you need
Android Studio
- Open android Studio to Import Datoo
- Click on Import Android Studio project
- Extract and Navigate to datoo_android folder
- Click in OK or import
Wait for Android Studio to load setup all files and dependencies.
I) Application Setup - top
Do you remember this word Save it for later use ? if yes,
then everything you saved it's now time to use them
First go to res -> strings.xml and change bellow values
from ones you saved before
- Change your app_name: Your desired name
-
Change your facebook_app_id: Your facebook App ID
-
Change your fb_login_protocol_scheme: fb+ your
facebook app ID
-
Change your google_api_key_geo: Google Places API key
-
Change your gcm_sender_id: Firebase Sender ID and
Project ID
- Change your admob_app_id: Admob App ID
Now go to app -> Config.java and change bellow values
from ones you saved before
- Change your SERVER_URL: Your Parse Server URL
-
Change your LIVE_QUERY_URL: Your Parse LiveQuery URL
-
Change your SERVER_API_KEY: Your ParseApp API key
-
Change your SERVER_CLIENT_KEY: Your ParseApp CLIENT
key
-
Change your AGORA_APP_ID: Agora Project App ID
(Agora.io)
- Change your INSTAGRAM_APP_ID: Instagram App Id
-
Change your INSTAGRAM_APP_SECRET: Instagram App Secret
-
Change your INSTAGRAM_REDIRECT_URI: Instagram Redirect
URIs
-
Change your HOME_BANNER_ADS: your ads unit Id for Home
-
Change your REWARDED_ADS: your ads unit Id for
rewarded video
You also can change CREDIT_100,
CREDIT_550, CREDIT_1250,
CREDIT_2750 and SUBS_1_WEEK,
SUBS_1_MONTH, SUBS_3_MONTHS,
SUBS_6_MONTHS if you used your own Products Ids.
When you change the package name, please double in
AndroidManifest.xml and manually change any old package
name reference, especial for Parse Push Section
Once again, thank you so much for purchasing this Android version of Datoo
- Dating Platform. As I said at the beginning, I'd be glad to help you if
you have any questions relating to this source code. No guarantees, but
I'll do my best to assist. If you have a more general question relating to
the Apps, you might consider visiting the forums and asking your question
in the "Item Discussion" section.
Datoo - Dating Platform
Go To Table of Contents