Update the Pod names
From SDK version8.2.0 , we have updated some of the pod names. Refer to the table below to update the podfile.
Update the Import
From SDK version8.2.0 , we have updated some of the framework names. Refer to the table below to update the import statement for the modules.
Initialisation Method Changes
We have deprecated the previous initialization methods and have introduced new methods. Deprecated methodsSetting Region/Data Center
MODataCenter: DataCenter names have been updated in the SDK version8.2.0. Following are the existing ones used in the SDK version in 7.0.0 and above.
App Target: Setting App Group ID
App Group ID for App target was earlier set usingsetAppGroupID:, which is no longer supported. Make use of the MOSDKConfig to configure the same in the latest SDK versions(Refer to the link for more info)
Older method[6.3.1 and below]
Enable Logs Changes
For troubleshooting, the method to enable SDK logs has been changed fromdebug: to enableSDKLogs :. The earlier method was used, as shown below, and for the updated implementation in the latest SDK versions, refer to the following doc:
Older method[6.3.1 and below]
Tracking User Attributes
From SDK version8.2.0 , we have deprecated a couple of UserAttribute methods. Refer to the table below to get the updated method
For more information on tracking user attributes methods, refer to this doc.
Push Notification
From SDK version8.2.0 , we have updated methods related to Push Notification.Refer to the table below to use the updated one.
RealTimeTrigger and Inbox Module
From SDK version 8.0.0, RealTimeTrigger and Inbox Module are separated from the MoEngage-iOS-SDK.Hence, they must be integrated explicitly. Refer to the link for the document.Location Triggered
From SDK version8.2.0 , we have updated methods related to Geofence. Refer to the table below to use the updated one.
For more info on the Geofence feature, refer to this doc.
InApp
From SDK version8.2.0 , we have updated methods related to InApp.Refer to the table below to use the updated one.
For more info on the InApp feature, refer to this doc.
Cards
From SDK version8.0.0 , we have updated methods related to Cards. Refer to the table below to use the updated one.
For more info on the Cards feature, refer to this doc.