

DIGIME PRINTS HOW TO
This example will show you how to configure the SDK, and get you up and running with retrieving user data. Nonetheless, we implore you to explore the documentation further. We have taken the most common use case for the Private Sharing SDK and compiled a quick start guide, which you can find below.
DIGIME PRINTS INSTALL
Navigate to the directory of your Podfile and run the following command: $ pod install -repo-update Use_frameworks! flag must be set in the Podfile We do not currently support linking DigiMeSDK as a Static Library. Import package import DigiMeSDK CocoapodsĪdd DigiMeSDK to your Podfile: use_frameworks! source '' platform :ios, '13.0' target 'TargetName' do pod 'DigiMeSDK' end target ( name : "example", dependencies : ), package ( name : "DigiMeSDK", url : "", from : "x.x.x" )Īdd DigiMeSDK to your target’s dependencies. Substitute "x.x.x" with the latest DigiMeSDK release. Installation Swift Package Manager Add dependenciesĪdd the DigiMeSDK package to the dependencies within your application’s Package.swift or your Xcode project. 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. You can find more information here.The 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. This example was built upon the Node.js SDK. To run the application, please run the command: npm start:write-example Checking out our SDK
DIGIME PRINTS REGISTRATION
In order to obtain an application ID, please fill out the registration form. We've provided an example contract ID and private key for testing out private sharing.Ĭontract ID : Cb1JC2tIatLfF7LH1ksmdNx4AfYPszIn Before you can run the application you'll need: In this example you will see how we are able to push data into a user's. You should see the number of items that have been shared, all the objects listed per file, and a description of what kind of data has been listed under each file. See data shared - After consent has been given, in the console log you should see a list of all the data that was received from the user. Give access - Click on the Give access button in the SaaS page you user should be brought back to the partner app and presented with a screen of partner choice congratulation or given access data. Navigate to the example app - Once you initialize the flow our SaaS webpage will be opened where we request from user authorization and user should be permitted to Give access for requested data. To run the application, please run the command: npm start:read-example Two user private sharing flows In order to obtain an application ID, please fill out the registration form.Ĭontract ID : fJI8P5Z4cIhP3HawlXVvxWBrbyj5QkTF

We've provided an example contract ID and private key for testing out private sharing. From, you'll need to obtain the following: In order to run this example app, you'll need to perform some preparation steps. To run the private share example application You should be able to open the example app from your phone with it, assuming that both machines are on the same network. The second URL is our best guess as to what your local network IP is.First URL should be able to be opened on the same machine you started the server (So you can be sure it's running).You should now be able to access the example app 🎉: This should print out something along these lines: Run npm start:read-example or npm start:write-example in your terminal to run the read or write example:
DIGIME PRINTS CODE
Open the desired example in the examples//index.js file in your favourite code editor, and replace the placeholders with the values you received from (described in the code comments as well). In your terminal, navigate to the directory where you cloned/extracted this example (If you see this README in it, you're in the correct place!) Preparation On the machine that will run the example you'll need:ĭownload and extract, or clone the master branch on this repo with the following command: You can find out more able both of these in our documentation. One showcases private sharing, and the other showcasing postbox. There are two example applications in this repository. This repository contains example applications built on the Node.js SDK. Example applications built on the Node.js SDK.
