On GitHub, you will find the SDKs for Android and iOS. A sample app is included in each repository inside a folder titled “Example”.


In your existing Android application, open your build.gradle file and add the following dependencies:

Also in your build.gradle file, enable the multidex in your DefaultConfig as shown below.

Now, go into your strings.xml file located at app -> src -> main -> res -> values -> strings.xml and add the following:

Next, open up your AndroidManifest.xml file and add the following permissions:

Also in your AndroidManifest.xml file, copy and paste the following to set the necessary metadata:

To make use of the SDK, you need to start with the init. Context represents application context and the token attribute stands for value provided by the Firebase Cloud Messaging.


To create a new project in XCode, click File -> New -> Project, then select your template, indicate your product name, organization name, organization identifier, and select the Swift programming language.

Our example iOS app uses Amazon Web Services (specifically, Cognito) to handle the creation, confirmation, and authentication of user accounts. If you wish to add this functionality to your project, add the Amazon static libraries. This can be accomplished by right-clicking under your app folder, creating a new group, renaming it to “AmazonServices”, and copying the Amazon iOS SDK folder into this group.

We use Kubernetes to deploy, scale, and manage our application. To use it, you must prepare your AWS account for use with the Kubernetes CLI tool, which requires setting up an IAM user. More information is available here.

Run ruby pod init inside your project folder to create a podfile. Add the D2GOClient pod and its dependencies to your podfile as shown below:

Next, you need to insert some keys into your Info.plist file as demonstrated below:

In reference to the code snippet shown above, the D2GOApiLoginPassword, D2GOApiLoginUsername, D2GOBeaconUUIDForD2Go, and D2GOKonkaktAPIKey keys can be obtained via the D2GO platform.

The CognitoUserPoolAppCleintID, CognitoUserPoolAppClientSecret, and CognitoUserPoolID keys can be obtained upon creating an Amazon Web Services account and creating a Cognito User Pool.

The SNSAccessKey and SNSSecretKey keys can be acquired via our login API (see the authorization section for more details).

You should also copy and paste the following authorizations for location services into your Info.plist file:

For additional questions or technical support, please contact