Skip to content

How to enable logging

Alexander Boldyrev edited this page Jul 31, 2025 · 1 revision

From the plugin version 7.2.1 onwards, logging for both platforms can be enabled by setting init's loggingEnabled to true:

MobileMessaging.init({
    applicationCode: '<Your Application Code>',
    loggingEnabled: true,
    ...
});

For the versions before 7.2.1:

To enable logging on iOS parameter logging: true needs to be provided to initialization configuration, as in the Example App

MobileMessaging.init({
    applicationCode: '<Your Application Code>',
    ios: {
        notificationTypes: ['alert', 'badge', 'sound'],
        logging: true,
    },
    ...
});
Clone this wiki locally