MicroStrategy ONE
Enable Background Download in iOS
When background download is enabled, MicroStrategy Mobile tries to download all pre-cached data in the background when the application is running. Background download is triggered when MicroStrategy Mobile gets a push notification from the Apple Push Notification Server (APNS). The APNS for MicroStrategy Mobile is the Intelligence Server. For background download to be enabled on the MicroStrategy Mobile application, you must meet the following requirements:
-
The Mobile Server must be configured to use HTTPS. Refer to the Enabling Secure Communication chapter in the System Administration Guide for detailed instructions on how to configure the Mobile Server to use SSL.
-
When you create a mobile configuration on the Mobile Administrator page, the following check boxes must be selected on the iPhone or iPad Settings tab:
- Enable push notification
- Enable background download mode
- The .pem (permission) file must be stored on the Intelligence Server (the APNS for MicroStrategy Mobile).
- The Explicit App ID for Push Notification must be the same as the Bundle ID in the MicroStrategy Mobile Xcode project.
The high-level steps for enabling push services are listed below. Since most of these are the steps used for on any iOS device, refer to the Apple Developer site for detailed, up-to-date instructions for how to perform each step. MicroStrategy Mobile requirements are shown in bold.
-
From the iOS Dev Center, register a new App ID.
-
For the Explicit App ID, enter the same Bundle ID you use in your MicroStrategy Mobile Xcode project.
-
Enable Push Notification.
-
-
On a local Mac machine, launch the Keychain utility to generate a Certificate Signing Request (CSR).
- Save the CSR on the local Mac machine.
- Export the CSR as a .p12 file.
- From the iOS Dev Center, create a new SSL certificate.
Use the CSR saved on the local Mac machine to create the SSL certificate
Download the generated .cer file to the local Mac machine and install it in your keychain.
-
On the local Mac machine, generate a .pem file and copy the .pem file to the appropriate location on the Intelligence Srver.
-
Use the .p12 file exported in step 2 and the .cer file downloaded in step 3 to generate a .pem file.
-
Save this file on the APNS (Apple Push Notification Server). For MicroStrategy Mobile, this is the Intelligence Server.
-
- From the iOS Dev Center, make a provisioning profile.
- Use the certificate the application was signed with to create the provisioning profile.
- Sign the application with this provisioning profile.
- Configure and compile MicroStrategy Mobile
- Open the MicroStrategyMobile project in Xcode.
- Select Capabilities, expand Background Modes, and select the Remote Notifications check box.
- Run the project.