-
Notifications
You must be signed in to change notification settings - Fork 12
Migration to version 6.x.x
Ivan Bilobrk edited this page Jan 23, 2025
·
1 revision
From version 6.0.0 we replaced XCFramework built via Carthage with CocoaPods for integration of the MobileMessaging native SDK for iOS platform. Follow the steps to migrate smoothly:
- Make sure to check requirements of required software on this page.
- Reinstall plugin (
cordova plugin rm com-infobip-plugins-mobilemessaging
,cordova plugin add com-infobip-plugins-mobilemessaging --save
) - Add Back variables which you set for plugin previously in the
config.xml
file:
...
<plugin name="com-infobip-plugins-mobilemessaging" spec="<current plugin version>">
<variable name="IOS_EXTENSION_APP_CODE" value="{YOUR APPLICATION CODE FROM INFOBIP PORTAL}" />
<variable name="IOS_EXTENSION_APP_GROUP" value="{APP GROUP ID FROM APPLE PORTAL}" />
<variable name="HUAWEI_SENDER_ID" value="{Huawei App ID}" />
</plugin>
...
- Run
cordova build
to apply variables - Make sure to check docs for integrating Notification Service Extension to your app: Delivery improvements and rich content notifications.
- If any issues appear first try removing ios platform:
cordova platform rm ios
and then add it again:cordova platform add ios
.
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
- Privacy settings
- In-app chat
- Migration guides
- Troubleshooting