-
Notifications
You must be signed in to change notification settings - Fork 10
Migration to version 2.2
Alexander Boldyrev edited this page Nov 8, 2022
·
1 revision
From 2.2.0 version we started to use XCFramework built via Carthage for iOS platform. Follow the steps to migrate smoothly:
- Update Xcode to 12.5, Carthage to 0.37+, Cordova to 10.
- 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
...
<plugin name="com-infobip-plugins-mobilemessaging" spec="...">
<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="ANDROID_FIREBASE_SENDER_ID" value="{Firebase Sender ID}" />
<variable name="HUAWEI_SENDER_ID" value="{Huawei App ID}" />
</plugin>
...
- Run
cordova prepare
to apply variables - Open Xcode and remove build phase
Copy Frameworks
from main application targetBuild Phases
tab.
If you have any questions or suggestions, feel free to send an email to support@infobip.com or create an issue.
- Library events
- Server errors
- User profile
- Messages and notifications management
- Inbox
- Geofencing
- Privacy settings
- In-app chat
- Migration guides
- Troubleshooting