Skip to content

Commit 5bc1a02

Browse files
Merge pull request #1067 from mendix/moo/MOO-2020-react-native-biometrics-upgrade-master
[MOO-2020] react native biometrics upgrade
2 parents fc3a411 + c6a4cc9 commit 5bc1a02

4 files changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/ios-build-custom-dev-app.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ jobs:
1313

1414
steps:
1515
- uses: actions/checkout@v3
16-
- name: switch XCode to 15.4
16+
- name: switch XCode to 16.4
1717
run: |
18-
sudo xcode-select -s /Applications/Xcode_15.4.app
18+
sudo xcode-select -s /Applications/Xcode_16.4.app
1919
2020
- name: update bundle identifier in Dev config
2121
shell: bash

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
1010

1111
- We have removed `react-native-schedule-exact-alarm-permission` dependency
1212

13+
- We have added a USE_BIOMETRIC permission in Android.
14+
1315
## Fixes
1416

1517
- We have removed USE_EXACT_ALARM permission from the manifest to comply with updated Google Play policies.

android/app/proguard-rules.pro

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,5 @@
1515
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
1616
# public *;
1717
#}
18+
-keep class androidx.biometric.** { *; }
19+
-keep class com.sbaiahmed1.reactnativebiometrics.** { *; }

android/app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<uses-permission android:name="android.permission.CAMERA" />
1313
<uses-permission android:name="android.permission.RECORD_AUDIO" />
1414
<uses-permission android:name="android.permission.USE_FINGERPRINT" />
15+
<uses-permission android:name="android.permission.USE_BIOMETRIC" />
1516
<uses-permission android:name="android.permission.BLUETOOTH" android:maxSdkVersion="30" />
1617
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" android:maxSdkVersion="30" />
1718
<uses-permission android:name="android.permission.BLUETOOTH_CONNECT" />

0 commit comments

Comments
 (0)