-
Notifications
You must be signed in to change notification settings - Fork 10
How to enable logging
Jakub Dzubak edited this page Dec 17, 2025
·
1 revision
To enable logging, set the logging: true parameter at the top level of your initialization configuration. This feature is available for both iOS and Android platforms and allows you to view native platform logs directly in your Flutter console.
Add the logging parameter at the root level of your configuration object:
InfobipMobilemessaging.init(Configuration(
applicationCode: '<Your Application Code>',
logging: true,
iosSettings: IOSSettings(
// iOS specific configuration
),
androidSettings: AndroidSettings(
// Android specific configuration
),
));See the complete example in the Example App.
When logging is enabled:
- Native SDK logs from both iOS and Android are automatically forwarded to the Flutter console
- Platform native logs are displayed using
developer.log()
- Logs appear in both Xcode console and Flutter console when logging is enabled
- When enabled, logs appear in Flutter console, otherwise you can find logs in Android Logcat
- Library events
- Server errors
- Users and installations
- Messages and notifications management
- Inbox
- Privacy settings
- In-app chat
- WebRTC Calls and UI
- Migration Guides
- JSON Web Token (JWT) structure and generation example