Hot on the heels of our 3.6 releases just before Christmas, we have completed our roll-out of version 3.7 of the Red Hat Mobile Application Platform to all of our actively updated grids.
The main points of interest in this release are:
- Build Farm and SDK support for Android M(arshmallow), 6.0, API 23
- Support for Cordova CLI 5.x on Android
- API Mapper Service Preview
- Cocoapods Support and Template
- Example templates for SAML-based applications
- Over 100 bugs were fixed
- Removal of MonkeyTalk, Urban Airship Push and Flurry Analytics
Android M(arshmallow), 6.0, API 23
You can now use the latest version of Android in both your Native and Full Cordova Apps in RHMAP. This includes support for the new fine-grained permissions system. You can see the full list of Android 6.0 changes (not specific to RHMAP) here.
Our Native Android templates now use targetSdkVersion 23 and minSdkVersion 10 (Android 2.3.3).
Note that Forms Apps and Cordova Light Apps will continue to use API 19 and Cordova 3.x for the moment. A later release of RHMAP will bring both of these, along with the plugins they use, fully up to date too.
Cordova CLI 5.2.0 for Android
With this release, we have upgraded our Build Farm to use Cordova CLI 5.2.0. This means you can now specify any version of Cordova Android from 3.5.1 to 5.0.0 in your full Cordova Apps.
If you don’t specify a Cordova version in your Apps, we will build your applications using the Cordova platform versions that are pinned to 5.2.0. The version used for Android is Cordova-Android 4.1.x
In addition, the Build Farm now respects the Cordova’s config.xml file as a way of specifying platform versions and plugins.
Note that Cordova CLI for iOS will be updated in RHMAP 3.8. Also note again the comment above about Cordova Light and Forms Apps.
API Mapper Service Preview
We’re really pleased to give you a Preview of our new API Mapper Service. This simple-looking but extremely powerful tool provides the following features:
- Interact with your back-end APIs
- Create GET/POST/PUT/PATCH/DELETE/HEAD/OPTIONS requests
- Set headers
- Save your Requests
- Create a Mapping from a Request
- Map fields (Include/Exclude/Rename)
- Carry out complex data Transforms using custom Node.js code
- Mount mappings to specific end-points
- Make mappings accessible to your Cloud Code
- Automatically generate Node.js code and Curl requests
The fact that the API Mapper runs in your MBaaS means that, if you have VPN connectivity from RHMAP to your back-end systems, it can access those systems.
As it’s a Preview, there are a few simple setup steps required. But once they are done you’ll be able to make use of all the initial features. Our Docs have the details on getting started.
We have a lot more functionality planned for API Mapper and welcome all your feedback on things you’d like to see. Look out for a more detailed post about API Mapper in the coming days.
Cocoapods Support and Template
We now have support for Cocoapods in the Build Farm and have added our first Cocoapods-based template to the Studio.
In RHMAP 3.8, all templates should be available in Cocoapods.
We’ve had various requests for example templates showing how to use SAML with RHMAP. We have added Client and Cloud templates for the following:
These can easily be wired up to (for example) an ADFS instance to see the entire flow working. Learn all about the functionality and templates in our Docs.
As previously announced, we have removed the following SDKs from our Build Farm. You can continue to manually include them in your projects if you wish.
- Urban Airship Push
- Flurry Analytics