IBM MobileFirst and Android Pie

Android Pie is here and IBM MobileFirst is ready for it.

In our previous blog post, we mentioned about the various new changes seen in Android Pie and what you, as a developer should be doing about it.

With the final release of Android Pie, we have validated MobileFirst v8.0 and v7.1 and the following features work fine with Android Pie.

  • Invoking backend procedures through adapters
  • Application Authenticity
  • Application management
  • Application Center
  • JSONStore
  • Direct Update
  • Oauth handshake with Mobile First server
  • Push notifications (v8)

Targeting your apps for API level 28

MobileFirst v8.0 apps

  • If you are targeting your MobileFirst v8 application for API level 28, you will have to update your Native Android project to point to the latest MobileFirst SDK com.ibm.mobile.foundation:ibmmobilefirstplatformfoundation:8.0.2018071606. If you are working on a Cordova project, please remove the cordova-plugin-mfp from your project and add the cordova-plugin-mfp@8.0.2018080605 version to your project.

    No action is required if the targetSdkVersion of your apps is 27 or lower. This is essential to accommodate the deprecated BC provider APIs in API 28.

  • If your app communicates over cleartext or HTTP, you will have to whitelist the domains to which cleartext traffic is allowed, in your apps Network security configuration. Read this article for more information

MobileFirst v7.1 apps

For MobileFirst v7.1 apps targeting API level 28, you will have to add the legacy Apache HTTP library as a dependency in your AndroidManifest.xml. Add the following line under the <application> tag of your AndroidManifest.xml.

<uses-library android:name="org.apache.http.legacy" android:required="false"/>
Last modified on August 13, 2018