To get Privately Labeled version of the FlyDroid application you have to do the following:
- Install and configure
Android Connect Plugin;
- Create an
developer account in Google Developer Console and
submit a listing to Google Play;
- Get Facebook
App ID (send it to us through the ticket system)
- Getting PayPal Gateway
- Get a Google
App License Key (send it to us through the ticket system)
- Configure products in Google Play In-App Billing
- Get a Google Analytics
Tracking ID (send it to us through the ticket system)
- Get Google API Key
- Get Google Firebase Keys (to enable push notifications in APP)
Now let me guide you through all steps of getting a privately labeled version of FlyDroid described in general above, but before you continue,
make sure that you submitted a request for a Privately Labeled App here:
https://www.flynax.com/my-applicatio...t-android.html
-
Installing and configuring Android Connect Plugin and translating missing phrases for it
1. Log into the
Admin Panel of your site then go to
Plugins and click on the
Browse button to see a list of plugins.
2. Install
Android Connect. If it's already installed then update it to the latest version, if any.
3. The Plugin has Flynax branding by default and you'll have to change a few phrases:
3.1 Go to
Languages section in the
Admin Panel menu under Android App;
3.2 Search for "Flynax" in the Languages Manager for the App;
3.3 Replace "Flynax" with your brand;
You also can add a new language to the App. We recommend using the same languages as you have on your site.
By default the App comes in English but you can easily translate phrases used in the App, which amount to about 400 words and phrases.
-
Creating an account in Google Developer Console and submitting an App listing
1. Go to
https://play.google.com/apps/publish/ and create an account (if you don't have one).
2. Go to
All Applications section and add an Application listing.
3. Go through the submit form of your listing and fill in all required fields;
save it as a draft (don't release it at this stage).
-
Getting Facebook App ID
1. Go to
https://developers.facebook.com/ and join the Facebook developer program through your Facebook account used on the website.
2. Click
Apps in top menu and select
Add a New App.
3. Select
Android in the pop-up, and enter an App name, for example "My Android App," and proceed to the App form.
4. While filling out the form you'll have to enter a lot of data; some of them are:
com.flynax.yourappname should be replaced with your future app system key, Flynax team should provide you with it in the ticket.
Package Name:
com.flynax.yourappname
Default Activity Class Name:
com.flynax.yourappname.FlynDroid
Development Key Hashes:
+VVwO1OXQcr2qwqwdqwa07owEEjY=
Release Key Hash:
+VVwqwdqwQcr2S9p4vXa07owEEjY=
5. You'll find
Next Step at the bottom of the form, click the
Skip to Developer Dashboard link to continue.
6. Go to
Settings on the next page (left menu).
7. Get
App ID from the form and send it to us.
-
Getting PayPal Gateway
Currently PayPal offers two libraries (API) for Android:
--
PayPal REST API
The library was developed by PayPal not so long ago and is a convenient and up-to-date payment interface allowing users to pay with their credit cards and from PayPal accounts. A user can make a payment simply by scanning his credit card with a cell phone camera. But the interface has a drawback: it supports only the
US and
UK; so if you run your business in these countries you have nothing to worry about and all you have to do is to get Client ID and Secret Key for REST API and enable PayPal REST module in Android Settings from admin panel of your site. Here is how you can do it:
1. Go to
https://developer.paypal.com/ and sign in with your PayPal account.
2. Click
Dashboard in the top menu.
3. Click
Create App in the upper right corner of the page.
4. Enter name of your app in the form, for example Android and click Create.
5. Copy
Client ID and
Secret on the app details page and enter them in PayPal Billing that you can find in the
Admin Panel of your site,
Android Connect Settings.
--
PayPal MPL API
If you target markets
outside the US and UK you'll have to set up PayPal MPL API. This is an old system with an
old interface and is less convenient than PayPal REST API, but motherless it is fully operational and allows your users to pay for services from their PayPal accounts and credit cards. Here is an instruction on how to configure it:
Firstly you should go to page of Android App Settings and move to
PayPal MPL Billing section.
Here you can see
8 settings which we should prepare, here the instruction:
* "
Use PayPal MPL module"
Enable the module.
* "
Use Sand Box for testing"
The option will let you test your module in sandbox mode but in this case you'll have to get all keys listed below for PayPal Sandbox; we recommend disabling the option.
* "
PayPal Account Email"
Enter your PayPal account in this field
* "
PayPal Application ID"
You can get the ID after registering your App in PayPal following instructions:
1. Go to
https://www.paypal-apps.com/user/my-...t/applications, click Login with PayPal;
2. After logging into your account click "
New Application" and fill out the form. Once your App is approved you'll get an Application ID.
* "
PayPal API Username", "
PayPal API Password", "
PayPal API Signature"
You'll get all these three keys in one place; here is how you can do it:
1. Go to
https://www.paypal.com
2. Log into the PayPal website with the account associated with your Application or website.[B]
3. Navigate to
My Selling Tools by selecting
My Account > Profile > My Selling Tools.
4. Click
Selling Online >
API Access >
Update to display the API Access page.
5. You'll find all three options on this page.
-
Getting Google App License Key
1. Go back to your
Google Developer Console account and select your App listing.
2. Open your App listing and select
Services & APIs section.
3. Get a long
License Key (base64) and send it to us.
-
Configuring products in Google Play In-App Billing
If you don't plan to use Google Play In-App Billing then you can disable it from the admin panel > Android Connect settings and skip the step.
If you do plan to use paid plans then you'll have to replicate them in the App (if you use only free plans then you can skip this step)
from the admin panel in In-App Products of your listing on Google Play.
1. Go to
https://play.google.com/apps/publish/.
2. Open your app listing and choose your app.
3. Go to
In-App Products section.
4. Click
Add New Product
5. Then select
Managed Product in the window.
6. Log into the
Admin Panel of your site and go to the
Plan Manager.
7. Click the
Edit icon of the first paid plan and copy the
plan key.
8. Go back to the
Google Product page and enter the key to the
Product ID field and click
Continue.
9. Enter
Title and
Description of the product on the listing details page (you can copy plan details from the admin panel of your site).
10. Enter price for a plan in USD (as it's set in the admin panel for the plan converted into USD).
11. Under Auto price conversion check
Overwrite existing prices and click
Auto-convert prices now button.
12. To save the product click
Save.
Following the steps above you'll be able to replicate all paid plans in the app.
-
Getting Google Analytics tracking ID
Send us
Tracking ID; you can learn how to get the ID here:
https://support.google.com/analytics.../1032385?hl=en
-
Getting Google API Key
1. Go to
https://console.developers.google.com
2. Log into your google account and press
Create Project button
3. Go to
API manager > Overview > Google APIs section and enable the 5 libraries listed below:
- Google Maps Android API
- Google Maps Geocoding API
- Google Play Android Developer API
- YouTube Data API v3
- Google Cloud Messaging
4. Go to
API manager > Credentials and press
Create credentials button
5. Select the
API Key option in the appeared dropdown list
6. Press the
Restrict key button
7. Select
Android apps in "Application restrictions" section and then press
Add package name and fingerprint button
8. Enter package name and sha-1 key (Flynax team has provided you with them in ticket) and press
Save button.
9. Send new key back to our developers in the ticket.
-
Getting Google Firebase Key
1. Go to
https://console.firebase.google.com
2. Log into your google account and press
Add Project button
3. Select your app project in the dropdown list and press
Add a Firebase button
4. Press
Add Firebase to your Android app button on the next page
5. Enter package name and sha-1 key and press
Register app button, complete the rest simple registration steps.
6. Go to
Project Settings (Gear icon at the top left) and click
Cloud Messaging tab
7. Enter the
Sender ID in Admin panel > Android Common Settings > Google app ID (numbers)
8. Enter the
Legacy server key in Admin panel > Android Common Settings > Google App Key
Once you go through all the steps and send us all required data we'll send you an APK file; so you could test it by uploading and installing the file to your smartphone.
After testing the App you'll be able to upload the APK file to your listing in Google Developer Console > Your App > APK and release the application.
Any questions? Feel free to ask here.
John