質問編集履歴
3
budild.gradle追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -4,12 +4,76 @@
|
|
4
4
|
|
5
5
|
|
6
6
|
|
7
|
+
### 環境
|
8
|
+
|
9
|
+
|
10
|
+
|
7
11
|
言語:Kotlin
|
8
12
|
|
9
13
|
エミュレータ:Pixel3(API29)
|
10
14
|
|
11
15
|
|
12
16
|
|
17
|
+
(budild.gradle 一部省略)
|
18
|
+
|
19
|
+
``` gradle
|
20
|
+
|
21
|
+
apply plugin: 'com.android.application'
|
22
|
+
|
23
|
+
apply plugin: 'kotlin-android'
|
24
|
+
|
25
|
+
apply plugin: 'kotlin-android-extensions'
|
26
|
+
|
27
|
+
|
28
|
+
|
29
|
+
|
30
|
+
|
31
|
+
android {
|
32
|
+
|
33
|
+
compileSdkVersion 29
|
34
|
+
|
35
|
+
buildToolsVersion "29.0.2"
|
36
|
+
|
37
|
+
defaultConfig {
|
38
|
+
|
39
|
+
minSdkVersion 27
|
40
|
+
|
41
|
+
targetSdkVersion 29
|
42
|
+
|
43
|
+
}
|
44
|
+
|
45
|
+
}
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
dependencies {
|
50
|
+
|
51
|
+
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
52
|
+
|
53
|
+
implementation"org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
54
|
+
|
55
|
+
implementation 'androidx.appcompat:appcompat:1.1.0'
|
56
|
+
|
57
|
+
implementation 'androidx.core:core-ktx:1.1.0'
|
58
|
+
|
59
|
+
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
|
60
|
+
|
61
|
+
testImplementation 'junit:junit:4.12'
|
62
|
+
|
63
|
+
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
|
64
|
+
|
65
|
+
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
implementation 'androidx.biometric:biometric:1.0.0'
|
70
|
+
|
71
|
+
}
|
72
|
+
|
73
|
+
```
|
74
|
+
|
75
|
+
|
76
|
+
|
13
77
|
### 実装内容
|
14
78
|
|
15
79
|
```MainActivity
|
2
URL修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -156,11 +156,11 @@
|
|
156
156
|
|
157
157
|
### 参考
|
158
158
|
|
159
|
-
[BiometricPrompt.Builder](https://developer.android.com/reference/android/hardware/biometrics/BiometricPrompt.Builder.html#setDeviceCredentialAllowed(boolean)
|
159
|
+
[BiometricPrompt.Builder](https://developer.android.com/reference/android/hardware/biometrics/BiometricPrompt.Builder.html#setDeviceCredentialAllowed(boolean))
|
160
160
|
|
161
161
|
|
162
162
|
|
163
|
-
[【Android】BiometricPromptと指紋認証機能の実装方法について](https://qiita.com/hotdrop_77/items/75fa88fbcb1594338047
|
163
|
+
[【Android】BiometricPromptと指紋認証機能の実装方法について](https://qiita.com/hotdrop_77/items/75fa88fbcb1594338047)
|
164
164
|
|
165
165
|
|
166
166
|
|
1
誤字
test
CHANGED
File without changes
|
test
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
|
7
7
|
言語:Kotlin
|
8
8
|
|
9
|
-
エミュレータ:Pix
|
9
|
+
エミュレータ:Pixel3(API29)
|
10
10
|
|
11
11
|
|
12
12
|
|