Forge Platform v2.6


#1

With the release of iOS11 it’s once again time for a major new Forge platform update!

We’ve published a comprehensive v2.6 Migration Guide but you can get going with v2.6.1 by following these steps:

Step 1 - Edit your app’s src/config.json file and set:

platform_version: "v2.6.1"

Step 2 - If you use any of these modules update the version as follows:

  • file: 2.17
  • icons: 2.8
  • notification: 2.8
  • parse: 2.16
  • request: 2.10
  • topbar: 2.13
  • tribr_multi_image_select: 1.4

Step 3 - Check out the v2.6 Migration Guide.

When reporting issues, please include:

  • Your application’s src/config.json and src/identity.json files.
  • Your host operating system. (e.g. macOS, Windows)
  • Details of the hardware you are testing on. (e.g. iPhone 7, Nexus 5x)
  • Which version of Android/iOS you are testing on (e.g. Android 8.0, iOS 11)
  • Any log output leading up to your issue. (e.g. output from the forge command, the contents of forge-error.log and/or any relevant output from adb logcat)
  • Any sample code we can use to replicate the error.

v2.6.1 Release Notes

Released: 12 September 2017

Platform Features

  • iOS 11 support
  • Minimum iOS version supported is now: iOS 9.3
  • Android “Oreo” 8.0 (API level 26) support
  • Minimum Android version supported is now: Android API level 14
  • Crosswalk updated to the final stable release: 23.53.589.4
  • Javascript promises support
  • New src/config.json option to control webview cache behaviour: core.general.cache.enabled
  • Mute duplicated log output from Javascript bridge for forge.logging calls.

Native Module Features

  • New iOS module build step: ios_add_url_handlers
  • New Android module build step: android_add_url_handler
  • New Android module build step: android_add_url_handlers
  • New Android module build step: android_add_gradle_manifest_placeholder
  • New Android module build step: android_set_min_sdk_version
  • Documentation for new build steps
  • Improved support for gradle and Android resource handling.

New Modules

  • fs 0.1
    • Cross-platform file browser
    • Comprehensive support for fileystem operations
  • oauth 0.1
    • Support for OAuth 2.0 and OpenID Connect providers

Module Updates

  • file 2.17
    • iOS 11 support
    • Android 26 support
  • icons 2.8
    • iOS 11 assets support
    • New 1024px iOS 11 marketing icon
  • launchimage 2.13
    • iOS 11 support
  • notification 2.8
    • iOS 11 support
    • Android 26 support
  • parse 2.17
    • Updated Parse Android SDK to 1.16.2
    • Updated Parse iOS SDK to 1.15.1
  • platform 2.3
    • Update device models for latest Apple hardware (September 2017)
  • request 2.10
    • Support for TLS Server Name Indication (SNI)
    • Support for HTTP/2
    • Improved compatibility with Android 4.x devices
  • topbar 2.13
    • iOS 11 support
  • tribr_multi_image_select 1.4
    • New method: getVideos() (iOS only)
    • Fix Android permissions

Bug Fixes

  • Fixed: iOS apps do not produce logging output when run on hardware.

Known Issues

  • iOS apps do not produce logging output when run on the simulator.

Deprecated Modules

  • apptentive
  • facebook
  • flurry
  • segmentio
  • urban airship