diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 9a8a0105..4e0a041d 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -22,7 +22,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup flutter uses: subosito/flutter-action@v2 with: diff --git a/.github/workflows/deploy-apk.yaml b/.github/workflows/deploy-apk.yaml index 43571a36..0f315450 100644 --- a/.github/workflows/deploy-apk.yaml +++ b/.github/workflows/deploy-apk.yaml @@ -19,7 +19,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Java uses: actions/setup-java@v3.13.0 with: diff --git a/.github/workflows/deploy-web.yaml b/.github/workflows/deploy-web.yaml index cdfab311..82622fbf 100644 --- a/.github/workflows/deploy-web.yaml +++ b/.github/workflows/deploy-web.yaml @@ -19,7 +19,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Flutter uses: subosito/flutter-action@v2 with: @@ -44,4 +44,4 @@ jobs: env: NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} - timeout-minutes: 1 \ No newline at end of file + timeout-minutes: 1 diff --git a/.github/workflows/pr-bugfix-dev.yaml b/.github/workflows/pr-bugfix-dev.yaml index 6b277748..25feae45 100644 --- a/.github/workflows/pr-bugfix-dev.yaml +++ b/.github/workflows/pr-bugfix-dev.yaml @@ -9,7 +9,7 @@ jobs: pull-request: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: pull-request-master-to-bugfix if: ${{ github.repository == 'RodrigoSMarques/flutter_branch_sdk' }} uses: repo-sync/pull-request@v2.6.2 @@ -21,4 +21,4 @@ jobs: pr_label: "auto-pr" pr_draft: false pr_allow_empty: false - github_token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + github_token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/pr-master-bugfix.yaml b/.github/workflows/pr-master-bugfix.yaml index ca07a7d2..bb5860f0 100644 --- a/.github/workflows/pr-master-bugfix.yaml +++ b/.github/workflows/pr-master-bugfix.yaml @@ -9,7 +9,7 @@ jobs: pull-request: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: pull-request-master-to-bugfix if: ${{ github.repository == 'RodrigoSMarques/flutter_branch_sdk' }} uses: repo-sync/pull-request@v2.6.2 @@ -21,4 +21,4 @@ jobs: pr_label: "auto-pr" pr_draft: false pr_allow_empty: false - github_token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + github_token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/publish-plugin.yml b/.github/workflows/publish-plugin.yml index 5a82c3e8..57cc64a0 100644 --- a/.github/workflows/publish-plugin.yml +++ b/.github/workflows/publish-plugin.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - uses: dart-lang/setup-dart@v1 - name: Setup Flutter uses: subosito/flutter-action@v2 diff --git a/CHANGELOG.md b/CHANGELOG.md index 4897fbdb..a2c992c6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,35 @@ +## 7.3.0 +### Native SDK Updates + +* Updated included Branch Android SDK to 5.11.0 - [Android Version History](https://github.com/BranchMetrics/android-branch-deep-linking-attribution/releases) +* Updated included Branch iOS SDK to 3.4.1 - [iOS Version History](https://github.com/BranchMetrics/ios-branch-deep-linking-attribution/releases) + +## 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 +* Updated included Branch Android SDK to 5.10.1 - [Android Version History](https://github.com/BranchMetrics/android-branch-deep-linking-attribution/releases) + +## 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](https://github.com/RodrigoSMarques/flutter_branch_sdk?tab=readme-ov-file#user-data) for details. + +### Issues + +* Fix issue #297: Allow Call setRequestMetadata after FlutterBranchSdk.init() method + +### Native SDK Updates + +* Updated included Branch Android SDK to 5.9.0 - [Android Version History](https://github.com/BranchMetrics/android-branch-deep-linking-attribution/releases) +* Updated included Branch iOS SDK to 3.3.0 - [iOS Version History](https://github.com/BranchMetrics/ios-branch-deep-linking-attribution/releases) + ## 7.0.4 ### Issues diff --git a/README.md b/README.md index eb292560..fcc19bcc 100644 --- a/README.md +++ b/README.md @@ -10,8 +10,8 @@ Branch.io helps mobile apps grow with deep links that power referral systems, sh Supports Android, iOS and Web. -* Android - Branch SDK Version >= 5.8.+ [Android Version History](https://github.com/BranchMetrics/android-branch-deep-linking-attribution/releases) -* iOS - Branch SDK Version >= 3.0.+ [iOS Version History](https://github.com/BranchMetrics/ios-branch-deep-linking-attribution/releases) +* Android - Branch SDK Version >= 5.10.1 [Android Version History](https://github.com/BranchMetrics/android-branch-deep-linking-attribution/releases) +* iOS - Branch SDK Version >= 3.3.0 [iOS Version History](https://github.com/BranchMetrics/ios-branch-deep-linking-attribution/releases) Implemented functions in plugin: @@ -45,28 +45,28 @@ For details see: ## Configure Platform Project ### Android Integration -Follow the steps: +Follow only the steps: * [Configure App](https://help.branch.io/developers-hub/docs/android-basic-integration#4-configure-app) * [Configure ProGuard](https://help.branch.io/developers-hub/docs/android-basic-integration#7-configure-proguard) -- +**Note**: It is not necessary to perform the Branch Android SDK installation steps. The plugin performs these steps. ### iOS Integration -Follow the steps: +Follow only the steps: * [Configure bundle identifier](https://help.branch.io/developers-hub/docs/ios-basic-integration#2-configure-bundle-identifier) * [Configure associated domains](https://help.branch.io/developers-hub/docs/ios-basic-integration#3-configure-associated-domains) * [Configure Info.plist](https://help.branch.io/developers-hub/docs/ios-basic-integration#4-configure-infoplist) +**Note**: It is not necessary to perform the Branch iOS SDK installation steps. The plugin performs these steps. + #### NativeLink™ Deferred Deep Linking Use iOS pasteboard to enable deferred deep linking via Branch NativeLink™, which enables 100% matching on iOS through Installs. Follow the steps on the [page](https://help.branch.io/developers-hub/docs/ios-advanced-features#nativelink-deferred-deep-linking), session _**NativeLink™ Deferred Deep Linking**_, -Note: Code implementation in Swift is not necessary. The plugin already implements the code, requiring only configuration on the Dashboard. - -- +**Note**: Code implementation in Swift is not necessary. The plugin already implements the code, requiring only configuration on the Dashboard. ### Web Integration @@ -74,7 +74,9 @@ You need add Branch Javascript in your `web\index.html` at the top of your ` - (function(b,r,a,n,c,h,_,s,d,k){if(!b[n]||!b[n]._q){for(;s<_.length;)c(h,_[s++]);d=r.createElement(a);d.async=1;d.src="https://cdn.branch.io/branch-latest.min.js";k=r.getElementsByTagName(a)[0];k.parentNode.insertBefore(d,k);b[n]=h}})(window,document,"script","branch",function(b,r){b[r]=function(){b._q.push([r,arguments])}},{_q:[],_v:1},"addListener applyCode autoAppIndex banner closeBanner closeJourney creditHistory credits data deepview deepviewCta first getCode init link logout redeem referrals removeListener sendSMS setBranchViewData setIdentity track validateCode trackCommerceEvent logEvent disableTracking".split(" "), 0); + // load Branch + (function(b,r,a,n,c,h,_,s,d,k){if(!b[n]||!b[n]._q){for(;s<_.length;)c(h,_[s++]);d=r.createElement(a);d.async=1;d.src="https://cdn.branch.io/branch-latest.min.js";k=r.getElementsByTagName(a)[0];k.parentNode.insertBefore(d,k);b[n]=h}})(window,document,"script","branch",function(b,r){b[r]=function(){b._q.push([r,arguments])}},{_q:[],_v:1},"addListener banner closeBanner closeJourney data deepview deepviewCta first init link logout removeListener setBranchViewData setIdentity track trackCommerceEvent logEvent disableTracking getBrowserFingerprintId crossPlatformIds lastAttributedTouchData setAPIResponseCallback qrCode setRequestMetaData setAPIUrl getAPIUrl setDMAParamsForEEA".split(" "), 0); + // init Branch branch.init('key_live_or_test_YOUR_KEY_GOES_HERE'); ``` @@ -118,7 +120,9 @@ Full example `index.html`: