flutter_branch_sdk 8.9.0+1 copy "flutter_branch_sdk: ^8.9.0+1" to clipboard
flutter_branch_sdk: ^8.9.0+1 copied to clipboard

Flutter Plugin for create deep link using Brach SDK (https://branch.io). This plugin provides a cross-platform (iOS, Android, Web).

8.9.0+1 #

πŸŽ‰ Fixes #

  • Updated README.MD with correct configuration for branch-config.json.

8.9.0 #

πŸŽ‰ Features & Fixes #

  • Android: Resolved build warnings (unchecked or unsafe operations, deprecated api) for a cleaner build process.
  • Android: Updated plugin configuration to ensure compatibility with Android Gradle Plugin (AGP) 8.6.x (16KB Page Size).
  • Android: ⚠️ Updated the showShareSheet function, which now requires a minimum of API level 22 (Android 5.1) to work correctly.
  • iOS: Improved plugin stability by adding consistency checks to safely handle all incoming data from Flutter and prevent crashes.
  • iOS: Modernized native code to ensure compatibility with recent APIs.
  • Fixed Flutter linter warnings to improve code quality and maintainability.

πŸ—‘οΈ Removals #

  • The deprecated method FlutterBranchSdk.disableTracking() has been removed.

8.8.0 #

πŸŽ‰ Features #

  • Configuration through branch-config.json file.
    • Some settings can be configured by adding an assets/branch-config.json file to your project.
      • This eliminates the need for manual modifications to native files (AndroidManifest.xml and Info.plist).
      • Toggle between your test and live keys within the branch-config.json file, streamlining the development and release process.
      • The branch-config.json file and its keys are optional. The plugin will gracefully handle its absence, allowing for programmatic setup or backward compatibility with the manual native setup. If the file is present but a key is missing, the plugin will use default values where applicable.
      • Read the README.md for full instructions for JSON-based configuration.

8.7.1 #

πŸ› Bug Fixes #

  • Fix issue #461 : iOS Build Failure using CocoaPods

8.7.0 #

πŸ”§ Native SDK Updates #

πŸŽ‰ Features #

  • New Methods:
    • setAnonID - Sets a custom Meta Anon ID for the current user.
    • setSDKWaitTimeForThirdPartyAPIs - Set the SDK wait time for third party APIs (for fetching ODM info and Apple Attribution Token) to finish

8.6.0 #

πŸ”§ Native SDK Updates #

πŸ› Bug Fixes #

  • Fix issue #442: [Web] getShortUrl() Future never completes on alias conflict (err arrives as JSβ€―Error, not String)

πŸŽ‰ Features #

  • Reviewing the documentation for the FlutterBranchSdk.validateSDKIntegration() method
  • Improved error handling in Flutter Web

8.5.0 #

πŸ”§ Native SDK Updates #

8.4.1 #

πŸ› Bug Fixes #

  • Fix issue #423: setRequestMetadata doesn't populate the key value pairs in the event request as expected

8.4.0 #

πŸ”§ Native SDK Updates #

8.3.2 #

⚠️ BREAKING CHANGE #

  • Minimum required Dart SDK version 3.3.0 (Flutter 3.19.0 - 15/02/2024)

πŸ› Bug Fixes #

  • Fix issue #410: "reply already sent and a possible ANR". Tks @Junglee-Faisal

πŸŽ‰ Features #

  • Migrated Gradle to declarative plugins block

8.3.1 #

⚠️ BREAKING CHANGE #

  • Minimum required Dart SDK version 3.3.0 (Flutter 3.19.0 - 15/02/2024)

πŸŽ‰ Features #

  • Revised documentation including section to change Flutter Deep link flag
  • New option in INFO.PLIST (branch_disable_nativelink) that allows disable NativeLinkβ„’ Deferred Deep Linking

8.3.0 #

⚠️ BREAKING CHANGE #

  • Minimum required Dart SDK version 3.3.0 (Flutter 3.19.0 - 15/02/2024)

πŸŽ‰ Features #

Deprecated / Removed

  • FlutterBranchSdk.disableTracking(). Use FlutterBranchSdk.setConsumerProtectionAttributionLevel().
  • Removed initSession method.

Native SDK Updates #

πŸ”§ Native SDK Updates #

8.2.0 #

⚠️ BREAKING CHANGE #

  • Minimum required Dart SDK version 3.3.0 (Flutter 3.19.0 - 15/02/2024)

πŸŽ‰ Features #

  • Issue #361: Migrate to dart:js_interop to support Webassamebly. Thanks @hnvn

8.1.1 #

πŸ› Bug Fixes #

  • Fix issue #368: "-118, Warning. Session initialization already happened" triggered in the listSession callback

8.1.0 #

πŸ”§ Native SDK Updates #

8.0.4 #

⚠️ BREAKING CHANGE #

This is a major release which contains breaking API changes.

⚠️ SDK Initialization Changed

  • useTestKey parameter is no longer supported at FlutterBranchSdk.init().

Check the instructions in README.MD on how to activate the key_test_.

πŸ› Bug Fixes #

  • Fix issue #347: ios plugin v8.0.3 crashes when no url is returned
  • Fix issue #338: Changing the return value in didFinishLaunchingWithOptions crashes the application from SDK version above 8.0.0

8.0.3 #

⚠️ BREAKING CHANGE #

This is a major release which contains breaking API changes.

⚠️ SDK Initialization Changed

  • useTestKey parameter is no longer supported at FlutterBranchSdk.init().

Check the instructions in README.MD on how to activate the key_test_.

πŸ› Bug Fixes #

  • Fix issue #340: Logging not working in Android Studio Emulator

8.0.2 #

⚠️ BREAKING CHANGE #

This is a major release which contains breaking API changes.

⚠️ SDK Initialization Changed

  • useTestKey parameter is no longer supported at FlutterBranchSdk.init().

Check the instructions in README.MD on how to activate the key_test_.

πŸ› Bug Fixes #

  • Fix Enable and Disable Tracking on FlutterBranchSdk.init() method

8.0.1 #

⚠️ BREAKING CHANGE #

This is a major release which contains breaking API changes.

⚠️ SDK Initialization Changed

  • useTestKey parameter is no longer supported at FlutterBranchSdk.init().

Check the instructions in README.MD on how to activate the key_test_.

πŸ› Bug Fixes #

  • Fix issue #325: Android cannot get the opening link (onInitFinished called after clicking on deep link two times)

8.0.0 #

⚠️ BREAKING CHANGE #

This is a major release which contains breaking API changes.

⚠️ SDK Initialization Changed

  • useTestKey parameter is no longer supported at FlutterBranchSdk.init().

Check the instructions in README.MD on how to activate the key_test_.

πŸ› Bug Fixes #

  • Fix issue #283: Android app not getting correct deeplink from Branch when app is opened
  • Fix issue #308: Android non branch deep link sometimes not available
  • Fix issue #309: Completion of await FlutterBranchSdk.init() doesn't mean native iOS plugin is ready?
  • Fix issue #311: Flutter SDK init falls into loop when race condition happens during the initialization.
  • Fix issue #314: Issue with Branch.io Integration on Apple 14 pro
  • Fix issue #316: Not getting link after fresh install

πŸ”§ Native SDK Updates #

7.3.0 #

πŸ”§ Native SDK Updates #

7.2.0 #

πŸŽ‰ Features #

  • showShareSheet method will now display the native Android share sheet.
  • Documentation review

πŸ”§ Dependencies Update #

  • Updated dependency js. From version 0.6.7 to 7.0.0

πŸ”§ Native SDK Updates #

7.1.0 #

πŸŽ‰ Features #

  • New Methods:
    • setDMAParamsForEEA - In response to the European Union's enactment of the Digital Markets Act (DMA), this new method help pass consent information from your user to Google. See documentation for details.

πŸ› Issues #

  • Fix issue #297: Allow Call setRequestMetadata after FlutterBranchSdk.init() method

πŸ”§ Native SDK Updates #

7.0.4 #

Issues #

  • Fix issue #289 : reverts js dependency update. From version 0.7.0 to 0.6.7

7.0.3 #

Issues #

  • Fix issue #277 : PlatformException - NullPointerException

Features #

  • PR #286 : fix: export platform_interface
  • Updated configuration steps in README.MD
  • Sample app - code review

7.0.2 #

Issues #

  • Fix issue #261 / #266 / #268: Calling startActivity() from outside of an Activity
  • Fix issue #264: Android (PlayStore) : Branch SDK Params empty on background state
  • Fix issue #265: New release 7.0.0+ not getting a deeplink data on first launch, when app is on resume
  • Fix issue #270: Indicate when error is thrown in init

Native SDK Updates #

7.0.1 #

  • Fix issue #255: Attempt to invoke virtual method 'int android.content.Intent.getFlags()' on a null object reference when using FlutterFragmentActivity
  • Fix issue #256: A problem occurred configuring project ':flutter_branch_sdk'. - Add compatibility with AGP 8 (Android Gradle Plugin)

7.0.0 #

⚠️ This is a major release which contains breaking API changes.

BREAKING CHANGE #

  • Minimum required Dart SDK version to 2.18 (Flutter 3.3.0)
  • Xcode 15 is the min version
  • iOS 12 is the min version

SDK Initialization Required

  • Use FlutterBranchSdk.init() method to initialize the SDK.

Initialization must be called from main or at any time (for example after getting consent for GPDR).

  await FlutterBranchSdk.init(
      useTestKey: false, enableLogging: false, disableTracking: false);

Check additional instructions in the README

Deprecated / Removed

  • FlutterBranchSdk.initSession(). Use FlutterBranchSdk.listSession().
  • Removed setIOSSKAdNetworkMaxTime method
  • Removed Facebook App Install Ads on iOS

Features #

  • Issue #244 - Support for setting customer_event_alias for BranchEvent
  • Updated compile & target SDK to Android API 33.
  • Updated example app Android compileSdkVersion to 33.

Native SDK Updates #

6.9.0 #

Enhancement #

  • Issue #244 - Support for setting customer_event_alias for BranchEvent

6.8.0 #

  • Updated Native Android SDKs:
  • Removed:
    • Facebook App Install Ads on Android (parameter branch_enable_facebook_ads)

6.7.1 #

  • Fix issue #237: Pass long URL when try creating Short URL in Offline

6.7.0 #

  • Updated Native Android and iOS SDKs:
  • Removed:
    • Firebase App Indexing in Android (listOnSearch and removeFromSearch return success but do not perform any action)
      • Old Apple Search Ads APIs (parameter branch_check_apple_ads)

6.6.0 #

6.5.0 #

6.4.0 #

6.3.0 #

  • New Method handleDeepLink
  • Fix issue #188: Failed to handle method call: java.lang.NullPointerException
  • Fix issue #189: Fix crash when adding a boolean control param
  • Fix issue #190: getTrackingAuthorizationStatus will open the iOS-dialog to requestTrackingAuthorization

6.2.1 #

  • Fix issue #181: Calling the getLastAttributedTouchData() exit with exception on IOS 15.7

6.2.0 #

  • Update BranchStandardEvent list.

6.1.0 #

  • Updated Android Advertising ID (AAID) version in Android SDK.

6.0.0 #

BREAKING CHANGE #

  • Minimum required Dart SDK version to 2.17 (Flutter 3.0)
  • Removed deprecated methods:
    • initWeb
    • loadRewards
    • redeemRewards
    • getCreditHistory

Enhancement #

  • New Methods:
    • getQRCodeAsData
    • getQRCodeAsImage
    • shareWithLPLinkMetadata
  • General improvements in code
  • Fix analyzer code style warnings
  • Updated Native Android and iOS SDKs:

5.1.1 #

  • Updated Native Android SDK:
  • Removed dependencies: flutter_lints (not in used)

5.1.0 #

  • Fix issue #143: Infinite loop with POST requests when offline
  • Fix issue #146: clicked_branch_link is to true when app is opened from deeplink and then putted in background and reopened
  • Fix issue #113: Fatal Exception: java.lang.IllegalStateException Reply already submitted
  • New Method getLastAttributedTouchData
  • Updated Native Android and iOS SDKs:

5.0.0 #

###BREAKING CHANGE:

  • FlutterBranchSdk.initWeb deprecated.

  • Branch for Flutter Web initialized in index.html, see Web Integration section

  • FlutterBranchSdk.trackContent method changed to accept List of Branch Universal Object :

    Before:

    FlutterBranchSdk.trackContent(
      buo: buo,
      branchEvent: event
    );
    

    After:

       FlutterBranchSdk.trackContent(
         buo: [buo],
         branchEvent: event
       );
    

4.0.0 #

  • Migrate maven repository from jcenter to mavenCentral.
  • Updated compile & target SDK to Android API 31.
  • Updated minSdkVersion to Android API 21.
  • Updated example app Android compileSdkVersion to 31.
  • Removed support for the V1 Android embedding.
  • Deprecate Referral rewards SDK Methods (loadRewards, redeemRewards, getCreditHistory)
  • Removed Referral rewards SDK Methods from example app
  • Updated Native Android and iOS SDKs: **Android Native SDK Update 5.0.15 - Android Version History **iOS Native SDK Update 1.40.2 - iOS Version History

3.5.0 #

3.4.0 #

3.3.0 #

  • Added support to FlutterFragmentActivity

3.2.0 #

3.1.0 #

  • Updated Native iOS SDKs:
    **iOS Native SDK Update 1.39.2 - iOS Version History
  • Added new method requestTrackingAuthorization : In iOS 14+, show tracking authorization dialog and request permission. Send ATTrackingManager.AuthorizationStatus to monitor ATT prompt performance and return ATTrackingManager.AuthorizationStatus.
  • Added new method getTrackingAuthorizationStatus: Return ATTrackingManager.AuthorizationStatus
  • Added new method getAdvertisingIdentifier: Return Device Advertising Identifier

3.0.0 #

  • Initial support to Flutter Web. Thanks @mathatan

2.0.0 #

2.0.0-nullsafety.3 #

2.0.0-nullsafety.1 #

  • Android: fixed assertion failures due to reply messages that were sent on the wrong thread.
  • iOS: fixed assertion failures due to reply messages that were sent on the wrong thread.
  • Fix crash when setting expirationDateInMilliSec on Android

2.0.0-nullsafety.0 #

  • Initial support for null safety

1.3.0 #

1.2.0 #

  • Android: BugFix on onNewIntent
  • iOS: new method: setRequestMetadata new method: setIOSSKAdNetworkMaxTime

1.1.0 #

Updated Native Android and iOS SDKs

###BREAKING CHANGES

Add KEY branch_check_apple_ads in INFO.PLIST to enable checking for Apple Search Ads before Branch initialization

1.0.0 #

  • Documentation Update
  • Remove Android dependencies fallback.
  • Require Flutter SDK 1.12.13+hotfix.5 or greater.

0.5.0 #

  • Added new method trackContentWithoutBuo
  • Added new currency values for BranchContentMetaData
  • Added the campaign parameter in the BranchLinkProperties constructor

0.4.0 #

  • Updated minimum Android Branch SDK version to 5.x.x
  • Updated minimum iOS Branch SDK version to 0.32.0.
    Note: Branch SDK 0.32.0 requires at least iOS 9.0. Update the minimum version in the project, in the section "Deployment Info" -> "Target".

0.3.1 #

  • Fix error when index mode in BranchUniversalObject is not populated

0.3.0 #

  • Fix handled by Branch links
  • Improve attribution for Apple Search Ads
  • Documentation Update

0.2.0 #

  • Add Referral System Rewarding Functionality

0.1.5 #

  • Bugfix Branch SDK initialization

0.1.4 #

  • Bugfix BranchUniversalObject with keywords empty
  • Documentation update

0.1.3 #

  • Updated Android dependencies: From play-services-appindexing to firebase-appindexing

0.1.2 #

  • Compatibility with apps built on earlier versions of Flutter 1.12
  • Improved error handling in initSession

0.1.1 #

  • Minor adjustments and fix initial deep link data loss

0.0.1+1 #

  • Pubspec.yaml Update

0.0.1 #

  • Initial version
217
likes
160
points
182k
downloads

Publisher

verified publishermarquesdev.work

Weekly Downloads

Flutter Plugin for create deep link using Brach SDK (https://branch.io). This plugin provides a cross-platform (iOS, Android, Web).

Repository (GitHub)
View/report issues

Topics

#deeplink #app-links #universal-links #custom-url-schemes #web-to-app

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_web_plugins, plugin_platform_interface

More

Packages that depend on flutter_branch_sdk

Packages that implement flutter_branch_sdk