Skip to content

Commit

Permalink
Merge PR #1242.
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamVe committed Nov 2, 2023
2 parents 946dcad + 6aa2eef commit af73927
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 5 deletions.
4 changes: 3 additions & 1 deletion analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ linter:
# https://dart.dev/guides/language/analysis-options

analyzer:
optional-checks:
chrome-os-manifest-checks
exclude:
- "**/*.g.dart"
- "**/*.freezed.dart"
- "**/*.freezed.dart"
4 changes: 2 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ android {
defaultConfig {
applicationId "com.yubico.yubioath"
minSdkVersion project.minSdkVersion
targetSdkVersion project.targetSdkVersion
targetSdk project.targetSdkVersion
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
}
Expand Down Expand Up @@ -109,7 +109,7 @@ dependencies {
implementation 'androidx.fragment:fragment-ktx:1.6.1'
implementation 'androidx.preference:preference-ktx:1.2.1'

implementation 'com.google.android.material:material:1.9.0'
implementation 'com.google.android.material:material:1.10.0'

implementation 'com.github.tony19:logback-android:3.0.0'

Expand Down
4 changes: 4 additions & 0 deletions android/app/src/debug/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
-->
<uses-permission android:name="android.permission.INTERNET" />

<uses-feature
android:name="android.hardware.touchscreen"
android:required="false" />

<!-- support ACTION_RUN for debug builds -->
<application
android:icon="@mipmap/ic_launcher"
Expand Down
4 changes: 4 additions & 0 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
android:name="android.hardware.nfc"
android:required="false" />

<uses-feature
android:name="android.hardware.touchscreen"
android:required="false" />

<uses-feature
android:name="android.hardware.screen.portrait"
android:required="false" />
Expand Down
5 changes: 5 additions & 0 deletions android/app/src/profile/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,9 @@
to allow setting breakpoints, to provide hot reload, etc.
-->
<uses-permission android:name="android.permission.INTERNET"/>

<uses-feature
android:name="android.hardware.touchscreen"
android:required="false" />

</manifest>
4 changes: 2 additions & 2 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ allprojects {

project.ext {
minSdkVersion = 21
targetSdkVersion = 33
targetSdkVersion = 34
compileSdkVersion = 34

yubiKitVersion = "2.4.0-beta01"
junitVersion = "4.13.2"
mockitoVersion = "5.5.0"
mockitoVersion = "5.6.0"
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
android:name="android.hardware.camera.any"
android:required="false" />

<uses-feature
android:name="android.hardware.camera.autofocus"
android:required="false" />

<uses-permission android:name="android.permission.CAMERA" />

</manifest>

0 comments on commit af73927

Please sign in to comment.