for the Map Block
In order to use Map services from Google or Apple you need to configure these services.
This Tutorial provide some guidances on how to set up these services for:
When using the Map Block on Android you will need to:
- Create a Public API access Key on the Google Developers Console.
- You need to setup a Google Developers account to utilize these features.
Once logged in on Google Developers Console:
- Select the Google Maps Android API
- The API key uniquely identify your app with Google.
- Then select "Credentials", configure it for the type of user you are looking for (Android app / iOS app etc..)
- Create the Key
- Optional: Uniquely Identify your App to use the services (this is done during API key creation process)
- Copy the Android API Key
Add the API Key in EachScape Studio
Go to your app and click "Edit App". Go to the "3rd Party" tab:
Select the 'Google Services' section
Within that section paste the API key into the following fields
The Map Block will work for Android AdHoc builds.
Uniquely Sign your App to use Google Services
This is optional for AdHoc but required for your commercial build.
Google lets you uniquely identify the app allowed to use Google Services (in our case map API)
To uniquely identify an app 2 parameters are required:
- Hash Key
You need to add a Package and Fingerprint.
Select the 'Add package name and fingerprint'
When you select Add package and fingerprint you are required to add the following information:
- Pacakge name
- SHA-1 certificate fingerprint
Screenshot from Google Console:
SHA-1 certificate fingerprint
All EachScape adhoc build uses the same SHA-1 certificate fingerprint
Use the following:
To determine the package name to use do the following:
Then your package name will be:
adhoc pacakge name always use the following syntax
In this example, the hash key and keystore will look like:
For Android Commercial builds:
You will need a Package name that is created after you setup your Android Keystore for your Android Commercial build.
Select the 'Manage' Tab
Then select Android keystore (You need a permission to access the Android Keystore, this will be accessible to all users by June 1st, 2016)
Click on the keystore to show the detail:
SHA-1 certificate fingerprint
ONCE A KEY IS GENERATED DO NOT REGENERATE A NEW KEY OR YOU WILL BREAK YOUR APP IN THE STORE!
iOS does not require any Google setup as they use iOS maps for the device.
You will need to enable Google Maps API v3 in the Google Developers Console.
You will then need to go to "Credentials in the Google Developers Console and "Create a New Key". Choose "Browser key". Then just tap "Create".
You can then take your new Key and copy the API Key into the EachScape builder: "Edit App/3rd Party/ Google Simple API key" and also put the same key in the EachScape builder: "'Edit App/3rd Party/Google Simple API key" for AdHoc .
ONCE A KEY IS GENERATED DO NOT REGENERATE A NEW KEY
OR YOU WILL BREAK YOUR APP IN THE STORE!