From dda6357133db7ad4942c8c7b9666eb6d300b3624 Mon Sep 17 00:00:00 2001 From: Lal Chandran Date: Wed, 22 May 2024 16:37:08 +0200 Subject: [PATCH] Fix: Updated titles to align with overall doc structure --- README.md | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d56ec8a..6c60c60 100644 --- a/README.md +++ b/README.md @@ -23,21 +23,23 @@ This repository hosts source code for the reference implementation of the GovSta Released. Refer to the [wiki page](https://github.com/decentralised-dataexchange/bb-consent-docs/wiki/wps-and-deliverables) for the latest status of the deliverables. -## 1. iOS Configuration +## 1. Installation [PrivacyDashboardiOS](https://cocoapods.org/pods/PrivacyDashboardiOS#about) is available through [CocoaPods](https://cocoapods.org). To install it, simply add the following line to your Podfile after all [pod set up](https://guides.cocoapods.org/using/getting-started.html) done: ```ruby pod 'PrivacyDashboardiOS','2023.11.10' ``` -## 2. iOS Integration +## 2. Integration Import PrivacyDashboard SDK + ``` #import PrivacyDashboardiOS ``` #### Privacy Dashboard -We can initiate the privacy dashboard by calling: +Initiate the privacy dashboard with the code block below: + ``` PrivacyDashboard.showPrivacyDashboard(withApiKey: , withUserId: , @@ -47,7 +49,10 @@ PrivacyDashboard.showPrivacyDashboard(withApiKey: , turnOnUserRequest: , turnOnAttributeDetail: ) ``` -We can also show the privacy dashboard with `accessToken` (optional parameter). +## Supported Functions + +We can show the privacy dashboard with `accessToken` (optional parameter). + > **_Note:_** If we have `accessToken` then no need to pass `API key` and `User ID` To set app language, pass language code to `withLocale`.