Skip to content

Commit 8543c55

Browse files
authored
Merge pull request #73 from tink-ab/LINK-3964-Release-3.0.1
Link 3964 Release 3.0.1
2 parents 2b3d388 + 4462c3f commit 8543c55

File tree

4 files changed

+25
-15
lines changed

4 files changed

+25
-15
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#Wed Sep 21 14:32:42 CEST 2022
22
distributionBase=GRADLE_USER_HOME
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0.2-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2.1-bin.zip
44
distributionPath=wrapper/dists
55
zipStorePath=wrapper/dists
66
zipStoreBase=GRADLE_USER_HOME

sample-app/build.gradle

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ plugins {
66

77
android {
88
namespace 'com.tink.link.app'
9-
compileSdk 33
9+
compileSdk 34
1010

1111
defaultConfig {
1212
minSdk 29
13-
targetSdk 33
13+
targetSdk 35
1414
versionCode 1
1515
versionName "1.0"
1616

@@ -48,15 +48,16 @@ android {
4848

4949
dependencies {
5050

51-
implementation "com.tink:link:3.0.0"
51+
implementation "com.tink:link:3.0.1"
5252
// Core
5353
implementation "androidx.core:core-ktx:$core_ktx_version"
5454
implementation "androidx.lifecycle:lifecycle-runtime-ktx:$lifecycle_version"
5555
implementation "androidx.lifecycle:lifecycle-viewmodel-savedstate:$lifecycle_version"
5656

5757
// Jetpack Compose
5858
implementation "androidx.compose.ui:ui:$compose_ui_version"
59-
implementation "androidx.compose.material:material:1.4.0"
59+
implementation "androidx.compose.material:material:$compose_ui_version"
60+
implementation "androidx.compose.material:material-icons-extended:1.7.8"
6061
implementation "androidx.compose.ui:ui-tooling-preview:$compose_ui_version"
6162
implementation "androidx.activity:activity-compose:$compose_activity_version"
6263

sample-app/src/main/java/com/tink/link/app/SampleActivity.kt

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,13 @@ import android.os.Bundle
55
import android.util.Log
66
import androidx.activity.ComponentActivity
77
import androidx.activity.compose.setContent
8+
import androidx.compose.foundation.layout.Column
9+
import androidx.compose.foundation.layout.WindowInsets
810
import androidx.compose.foundation.layout.fillMaxSize
11+
import androidx.compose.foundation.layout.padding
12+
import androidx.compose.foundation.layout.safeDrawing
913
import androidx.compose.material.MaterialTheme
14+
import androidx.compose.material.Scaffold
1015
import androidx.compose.material.Surface
1116
import androidx.compose.runtime.Composable
1217
import androidx.compose.ui.Modifier
@@ -29,14 +34,18 @@ class SampleActivity : ComponentActivity() {
2934
Tink.restoreState(it)
3035
}
3136

37+
val activity = this
3238
setContent {
3339
WebTheme {
3440
// A surface container using the 'background' color from the theme
35-
Surface(
36-
modifier = Modifier.fillMaxSize(),
37-
color = MaterialTheme.colors.background
38-
) {
39-
HomeScreenApp(this, configuration)
41+
Scaffold(
42+
contentWindowInsets = WindowInsets.safeDrawing
43+
) { innerPadding ->
44+
Column(
45+
modifier = Modifier.padding(innerPadding)
46+
) {
47+
HomeScreenApp(activity, configuration)
48+
}
4049
}
4150
}
4251
}
@@ -47,9 +56,9 @@ class SampleActivity : ComponentActivity() {
4756
Log.d(TAG, "onResume()")
4857
}
4958

50-
override fun onNewIntent(intent: Intent?) {
59+
override fun onNewIntent(intent: Intent) {
5160
super.onNewIntent(intent)
52-
Log.d(TAG, "onNewIntent() intent.data = ${intent?.data}")
61+
Log.d(TAG, "onNewIntent() intent.data = ${intent.data}")
5362
}
5463

5564
override fun onSaveInstanceState(outState: Bundle) {

sample-dev/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ plugins {
55

66
android {
77
namespace 'com.tink.link.sample'
8-
compileSdk 33
8+
compileSdk 34
99

1010
defaultConfig {
1111
minSdk 29
12-
targetSdk 33
12+
targetSdk 35
1313
versionCode 1
1414
versionName "1.0"
1515

@@ -38,7 +38,7 @@ android {
3838
}
3939

4040
dependencies {
41-
implementation "com.tink:link:3.0.0"
41+
implementation "com.tink:link:3.0.1"
4242
implementation "androidx.core:core-ktx:$core_ktx_version"
4343
implementation 'androidx.appcompat:appcompat:1.6.1'
4444
implementation 'com.google.android.material:material:1.8.0'

0 commit comments

Comments
 (0)