Initial upload: fin65-mobile
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
# FIN65 - Patch Android biométrie
|
||||
|
||||
Ce patch prépare Android pour `local_auth`.
|
||||
|
||||
Il fait :
|
||||
- ajoute `android.permission.USE_BIOMETRIC` dans `AndroidManifest.xml` ;
|
||||
- garde `android.permission.INTERNET` ;
|
||||
- garde `android:usesCleartextTraffic="true"` ;
|
||||
- force le label `FIN65` ;
|
||||
- modifie `MainActivity` pour hériter de `FlutterFragmentActivity` ;
|
||||
- tente de mettre `minSdk` à 24 si nécessaire ;
|
||||
- lance `flutter clean` et `flutter pub get`.
|
||||
|
||||
## Utilisation
|
||||
|
||||
Depuis ce dossier :
|
||||
|
||||
```powershell
|
||||
.\apply_android_biometrics_patch.bat
|
||||
```
|
||||
|
||||
Puis :
|
||||
|
||||
```powershell
|
||||
cd D:\07-Logiciels\20-FIN65\fin65_mobile
|
||||
flutter run
|
||||
```
|
||||
|
||||
Des sauvegardes `.before_biometric_*.bak` sont créées avant modification.
|
||||
Reference in New Issue
Block a user