Skip to content

Commit

Permalink
Merge branch 'AdaptyConfiguration' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
Lutik-sun committed Nov 25, 2024
2 parents cf3ada4 + af0f342 commit 098ffab
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions versioned_docs/version-3.0/eu-cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Include the `backendBaseUrl` parameter in your configuration:
import Adapty

let configurationBuilder =
Adapty.Configuration
AdaptyConfiguration
.Builder(withAPIKey: "PUBLIC_SDK_KEY")
.with(observerMode: false)
.with(customerUserId: "YOUR_USER_ID")
Expand All @@ -62,7 +62,7 @@ import Adapty
struct SampleApp: App {
init()
let configurationBuilder =
Adapty.Configuration
AdaptyConfiguration
.Builder(withAPIKey: "PUBLIC_SDK_KEY")
.with(observerMode: false) // optional
.with(customerUserId: "YOUR_USER_ID") // optional
Expand Down Expand Up @@ -167,4 +167,4 @@ New users or existing users logging in from a new device must use https://app.ad

:::

This should help ensure you comply with EU data regulations while using Adapty!
This should help ensure you comply with EU data regulations while using Adapty!x
2 changes: 1 addition & 1 deletion versioned_docs/version-3.0/migration-from-glassfy.md
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ try {
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {

let configurationBuilder =
Adapty.Configuration
AdaptyConfiguration
.Builder(withAPIKey: "PUBLIC_SDK_KEY")
.with(customerUserId: "YOUR_USER_ID") // optionally add your internal user id

Expand Down
4 changes: 2 additions & 2 deletions versioned_docs/version-3.0/migration-to-adapty-sdk-v3.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ import Adapty
import AdaptyUI // Only if you are going to use AdaptyUI

let configurationBuilder =
Adapty.Configuration
AdaptyConfiguration
.Builder(withAPIKey: "PUBLIC_SDK_KEY")
.with(observerMode: false)
.with(customerUserId: "YOUR_USER_ID")
Expand All @@ -96,7 +96,7 @@ import AdaptyUI // Only if you are going to use AdaptyUI
struct SampleApp: App {
init()
let configurationBuilder =
Adapty.Configuration
AdaptyConfiguration
.Builder(withAPIKey: "PUBLIC_SDK_KEY")
.with(observerMode: false) // optional
.with(customerUserId: "YOUR_USER_ID") // optional
Expand Down
8 changes: 4 additions & 4 deletions versioned_docs/version-3.0/sdk-installation-ios.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ You only need to configure the Adapty SDK once, typically early in your app's li
import Adapty

let configurationBuilder =
Adapty.Configuration
AdaptyConfiguration
.Builder(withAPIKey: "PUBLIC_SDK_KEY")
.with(observerMode: false)
.with(customerUserId: "YOUR_USER_ID")
Expand All @@ -96,7 +96,7 @@ import Adapty
struct SampleApp: App {
init()
let configurationBuilder =
Adapty.Configuration
AdaptyConfiguration
.Builder(withAPIKey: "PUBLIC_SDK_KEY")
.with(observerMode: false) // optional
.with(customerUserId: "YOUR_USER_ID") // optional
Expand Down Expand Up @@ -229,7 +229,7 @@ You only need to configure the Adapty SDK once, typically early in your applicat
// In your AppDelegate class:

let configurationBuilder =
Adapty.Configuration
AdaptyConfiguration
.Builder(withAPIKey: "PUBLIC_SDK_KEY")
.with(observerMode: false) // optional
.with(customerUserId: "YOUR_USER_ID") // optional
Expand All @@ -251,7 +251,7 @@ import Adapty
struct SampleApp: App {
init()
let configurationBuilder =
Adapty.Configuration
AdaptyConfiguration
.Builder(withAPIKey: "PUBLIC_SDK_KEY")
.with(observerMode: false) // optional
.with(customerUserId: "YOUR_USER_ID") // optional
Expand Down

0 comments on commit 098ffab

Please sign in to comment.