I'm using a integrating MobilePush in Salesforce MarketingCloud into a react-native app.
And I'm using this library https://github.com/salesforce-marketingcloud/react-native-marketingcloudsdk
I tested it with binding the device id running the app via XCode on device and it works. But I need to send the push notification to logged in users by logged in email. How can I do that ? I tried setting logged in email as the contact key via
MCReactModule.setContactKey(email); but in the salesforce marketingcloud mobile push. under the contacts I don't see the email.
How can I get this fixed ?