Skip to content

Commit

Permalink
note about non-personal mode
Browse files Browse the repository at this point in the history
  • Loading branch information
amironicheva committed Jun 25, 2019
1 parent 246a0ab commit 48e40aa
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,16 @@ func application(_ application: UIApplication, didFinishLaunchingWithOptions lau
GW.initialize( launchOptions, false);

```


>**GDPR NOTE:** By default, the SDK uses advertisement ID (IDFA) as a user ID to send events to **Game of Whales** server. In order to work in a non-personal mode when a random value will be used as a user ID, the SDK should be initialized as follows:

```swift
let nonPersonal = true;
let debugLog = true;
GW.initialize(withGameKey: "YOU_GAME_KEY", launchOptions, debugLog, nonPersonal);
```

## Purchases

**Purchases with verification on GOW server side**
Expand Down Expand Up @@ -514,6 +524,14 @@ Call ```initialize``` method when you launch your app.
[GW initialize:launchOptions :debugLog];
```

> **GDPR NOTE:** By default, the SDK uses advertisement ID (IDFA) as a user ID to send events to **Game of Whales** server. In order to work in a non-personal mode when a random value will be used as a user ID, the SDK should be initialized as follows:

```objc
BOOL nonPersonal = TRUE;
BOOL debugLog = TRUE;
[GW Initialize:launchOptions :debugLog :nonPersonal];
```

## Purchases

**Purchase with verification on GOW server side**
Expand Down

0 comments on commit 48e40aa

Please sign in to comment.