Skip to content

Commit 37e6f86

Browse files
author
Егор Комаров
committed
Merge branch 'develop' into 'master'
[IT-282]: add layout id for better integration See merge request frontend/android-sdk!38
2 parents 365f8d0 + 5c7820e commit 37e6f86

3 files changed

Lines changed: 6 additions & 5 deletions

File tree

sdk/build.gradle

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

77
group = 'com.github.ogon-ru'
8-
version = '1.0.7'
8+
version = '1.0.8'
99

1010
android {
1111
compileSdkVersion 31
@@ -14,8 +14,8 @@ android {
1414
defaultConfig {
1515
minSdkVersion 19
1616
targetSdkVersion 31
17-
versionCode 29
18-
versionName '1.0.7'
17+
versionCode 30
18+
versionName '1.0.8'
1919

2020
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
2121

sdk/src/main/java/ru/ogon/sdk/WidgetActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ open class WidgetActivity : AppCompatActivity() {
6464
httpUsername = intent.getStringExtra(EXTRA_HTTP_USERNAME)
6565
httpPassword = intent.getStringExtra(EXTRA_HTTP_PASSWORD)
6666

67-
webView = findViewById<WebView>(R.id.webView).apply {
67+
webView = findViewById<WebView>(R.id.web_view).apply {
6868
settings.javaScriptEnabled = true
6969
settings.allowContentAccess = true
7070
settings.allowFileAccess = true
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
3+
android:id="@+id/container"
34
android:layout_width="match_parent"
45
android:layout_height="match_parent"
56
android:layout_alignParentBottom="true"
67
android:fitsSystemWindows="true">
78

89
<WebView
9-
android:id="@+id/webView"
10+
android:id="@+id/web_view"
1011
android:layout_width="match_parent"
1112
android:layout_height="match_parent" />
1213
</FrameLayout>

0 commit comments

Comments
 (0)