Digi.me



Google uses cookies and data to:

Digi.me Competitors

Digi.me is an award-winning platform that lets you take control of the data powering your digital. Digi.me 1,242 followers on LinkedIn. Digi.me lets you do amazing things with your personal data without compromising your privacy or security. Digi.me's award-winning technology allows you to. Digi.me's technology allows consumers to gather together their personal data and share it on their terms with businesses in a mutually beneficial value exchange. They are distribution partners for the likes of Toshiba and Lenovo and are working with world-leading businesses in health insurance, finance, pharma and FMCG. Get engaged in the healthcare community, shape the conversation, get invited to events, receive the latest news, and gain early access to new personal data health technology.

  • Deliver and maintain services, like tracking outages and protecting against spam, fraud, and abuse
  • Measure audience engagement and site statistics to understand how our services are used
If you agree, we’ll also use cookies and data to:
  • Improve the quality of our services and develop new ones
  • Deliver and measure the effectiveness of ads
  • Show personalized content, depending on your settings
  • Show personalized or generic ads, depending on your settings, on Google and across the web
For non-personalized content and ads, what you see may be influenced by things like the content you’re currently viewing and your location (ad serving is based on general location). Personalized content and ads can be based on those things and your activity like Google searches and videos you watch on YouTube. Personalized content and ads include things like more relevant results and recommendations, a customized YouTube homepage, and ads that are tailored to your interests.

Click “Customize” to review options, including controls to reject the use of cookies for personalization and information about browser-level controls to reject some or all cookies for other uses. You can also visit g.co/privacytools anytime.


Introduction

The digi.me private sharing platform empowers developers to make use of user data from thousands of sources in a way that fully respects a user’s privacy, and whilst conforming to GDPR. Our consent driven solution allows you to define exactly what terms you want data by, and the user to see these completely transparently, allowing them to make an informed choice as to whether to grant consent or not.

Requirements

Digi.me alternative

Development

  • Android Studio 3.0 or newer.
  • Gradle 5.0 or newer.
  • Kotlin 1.30 or newer. *

* The SDK is written entirely in Kotlin, but is fully compatible with Java projects.

Deployment

  • Android 5.1 or newer (API Level 21).

Installation

Gradle/Maven

  1. Ensure you have the JCenter repository in your root build.gradle file.
    (This is automatically added to new Android Studio projects.)

  2. Include the digi.me SDK as a dependency in your app build.gradle file:

    implementation 'me.digi:sdk:2.2.1'

Manual

  1. Download the source code for the SDK.
  2. In Android Studio, import the SDK as a module.
  3. In your app build.gradle, include the module as a dependency:

    implementation project(':sdk')

Getting Started - 5 Simple Steps!

We have taken the most common use case for the digi.me Private Sharing SDK and compiled a quick start guide, which you can find below. Nonetheless, we implore you to explore the documentation further.

This example will show you how to configure the SDK, and get you up and running with retrieving user data.

1. Obtaining your Contract ID, Application ID & Private Key:

To access the digi.me platform, you need to obtain an AppID for your application. You can get yours by filling out the registration form here.

Roger Stanton Digi Me

In a production environment, you will also be required to obtain your own Contract ID and Private Key from digi.me support. However, for sandbox purposes, we provide the following example values:

Example Contract ID:fJI8P5Z4cIhP3HawlXVvxWBrbyj5QkTF
Example Private Key:
Download: P12 Key Store
Password: monkey periscope

Digi.me

You should include the P12 file in your project assets folder.

2. Configuring Callback Forwarding:

Because the digi.me Private Sharing SDK communicates with the digi.me app, you are required to forward invocations of onActivityResult through to the SDK so that it may process responses. In any activity that will be resposible for invoking methods on the SDK, override onActivityResult as below:

3. Configuring the DMEPullClient object:

DMEPullClient is the object you will primarily interface with to use the SDK. It is instantiated with a context, and a DMEPullConfiguration object. The provided context should always be the main application context.

The DMEPullConfiguration object is instantiated with your AppID, Contract ID and Private Key in hex format. We provide a convenience method to extract the private key. The below code snippet shows you how to combine all this to get a configured DMEPullClient:

4. Requesting Consent:

Before you can access a user’s data, you must obtain their consent. This is achieved by calling authorize on your client object:

NB: this represents the activity which is setup to forward onActivityResult, as above.

If a user grants consent, a session will be created and returned; this is used by subsequent calls to get data. If the user denies consent, an error stating this is returned. See Handling Errors.

5. Fetching Data:

Once you have a session, you can request data. We strive to make this as simple as possible, so expose a single method to do so:

Reviews

For each file, the first ‘file handler’ block will be called. If the download was successful, you will receive a DMEFile object. If the download fails, an error.

Once all files are downloaded, the second block will be invoked to inform you of this. In the case that the data stream is interrupted, or if the session obtained above isn’t valid (it may have expired, for example), you will receive an error in the second block. See Handling Errors.

DMEFile exposes the method fileContentAsJSON which attempts to decode the binary file into a JSON map, so that you can easily extract the values you need to power your app. Not all files can be represented as JSON, see Raw Data for details.

Contributions

digi.me prides itself in offering our SDKs completely open source, under the Apache 2.0 Licence; we welcome contributions from all developers.

We ask that when contributing, you ensure your changes meet our Contribution Guidelines before submitting a pull request.

Digi.me

Further Reading

Digi Me Chief Client Officer

The topics discussed under Quick Start are just a small part of the power digi.me Private Sharing gives to data consumers such as yourself. We highly encourage you to explore the Documentation for more in-depth examples and guides, as well as troubleshooting advice and showcases of the plethora of capabilities on offer.

Lindsay Stanton Eyes

Additionally, there are a number of example apps built on digi.me in the examples folder. Feel free to have a look at those to get an insight into the power of Private Sharing.