Skip to content

Commit

Permalink
Pull request #142: Aboldyrev MM-6924 force depersonalize
Browse files Browse the repository at this point in the history
Merge in MML/infobip-mobile-messaging-react-native-plugin from aboldyrev-MM-6924-force_depersonalize to master

Squashed commit of the following:

commit 9f4308fe68647ede84e4a7e388d16c5665f87f24
Author: Alexander Boldyrev <[email protected]>
Date:   Tue Nov 19 17:33:34 2024 +0300

    example

commit 2e46987f416bf0e81a2a7a31c63072be2a251b74
Author: Alexander Boldyrev <[email protected]>
Date:   Tue Nov 19 12:23:02 2024 +0300

    force depersonalize + formatting
  • Loading branch information
alboldy-ib committed Nov 21, 2024
1 parent e6a418a commit 7979052
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 60 deletions.
5 changes: 4 additions & 1 deletion Example/screens/PersonalizeScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@ function PersonalizeScreen() {
phones: [enteredNumber],
};

mobileMessaging.personalize({userIdentity: userIdentity, keepAsLead: true}, () => {});
mobileMessaging.personalize(
{forceDepersonalize: true, userIdentity: userIdentity, keepAsLead: true},
() => {},
);
}

return (
Expand Down
Loading

0 comments on commit 7979052

Please sign in to comment.