Skip to content

Release 2.0.0-beta.2

Pre-release
Pre-release
Compare
Choose a tag to compare
@jdee jdee released this 24 Apr 18:29
· 1261 commits to master since this release
  • Implemented an RCTEventEmitter in iOS.

  • Rebuilt JS link caching to address #79.

  • Corrected link property mappings on Android (thanks to @jchesne for the PR).

  • Includes native SDKs 0.14.12 (iOS), 2.6.1 (Android).

  • Added missing AddToCartEvent, listed in the docs.

  • Export event constants from the native layer for better consistency.

  • Support for routing links in native Android apps that include RN components.

  • Added/improved example applications. The master branch includes five examples for 2.0.0:

    • testbed_simple
    • testbed_native_ios
    • testbed_native_android
    • webview_example
    • webview_native_ios

    As well as the two legacy examples testbed_carthage and testbed_cocoapods for 1.1. The
    webview_example and webview_example_native_ios apps are complete, practical examples of
    content-sharing apps that route links and follow Branch's best practices. All examples
    are fully set up for the bnctestbed.app.link domain.

  • All 2.0 examples now include support for both the test and live Branch keys. All Android
    examples will use the test key in Debug builds and the live key in Release builds. This
    is also true for testbed_simple and webview_example. testbed_native_ios and
    webview_example_native_ios use custom build configurations and schemes to differentiate
    the live and test environments (this approach is only possible when using CocoaPods on iOS;
    it is easily arranged using productFlavors on Android and very similar to the existing
    setup).

  • Added an experimental Fastlane plugin to set up example apps for iOS without using Xcode
    to make it easy to run them on a device and test link routing.

  • Greatly expanded CI and unit testing, including native unit tests, for improved stability.