Skip to content

Commit e731a43

Browse files
Merge pull request #112 from BranchMetrics/chore/update-v5
chore!(deps): update to v5 spec
2 parents 37398eb + 16cef3e commit e731a43

File tree

14 files changed

+271
-205
lines changed

14 files changed

+271
-205
lines changed

CapacitorBranchDeepLinks.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ Pod::Spec.new do |s|
1111
s.author = package['author']
1212
s.source = { :git => package['repository']['url'], :tag => s.version.to_s }
1313
s.source_files = 'ios/Plugin/**/*.{swift,h,m,c,cc,mm,cpp}'
14-
s.ios.deployment_target = '12.0'
14+
s.ios.deployment_target = '13.0'
1515
s.dependency 'Capacitor'
16-
s.dependency 'Branch'
16+
s.dependency 'BranchSDK'
1717
s.swift_version = '5.1'
1818
end

android/build.gradle

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@ def getNpmVersion() {
77
}
88

99
ext {
10-
junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.13.2'
11-
androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.3'
12-
androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.4.0'
10+
junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.13.2'
11+
androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.5'
12+
androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.6.1'
13+
androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.5.1'
1314
}
1415

1516
buildscript {
@@ -18,17 +19,21 @@ buildscript {
1819
mavenCentral()
1920
}
2021
dependencies {
21-
classpath 'com.android.tools.build:gradle:7.2.2'
22+
classpath 'com.android.tools.build:gradle:8.0.0'
2223
}
2324
}
2425

2526
apply plugin: 'com.android.library'
2627

2728
android {
28-
compileSdkVersion project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 32
29+
namespace "co.boundstate.capacitorbranchdeeplinks"
30+
compileSdkVersion project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 33
31+
buildFeatures {
32+
buildConfig = true
33+
}
2934
defaultConfig {
3035
minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 22
31-
targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 32
36+
targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 33
3237
versionCode 1
3338
versionName "1.0"
3439
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
@@ -40,6 +45,10 @@ android {
4045
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
4146
}
4247
}
48+
compileOptions {
49+
sourceCompatibility JavaVersion.VERSION_17
50+
targetCompatibility JavaVersion.VERSION_17
51+
}
4352
lintOptions {
4453
abortOnError false
4554
}
@@ -57,7 +66,7 @@ dependencies {
5766
implementation project(':capacitor-android')
5867
implementation 'androidx.annotation:annotation:1.4.0'
5968
implementation 'androidx.appcompat:appcompat:1.5.0'
60-
api 'io.branch.sdk.android:library:5.2.3'
69+
api 'io.branch.sdk.android:library:5.6.1'
6170
testImplementation "junit:junit:$junitVersion"
6271
androidTestImplementation "androidx.test.ext:junit:$androidxJunitVersion"
6372
androidTestImplementation "androidx.test.espresso:espresso-core:$androidxEspressoCoreVersion"

android/gradle.properties

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,4 @@ org.gradle.jvmargs=-Xmx1536m
2020
# Android operating system, and which are packaged with your app's APK
2121
# https://developer.android.com/topic/libraries/support-library/androidx-rn
2222
android.useAndroidX=true
23-
# Automatically convert third-party libraries to use AndroidX
24-
android.enableJetifier=true
23+
5.85 KB
Binary file not shown.
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-all.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0.2-all.zip
4+
networkTimeout=10000
45
zipStoreBase=GRADLE_USER_HOME
56
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)