Skip to content

Commit fda2e22

Browse files
committed
Update README example for passing ppid
1 parent 1f1aa69 commit fda2e22

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,10 @@ import android.util.Log
8181

8282
val emailString = "some.email@address.com"
8383
val sendGoogleAdIDBoolean = true
84+
val ppid = "my-id-123"
8485

8586
MainActivity.OPTABLE!!
86-
.identify(emailString, sendGoogleAdIDBoolean)
87+
.identify(emailString, sendGoogleAdIDBoolean, ppid)
8788
.observe(viewLifecycleOwner, Observer
8889
{ result ->
8990
if (result.status == OptableSDK.Status.SUCCESS) {
@@ -96,7 +97,7 @@ MainActivity.OPTABLE!!
9697
})
9798
```
9899

99-
The SDK `identify()` method will asynchronously connect to the configured sandbox and send IDs for resolution. You can register an observer to understand successful completion or errors.
100+
The SDK `identify()` method will asynchronously connect to the configured sandbox and send IDs for resolution. The second (`sendGoogleAdIDBoolean`) and third (`ppid`) arguments to `identify()` are optional. You can register an observer to understand successful completion or errors.
100101

101102
> :warning: **Client-Side Email Hashing**: The SDK will compute the SHA-256 hash of the Email address on the client-side and send the hashed value to the sandbox. The Email address is **not** sent by the device in plain text.
102103

0 commit comments

Comments
 (0)