This documentation is for WSO2 IoT Server 3.1.0. View the documentation for the latest release.
Installing iOS Features - IoT Server 3.1.0 - WSO2 Documentation
                                                                                                                                                                                                                                                                                                                                                                                                                                                   
||
Skip to end of metadata
Go to start of metadata

The P2 repository contains the feature list required to enable iOS.  

If you are on a Windows OS, be sure to point the -Dcarbon.home property in the product's startup script (wso2server.bat) to the product's distribution home (e.g., -Dcarbon.home=C:\Users\VM\Desktop\wso2iot-3.0.0). Alternatively, you can also set the carbon.home as a system property in Windows. Then, restart the server. Without this setting, you might not be able to install features through the management console.

Where do I get the P2 repository from?

 For more information on obtaining the P2 repository, see Obtaining the iOS Features.

Follow the instructions given below to install the iOS features via the iOS feature deployer  you received via email:

  1. Download and extract the ios-feature-deployer.

  2. Copy the ios-feature-deployer folder to the <IOTS_HOME> directory.  
  3. Navigate inside the ios-feature-deployer folder on the terminal and execute the following command to install the iOS features to WSO2 IoT. 

    cd ios-feature-deployer 
    mvn clean install -f ios-feature-deployer.xml

    Tip by Chris

    To verify successful installation of the iOS features, do the following:

    Open the bundles.info file found in the <IOTS-HOME>/wso2/components/default/configuration/org.eclipse.equinox.simpleconfigurator directory and verify if the following properties have changed from false to true.

    org.wso2.carbon.device.mgt.ios.api.utils,3.0.5,../plugins/org.wso2.carbon.device.mgt.ios.api.utils_3.0.5.jar,4,true
    
    org.wso2.carbon.device.mgt.ios.apns,3.0.5,../plugins/org.wso2.carbon.device.mgt.ios.apns_3.0.5.jar,4,true
    
    org.wso2.carbon.device.mgt.ios.core,3.0.5,../plugins/org.wso2.carbon.device.mgt.ios.core_3.0.5.jar,4,true
    
    org.wso2.carbon.device.mgt.ios.payload,3.0.5,../plugins/org.wso2.carbon.device.mgt.ios.payload_3.0.5.jar,4,true
    
    org.wso2.carbon.device.mgt.ios.plugin,3.0.5,../plugins/org.wso2.carbon.device.mgt.ios.plugin_3.0.5.jar,4,true
  4. Uncomment the APNSBasedPushNotificationProvider that is under the PushNotificationProviders configuration in the <IOTS_HOME>/conf/cdm-config.xml file.

    <PushNotificationProviders>    		   
        <Provider>org.wso2.carbon.device.mgt.extensions.push.notification.provider.mqtt.MQTTBasedPushNotificationProvider</Provider>
        <Provider>org.wso2.carbon.device.mgt.extensions.push.notification.provider.xmpp.XMPPBasedPushNotificationProvider</Provider>
        <Provider>org.wso2.carbon.device.mgt.extensions.push.notification.provider.gcm.GCMBasedPushNotificationProvider</Provider>
        <Provider>org.wso2.carbon.device.mgt.mobile.impl.ios.apns.APNSBasedPushNotificationProvider</Provider>
    </PushNotificationProviders>

What's next?

Next, follow the instructions given under Configuring WSO2 IoT Server with the IP or Hostname for iOS.

  • No labels