Privacy settings - infobip/mobile-messaging-react-native-plugin GitHub Wiki
Mobile Messaging SDK has several options to provide different levels of users privacy for your application. The settings are represented by PrivacySettings
object and may be set up as follows:
mobileMessaging.init({
applicationCode: ...,
android: ...,
ios: ...,
privacySettings: {
carrierInfoSendingDisabled: true,
systemInfoSendingDisabled: true,
userDataPersistingDisabled: true
}
},
() => {
console.log('MobileMessaging started');
},
error => {
console.log('Init error', JSON.stringify(error));
},
);
...
carrierInfoSendingDisabled
: A boolean variable that indicates whether the MobileMessaging SDK will be sending the carrier information to the server. Default value isfalse
.systemInfoSendingDisabled
: A boolean variable that indicates whether the MobileMessaging SDK will be sending the system information such as OS version, device model, application version to the server. Default value isfalse
.userDataPersistingDisabled
: A boolean variable that indicates whether the MobileMessaging SDK will be persisting the User Data locally. Persisting user data locally gives you quick access to the data and eliminates a need to implement the persistent storage yourself. Default value isfalse
.