To get a privately labeled FlyDroid Application you need to do the following:
- Install and configure the
Android Connect plugin;
- Create a
developer account in Google Developer Console and submit a listing to Google Play;
- Get a
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 a Google
API Key;
- Get Google
Firebase Keys (to enable push notifications in FlyDroid).
Now let me guide you through all the steps of getting a privately labeled FlyDroid App described in general above, but before you continue,
make sure that you submitted a request for the privately labeled App here -
https://www.flynax.com/my-applicatio...t-android.html.
-
Installing and configuring the Android Connect Plugin and translating missing phrases for it
1. Log in to the back end of your site then go to Plugins. Click
Browse to see a list of the plugins;
2. Install the
Android Connect plugin. 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 the back end > Android > Languages;
3.2 Search for
Flynax in the Language Manager;
3.3 Replace
Flynax with your branding.
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 have none);
2. Go to
All Applications 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 the 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 is supposed to 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 the
Next Step at the bottom of the form, click
Skip to proceed to the Developer Dashboard;
6. Go to Settings on the next page (left menu);
7. Get an App ID from the form and send it to us.
8. Go to Settings > Advanced > Copy and send us a Client token.
-
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 a
Client ID and
Secret Key for REST API and enable PayPal REST module in Android Settings from the 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 the 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.
-
Getting a 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;
3. Get a lengthy
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 back end > Android Connect settings and skip the step.
If you do plan to use paid packages, then you'll have to replicate them in the App (if you use only free packages 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;
4. Click
Add New Product;
5. Then select
Managed Product in the window;
6. Log in to the back end of your site and go to the
Package manager;
7. Click the
Edit icon of the first paid package and copy the package key;
8. Go back to the Google Product page and enter the key to the
Product ID field and click
Continue;
9. Enter a title and description of the product on the Listing Details page (you can copy package details from the admin panel of your site);
10. Enter the price of the package in
USD (as it's set in the admin panel for the package converted into USD);
11. Under Auto price conversion check
Overwrite existing prices and click
Auto-convert prices now;
12. To save the product click
Save.
Following the steps above, you'll be able to replicate all the paid packages in the App.
-
Getting a 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 in to your Google account and click Create Project;
3. Go to API manager > Overview > Google APIs section and enable 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 the API manager > Credentials and click Create credentials;
5. Select the
API Key option from the dropdown;
6. Click
Restrict key;
7. Select Android Apps from
Application restrictions and then click
Add package name and fingerprint button;
8. Enter package name and sha-1 key (Flynax team has provided you with them in ticket) then click Save;
9. Send the new key to our developers through the ticket.
-
Getting a Google Firebase Key
1. Go to
https://console.firebase.google.com;
2. Log in to your Google account and click
Add Project;
3. Select your App project from the dropdown list and click
Add a Firebase;
4. Click
Add Firebase to your Android App on the next page;
5. Enter the package name and sha-1 key and click
Register App, complete the registration;
6. Go to the Project Settings (Gear icon at the top left) and click the
Cloud Messaging tab;
7. Enter the
Sender ID from the back end > Android Common Settings > Google app ID (numbers);
8. Enter the
Legacy server key from the back end > Android Common Settings > Google App Key.
-
Getting a Google Firebase Key
Download the google-services.json and send it to us through the tickets.
-
Settings for the Social Login Network
https://console.firebase.google.com/
- Open your project
- Authentication
- Sign-in method
Sign-in providers. Enable the providers that you want to use:
1) Facebook
- Enable
- App ID - put a Facebook id
- App secret - enter a secret key
2) Google
- Enable
3) Twitter
- Enable
- API key - enter an API key
- API secret - enter a secret key
https://developer.twitter.com/en/apps
- Edit details
- Callback URLs (required)
- Add another and add twittersdk://
4) VK
https://vk.com/apps?act=manage
- Edit App
- Settings
- Settings SDK and add
1. Package name - com.flynax.flydroid
2. Main Activity - com.flynax.flydroid.FlynDroid
3. Fingerprint for Android - 9D9343F878F34FF53FDFDB27610A26632B7E9A0C
Flynax Team provided you with them through the tickets beforehand.
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 them here.
John