Skip to content

Commit 3b80703

Browse files
Merge pull request #375 from RodrigoSMarques/dev
Release 8.2.0
2 parents 0c80115 + deec589 commit 3b80703

File tree

12 files changed

+156
-153
lines changed

12 files changed

+156
-153
lines changed

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
1+
## 8.2.0
2+
### ⚠️ BREAKING CHANGE
3+
* Minimum required Dart SDK version 3.3.0 (Flutter 3.19.0 - 15/02/2024)
4+
5+
### 🎉 Features
6+
* Issue #361: Migrate to dart:js_interop to support Webassamebly. Thanks @hnvn
7+
18
## 8.1.1
29
### 🐛 Bug Fixes
310
* Fix issue #368: "-118, Warning. Session initialization already happened" triggered in the listSession callback
411

512
## 8.1.0
613
### 🔧 Native SDK Updates
7-
814
* Updated included iOS SDK to 3.6.0 - [iOS Version History](https://github.com/BranchMetrics/ios-branch-deep-linking-attribution/releases)
915
* Updated included Branch Android SDK to 5.12.2 - [Android Version History](https://github.com/BranchMetrics/android-branch-deep-linking-attribution/releases)
1016

android/settings.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
rootProject.name = 'flutter_branch_sdk'
2-
android.defaults.buildfeatures.buildconfig=true

example/.metadata

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# This file tracks properties of this Flutter project.
2+
# Used by Flutter tool to assess capabilities and perform upgrades etc.
3+
#
4+
# This file should be version controlled and should not be manually edited.
5+
6+
version:
7+
revision: "80c2e84975bbd28ecf5f8d4bd4ca5a2490bfc819"
8+
channel: "stable"
9+
10+
project_type: app
11+
12+
# Tracks metadata for the flutter migrate command
13+
migration:
14+
platforms:
15+
- platform: root
16+
create_revision: 80c2e84975bbd28ecf5f8d4bd4ca5a2490bfc819
17+
base_revision: 80c2e84975bbd28ecf5f8d4bd4ca5a2490bfc819
18+
- platform: web
19+
create_revision: 80c2e84975bbd28ecf5f8d4bd4ca5a2490bfc819
20+
base_revision: 80c2e84975bbd28ecf5f8d4bd4ca5a2490bfc819
21+
22+
# User provided section
23+
24+
# List of Local paths (relative to this file) that should be
25+
# ignored by the migrate tool.
26+
#
27+
# Files that are not part of the templates will be ignored by default.
28+
unmanaged_files:
29+
- 'lib/main.dart'
30+
- 'ios/Runner.xcodeproj/project.pbxproj'

example/ios/Podfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PODS:
22
- BranchSDK (3.6.0)
33
- Flutter (1.0.0)
4-
- flutter_branch_sdk (8.1.0):
4+
- flutter_branch_sdk (8.2.0):
55
- BranchSDK (~> 3.6.0)
66
- Flutter
77

@@ -22,7 +22,7 @@ EXTERNAL SOURCES:
2222
SPEC CHECKSUMS:
2323
BranchSDK: 40ff1a13b1dc0729f79a9aae230418d25bf739a8
2424
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
25-
flutter_branch_sdk: e5b94559acdc8596fe7b68598a706879602cb0e7
25+
flutter_branch_sdk: b3763b3d53a7cfbc87c51136bed66fcdc282bdf5
2626

2727
PODFILE CHECKSUM: 4e8f8b2be68aeea4c0d5beb6ff1e79fface1d048
2828

example/pubspec.lock

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -84,15 +84,15 @@ packages:
8484
path: ".."
8585
relative: true
8686
source: path
87-
version: "8.1.0"
87+
version: "8.2.0"
8888
flutter_lints:
8989
dependency: "direct dev"
9090
description:
9191
name: flutter_lints
92-
sha256: "9e8c3858111da373efc5aa341de011d9bd23e2c5c5e0c62bccf32438e192d7b1"
92+
sha256: "3f41d009ba7172d5ff9be5f6e6e6abb4300e263aab8866d2a0842ed2a70f8f0c"
9393
url: "https://pub.dev"
9494
source: hosted
95-
version: "3.0.2"
95+
version: "4.0.0"
9696
flutter_test:
9797
dependency: "direct dev"
9898
description: flutter
@@ -111,14 +111,6 @@ packages:
111111
url: "https://pub.dev"
112112
source: hosted
113113
version: "0.19.0"
114-
js:
115-
dependency: transitive
116-
description:
117-
name: js
118-
sha256: c1b2e9b5ea78c45e1a0788d29606ba27dc5f71f019f32ca5140f61ef071838cf
119-
url: "https://pub.dev"
120-
source: hosted
121-
version: "0.7.1"
122114
leak_tracker:
123115
dependency: transitive
124116
description:
@@ -147,10 +139,10 @@ packages:
147139
dependency: transitive
148140
description:
149141
name: lints
150-
sha256: cbf8d4b858bb0134ef3ef87841abdf8d63bfc255c266b7bf6b39daa1085c4290
142+
sha256: "976c774dd944a42e83e2467f4cc670daef7eed6295b10b36ae8c85bcbf828235"
151143
url: "https://pub.dev"
152144
source: hosted
153-
version: "3.0.0"
145+
version: "4.0.0"
154146
matcher:
155147
dependency: transitive
156148
description:
@@ -264,10 +256,10 @@ packages:
264256
dependency: "direct main"
265257
description:
266258
name: uuid
267-
sha256: "814e9e88f21a176ae1359149021870e87f7cddaf633ab678a5d2b0bff7fd1ba8"
259+
sha256: "83d37c7ad7aaf9aa8e275490669535c8080377cfa7a7004c24dfac53afffaa90"
268260
url: "https://pub.dev"
269261
source: hosted
270-
version: "4.4.0"
262+
version: "4.4.2"
271263
vector_math:
272264
dependency: transitive
273265
description:
@@ -286,4 +278,4 @@ packages:
286278
version: "14.2.5"
287279
sdks:
288280
dart: ">=3.3.0 <4.0.0"
289-
flutter: ">=3.18.0-18.0.pre.54"
281+
flutter: ">=3.19.0"

example/pubspec.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: Demonstrates how to use the flutter_branch_sdk plugin.
66
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
77

88
environment:
9-
sdk: ">=2.18.0 <4.0.0"
9+
sdk: ">=3.3.0 <4.0.0"
1010

1111
# Dependencies specify other packages that your package needs in order to work.
1212
# To automatically upgrade your package dependencies to the latest versions
@@ -29,7 +29,7 @@ dependencies:
2929
# The following adds the Cupertino Icons font to your application.
3030
# Use with the CupertinoIcons class for iOS style icons.
3131
cupertino_icons: ^1.0.8
32-
uuid: ^4.4.0
32+
uuid: ^4.4.2
3333
intl: ^0.19.0
3434

3535
dev_dependencies:
@@ -41,7 +41,7 @@ dev_dependencies:
4141
# activated in the `analysis_options.yaml` file located at the root of your
4242
# package. See that file for information about deactivating specific lint
4343
# rules and activating additional ones.
44-
flutter_lints: ^3.0.1
44+
flutter_lints: ^4.0.0
4545

4646
# For information on the generic Dart part of this file, see the
4747
# following page: https://dart.dev/tools/pub/pubspec

example/web/index.html

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -32,34 +32,15 @@
3232
<title>Flutter Branch SDK Example</title>
3333
<link rel="manifest" href="manifest.json">
3434

35-
<script>
36-
// The value below is injected by flutter build, do not touch.
37-
var serviceWorkerVersion = null;
38-
</script>
39-
<!-- This script adds the flutter initialization JS code -->
40-
<script src="flutter.js" defer></script>
4135
</head>
4236
<body>
43-
<script>
37+
<script>
4438
// load Branch
4539
(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);
4640
// init Branch
4741
branch.init('key_test_ipQTteg11ENANDeCzSXgqdgfuycWoXYH');
4842
</script>
4943

50-
<script>
51-
window.addEventListener('load', function(ev) {
52-
// Download main.dart.js
53-
_flutter.loader.loadEntrypoint({
54-
serviceWorker: {
55-
serviceWorkerVersion: serviceWorkerVersion,
56-
}
57-
}).then(function(engineInitializer) {
58-
return engineInitializer.initializeEngine();
59-
}).then(function(appRunner) {
60-
return appRunner.runApp();
61-
});
62-
});
63-
</script>
44+
<script src="flutter_bootstrap.js" async></script>
6445
</body>
6546
</html>

0 commit comments

Comments
 (0)