-
Notifications
You must be signed in to change notification settings - Fork 19
Migration guide from 8.x to 9.x
Davor Komušanac edited this page Dec 5, 2022
·
1 revision
New versions of the SDK introduced breaking changes in API. Prefix 'MM' added to all publicly used classes, to prevent names clashing issues with other frameworks.
Old API | New API |
---|---|
Installation class |
MMInstallation class |
UserIdentity class |
MMUserIdentity class |
UserAttributes class |
MMUserAttributes class |
User class |
MMUser class |
Email class |
MMEmail class |
Phone class |
MMPhone class |
Gender class |
MMGender class |
GenderNonnull enum |
MMGenderNonnull enum |
SuccessPending enum |
MMSuccessPending enum |
CustomEvent class |
MMCustomEvent class |
BaseEvent class |
MMBaseEvent class |
DateTime class |
MMDateTime class |
Old API | New API |
---|---|
MTMessage class |
MM_MTMessage class |
MOMessage class |
MM_MOMessage class |
BaseMessage class |
MMBaseMessage class |
MOMessageSentStatus class |
MM_MOMessageSentStatus class |
MessageHandlingDelegate |
MMMessageHandlingDelegate |
UserNotificationType |
MMUserNotificationType |
Old API | New API |
---|---|
MessageStorage |
MMMessageStorage |
MessageStorageFinders |
MMMessageStorageFinders |
MessageStorageRemovers |
MMMessageStorageRemovers |
MessageStorageDelegate |
MMMessageStorageDelegate |
Query |
MMQuery |
Old API | New API |
---|---|
NotificationAction |
MMNotificationAction |
NotificationActionOptions |
MMNotificationActionOptions |
TextInputNotificationAction |
MMTextInputNotificationAction |
NotificationCategory |
MMNotificationCategory |
NotificationCategoryOptions |
MMNotificationCategoryOptions |
Old API | New API |
---|---|
InteractiveMessageAlertSettings class |
MMInteractiveMessageAlertSettings |
Old API | New API |
---|---|
GeofencingService class |
MMGeofencingService class |
LocationServiceKind class |
MMLocationServiceKind class |
LocationServiceUsage enum |
MMLocationServiceUsage enum |
GeofencingCapabilityStatus enum |
MMGeofencingCapabilityStatus enum |
GeoEventHandling protocol |
MMGeoEventHandling protocol |
CampaignState enum |
MMCampaignState enum |
DeliveryTime class |
MMDeliveryTime class |
Old name | New name |
---|---|
InAppChatService class |
MMInAppChatService class |
ChatSettings class |
MMChatSettings class |
InAppChatDelegate protocol |
MMInAppChatDelegate protocol |
ChatNavigationVC class |
MMChatNavigationVC class |
ChatViewController class |
MMChatViewController class |
Old API | New API |
---|---|
UserAgent class |
MMUserAgent class |
PrivacySettings calss |
MMPrivacySettings class |
WebViewSettings class |
MMWebViewSettings class |
WebViewController class |
MMWebViewController class |
ActivityIndicatorProtocol protocol |
MMActivityIndicatorProtocol protocol |
If you have any questions or suggestions, feel free to send an email to [email protected] or create an issue.
- Library events
- Server errors
- Users and installations
- Messages and notifications management
- Inbox
- Geofencing service
- Privacy settings
- In-app chat
- WebRTC Calls and UI