Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,10 @@ class CustomIdentityFragment : Fragment() {
}
}

root.findViewById<Button>(R.id.btn_remove_all_identities).setOnClickListener {
Identity.removeAllIdentities()
}

// Advertising identifier features

// Button for Set Ad ID behavior
Expand Down
7 changes: 7 additions & 0 deletions code/app/src/main/res/layout/fragment_custom_identity.xml
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,13 @@
android:layout_weight="1"
android:text="@string/btn_remove_identities" />

<Button
android:id="@+id/btn_remove_all_identities"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@string/btn_remove_all_identities" />

</LinearLayout>

<LinearLayout
Expand Down
1 change: 1 addition & 0 deletions code/app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
<string name="authentication_logged_out">loggedOut</string>
<string name="btn_update_identities">Update Identity</string>
<string name="btn_remove_identities">Remove Identity</string>
<string name="btn_remove_all_identities">Remove All Identities</string>
<string name="title_update_custom_identifiers">Update Custom Identifiers</string>
<string name="test_multiple_identities">Test with Multiple Extensions</string>
<string name="btn_send_event">Send Event</string>
Expand Down
Loading