diff --git a/CHANGELOG.md b/CHANGELOG.md
index 47e38174..893f5442 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,11 +1,17 @@
+## 6.8.0
+* Updated Native `Android` SDKs:
+ * Android Native SDK Update 5.7.+ - [Android Version History](https://github.com/BranchMetrics/android-branch-deep-linking-attribution/releases)
+ * iOS Native SDK Update 2.2.1 - [iOS Version History](https://github.com/BranchMetrics/ios-branch-deep-linking-attribution/releases)
+* 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:
* Android Native SDK Update 5.6.+ - [Android Version History](https://github.com/BranchMetrics/android-branch-deep-linking-attribution/releases)
* iOS Native SDK Update 2.2.0 - [iOS Version History](https://github.com/BranchMetrics/ios-branch-deep-linking-attribution/releases)
-
* 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`)
diff --git a/README.md b/README.md
index b0b185a1..25b64694 100644
--- a/README.md
+++ b/README.md
@@ -620,20 +620,6 @@ To enable:
android:value="true" />
```
-### Enabled Clipboard Deferred Deep Linking in iOS
-> Enabled by default starting with **iOS 15+ Only**
-
-Use iOS pasteboard to enable deferred deep linking.
-
-To enable Clipboard Deferred Deep Linking update `INFO.PLIST` on `iOS`
-
-Add to `INFO.PLIST`:
-
-```swift
- branch_check_pasteboard
-
-```
-
### Facebook App Install Ads
Branch links can be used together with Facebook App Install Campaign ads, allowing you to track ad-driven installs on the Branch dashboard and deep link those new users directly to content the first time they open your app.
@@ -651,7 +637,7 @@ For `iOS` add to `INFO.PLIST`:
branch_enable_facebook_ads
```
-
+** Deprecated on version 6.8.0 **
For `Android` add to `AndroidManifest.xml`:
```java
diff --git a/android/build.gradle b/android/build.gradle
index bbf67ed1..7d38eeaa 100644
--- a/android/build.gradle
+++ b/android/build.gradle
@@ -35,8 +35,7 @@ android {
}
dependencies {
- implementation 'io.branch.sdk.android:library:5.6.+'
- //implementation 'com.google.firebase:firebase-appindexing:19.0.0'
+ implementation 'io.branch.sdk.android:library:5.7.+'
implementation 'com.google.android.gms:play-services-ads-identifier:18.0.1'
implementation 'androidx.browser:browser:1.5.0'
implementation 'androidx.lifecycle:lifecycle-runtime:2.5.1'
diff --git a/android/src/main/java/br/com/rsmarques/flutter_branch_sdk/ApplicationInfoHelper.java b/android/src/main/java/br/com/rsmarques/flutter_branch_sdk/ApplicationInfoHelper.java
index 532cb9f8..ddcb0747 100644
--- a/android/src/main/java/br/com/rsmarques/flutter_branch_sdk/ApplicationInfoHelper.java
+++ b/android/src/main/java/br/com/rsmarques/flutter_branch_sdk/ApplicationInfoHelper.java
@@ -32,19 +32,4 @@ public static boolean getEnableLog() {
}
return false;
}
-
- public static boolean getEnableFacebookAds() {
- try {
- final ApplicationInfo ai = context.getPackageManager().getApplicationInfo(context.getPackageName(), PackageManager.GET_META_DATA);
- if (ai.metaData != null) {
- return ai.metaData.getBoolean("branch_enable_facebook_ads",
- false);
- } else {
- return false;
- }
- } catch (Exception e) {
- LogUtils.debug("FlutterBranchSDK", "ApplicationInfoHelper error: " + e.getLocalizedMessage());
- }
- return false;
- }
}
diff --git a/android/src/main/java/br/com/rsmarques/flutter_branch_sdk/FlutterBranchSdkInit.java b/android/src/main/java/br/com/rsmarques/flutter_branch_sdk/FlutterBranchSdkInit.java
index af9a766d..bdf6b4a9 100644
--- a/android/src/main/java/br/com/rsmarques/flutter_branch_sdk/FlutterBranchSdkInit.java
+++ b/android/src/main/java/br/com/rsmarques/flutter_branch_sdk/FlutterBranchSdkInit.java
@@ -8,7 +8,7 @@
public class FlutterBranchSdkInit {
private static final String DEBUG_NAME = "FlutterBranchSDK";
private static final String PLUGIN_NAME = "Flutter";
- private static final String PLUGIN_VERSION = "6.7.1";
+ private static final String PLUGIN_VERSION = "6.8.0";
public static void init(Context context) {
ApplicationInfoHelper applicationInfoHelper = new ApplicationInfoHelper(context);
@@ -20,10 +20,6 @@ public static void init(Context context) {
Log.i(DEBUG_NAME, "Branch SDK with out log");
}
- if (applicationInfoHelper.getEnableFacebookAds()) {
- Branch.getAutoInstance(context).enableFacebookAppLinkCheck();
- }
-
// Branch object initialization
Branch.registerPlugin(PLUGIN_NAME, PLUGIN_VERSION);
Branch.getAutoInstance(context);
diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock
index b69e375f..9e8c497f 100644
--- a/example/ios/Podfile.lock
+++ b/example/ios/Podfile.lock
@@ -1,8 +1,8 @@
PODS:
- - BranchSDK (2.2.0)
+ - BranchSDK (2.2.1)
- Flutter (1.0.0)
- flutter_branch_sdk (6.4.0):
- - BranchSDK (~> 2.2.0)
+ - BranchSDK (~> 2.2.1)
- Flutter
DEPENDENCIES:
@@ -20,9 +20,9 @@ EXTERNAL SOURCES:
:path: ".symlinks/plugins/flutter_branch_sdk/ios"
SPEC CHECKSUMS:
- BranchSDK: 8749d10e30725d08b6c188ab90e6fd6223d204db
+ BranchSDK: cb046c2714b03e573484ce9e349e2ddbad7016e8
Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854
- flutter_branch_sdk: da3bece1a03160a8a021ef4ec3d426e89c6da169
+ flutter_branch_sdk: 4abdebac9688050516f1fba611c60539ab8557e1
PODFILE CHECKSUM: 7368163408c647b7eb699d0d788ba6718e18fb8d
diff --git a/example/pubspec.lock b/example/pubspec.lock
index b30cac62..07872b2b 100644
--- a/example/pubspec.lock
+++ b/example/pubspec.lock
@@ -68,7 +68,7 @@ packages:
path: ".."
relative: true
source: path
- version: "6.7.0"
+ version: "6.8.0"
flutter_lints:
dependency: "direct dev"
description:
diff --git a/ios/Classes/SwiftFlutterBranchSdkPlugin.swift b/ios/Classes/SwiftFlutterBranchSdkPlugin.swift
index fdd81c64..4be4d11b 100644
--- a/ios/Classes/SwiftFlutterBranchSdkPlugin.swift
+++ b/ios/Classes/SwiftFlutterBranchSdkPlugin.swift
@@ -10,7 +10,7 @@ let MESSAGE_CHANNEL = "flutter_branch_sdk/message";
let EVENT_CHANNEL = "flutter_branch_sdk/event";
let ERROR_CODE = "FLUTTER_BRANCH_SDK_ERROR";
let PLUGIN_NAME = "Flutter";
-let PLUGIN_VERSION = "6.7.1"
+let PLUGIN_VERSION = "6.8.0"
public class SwiftFlutterBranchSdkPlugin: NSObject, FlutterPlugin, FlutterStreamHandler {
var eventSink: FlutterEventSink?
@@ -64,15 +64,10 @@ public class SwiftFlutterBranchSdkPlugin: NSObject, FlutterPlugin, FlutterStream
}
}
- let checkPasteboard = Bundle.infoPlistValue(forKey: "branch_check_pasteboard") as? Bool ?? false
- print("Branch Clipboard Deferred Deep Linking: \(String(describing:checkPasteboard))");
-
- if checkPasteboard {
- Branch.getInstance().checkPasteboardOnInstall()
- } else if #available(iOS 15.0, *) {
+ if #available(iOS 15.0, *) {
Branch.getInstance().checkPasteboardOnInstall()
}
-
+
Branch.getInstance().initSession(launchOptions: launchOptions) { (params, error) in
if error == nil {
print("Branch InitSession params: \(String(describing: params as? [String: Any]))")
diff --git a/ios/flutter_branch_sdk.podspec b/ios/flutter_branch_sdk.podspec
index c013ef0b..6060a15f 100644
--- a/ios/flutter_branch_sdk.podspec
+++ b/ios/flutter_branch_sdk.podspec
@@ -4,7 +4,7 @@
#
Pod::Spec.new do |s|
s.name = 'flutter_branch_sdk'
- s.version = '6.4.0'
+ s.version = '6.8.0'
s.summary = 'Flutter Plugin for create deep link using Brach SDK (https://branch.io). This plugin provides a cross-platform (iOS, Android, Web).'
s.description = <<-DESC
Flutter Plugin for create deep link using Brach SDK (https://branch.io). This plugin provides a cross-platform (iOS, Android, Web).
@@ -15,7 +15,7 @@ Flutter Plugin for create deep link using Brach SDK (https://branch.io). This pl
s.source = { :path => '.' }
s.source_files = 'Classes/**/*'
s.dependency 'Flutter'
- s.dependency 'BranchSDK', '~> 2.2.0'
+ s.dependency 'BranchSDK', '~> 2.2.1'
s.platform = :ios, '11.0'
# Flutter.framework does not contain a i386 slice.
diff --git a/pubspec.lock b/pubspec.lock
index a3e446d0..37abb03f 100644
--- a/pubspec.lock
+++ b/pubspec.lock
@@ -37,10 +37,10 @@ packages:
dependency: transitive
description:
name: collection
- sha256: "4a07be6cb69c84d677a6c3096fcf960cc3285a8330b4603e0d463d15d9bd934c"
+ sha256: f092b211a4319e98e5ff58223576de6c2803db36221657b46c82574721240687
url: "https://pub.dev"
source: hosted
- version: "1.17.1"
+ version: "1.17.2"
fake_async:
dependency: transitive
description:
@@ -92,18 +92,18 @@ packages:
dependency: transitive
description:
name: matcher
- sha256: "6501fbd55da300384b768785b83e5ce66991266cec21af89ab9ae7f5ce1c4cbb"
+ sha256: "1803e76e6653768d64ed8ff2e1e67bea3ad4b923eb5c56a295c3e634bad5960e"
url: "https://pub.dev"
source: hosted
- version: "0.12.15"
+ version: "0.12.16"
material_color_utilities:
dependency: transitive
description:
name: material_color_utilities
- sha256: d92141dc6fe1dad30722f9aa826c7fbc896d021d792f80678280601aff8cf724
+ sha256: "9528f2f296073ff54cb9fee677df673ace1218163c3bc7628093e7eed5203d41"
url: "https://pub.dev"
source: hosted
- version: "0.2.0"
+ version: "0.5.0"
meta:
dependency: transitive
description:
@@ -137,10 +137,10 @@ packages:
dependency: transitive
description:
name: source_span
- sha256: dd904f795d4b4f3b870833847c461801f6750a9fa8e61ea5ac53f9422b31f250
+ sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c"
url: "https://pub.dev"
source: hosted
- version: "1.9.1"
+ version: "1.10.0"
stack_trace:
dependency: transitive
description:
@@ -177,10 +177,10 @@ packages:
dependency: transitive
description:
name: test_api
- sha256: eb6ac1540b26de412b3403a163d919ba86f6a973fe6cc50ae3541b80092fdcfb
+ sha256: "75760ffd7786fffdfb9597c35c5b27eaeec82be8edfb6d71d32651128ed7aab8"
url: "https://pub.dev"
source: hosted
- version: "0.5.1"
+ version: "0.6.0"
vector_math:
dependency: transitive
description:
@@ -189,6 +189,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "2.1.4"
+ web:
+ dependency: transitive
+ description:
+ name: web
+ sha256: dc8ccd225a2005c1be616fe02951e2e342092edf968cf0844220383757ef8f10
+ url: "https://pub.dev"
+ source: hosted
+ version: "0.1.4-beta"
sdks:
- dart: ">=3.0.0-0 <4.0.0"
+ dart: ">=3.1.0-185.0.dev <4.0.0"
flutter: ">=2.5.0"
diff --git a/pubspec.yaml b/pubspec.yaml
index e5450ec7..3915141e 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -1,6 +1,6 @@
name: flutter_branch_sdk
description: Flutter Plugin for create deep link using Brach SDK (https://branch.io). This plugin provides a cross-platform (iOS, Android, Web).
-version: 6.7.1
+version: 6.8.0
homepage: https://github.com/RodrigoSMarques/flutter_branch_sdk
environment: