Skip to content

Commit

Permalink
#227 ios configuration for privacy dashboard localization
Browse files Browse the repository at this point in the history
ios configuration for privacy dashboard localization
  • Loading branch information
lijogeorgep authored and georgepadayatti committed Nov 21, 2023
1 parent 264627e commit 1364fac
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ios/Runner/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,13 @@ import SwiftMessages
let orgId = arguments?["orgId"] as? String
let baseUrl = arguments?["baseUrl"] as? String
let userId = arguments?["userId"] as? String
let languageCode = arguments?["languageCode"] as? String

PrivacyDashboard.showPrivacyDashboard(withApiKey: apiKey ?? "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJTY29wZXMiOlsic2VydmljZSJdLCJPcmdhbmlzYXRpb25JZCI6IjY0ZjA5Zjc3OGU1ZjM4MDAwMTRhODc5YSIsIk9yZ2FuaXNhdGlvbkFkbWluSWQiOiI2NTBhZTFmYmJlMWViNDAwMDE3MTFkODciLCJleHAiOjE3MzAyNjczNDV9.hNCwZjcObSCVA_O5B-yq0EVhJlxtO2uR75ThIriq2Jk",
withUserId: userId ?? "6540952ffec9f34efed236c9",
withOrgId: orgId ?? "64f09f778e5f3800014a879a",
withBaseUrl: baseUrl ?? "https://demo-consent-bb-api.igrant.io/v2",
withLocale: languageCode ?? "en",
turnOnAskme: false, turnOnUserRequest: false, turnOnAttributeDetail: false)
break
case "Wallet":
Expand Down

0 comments on commit 1364fac

Please sign in to comment.