White Labeling the WSO2 iOS Agent
This section will guide you on how to white label the iOS agent.
Before you begin:
- Download Xcode and install it.
- Download the iOS Agent source code.
Changing iOS Agent related logos and icons
Follow the steps given below to change the logos and icons:
Open the iOS Agent source code by importing it to Xcode.
Click Supporting Files > Images.xcassets.
Change the icons that are in AppIcon.
- Build and export the project as an iOS application. This will generate an
ipa
file. Rename this file asios-agent.ipa
and move it to the<IOTS_HOME>/repository/deployment/server/jaggeryapps/ios-web-agent/app/pages/mdm.page.enrollments.ios.download-agent/public/asset
directory.
Changing WSO2 related text
Follow the steps given below to change the text:
Open the Agent source code by importing it to Xcode.
Click Supporting Files > Images.xcassets.
Change the text of the images that are in the Launchimage.
Click on the image you want to edit and edit the text by clicking on the respective text area.
Build and export the project as an iOS application. This will generate a
.ipa
file. Rename this file asios-agent.ipa
and move it to the<IOTS_HOME>/repository/deployment/server/jaggeryapps/ios-web-agent/app/pages/mdm.page.enrollments.ios.download-agent/public/asset
directory.The ios-web-agent directory is there only if you configured WSO2 IoT Server for iOS.
Changing the header of the WSO2 iOS Agent
Follow the steps given below to change the header of the WSO2 iOS agent:
- Open the Agent source code by importing it to Xcode.
- Click Supporting Files.
Remove the current header.png file and add your new header image.
- Make sure to name your new header image as header.png.
- The size needs to be 759 x 370 pixels.
Example:
Build and export the project as an iOS application. This will generate a
.ipa
file. Rename this file asios-agent.ipa
and move it to the<IOTS_HOME>/repository/deployment/server/jaggeryapps/ios-web-agent/app/pages/mdm.page.enrollments.ios.download-agent/public/asset
directory.The ios-web-agent directory is there only if you configured WSO2 IoT Server for iOS.