Open befirst opened 2 years ago
Before Submitting, be sure to
Bug Description A Flutter app with the last version (3.2.3) of the plugin can't be built in release mode;
Steps To Reproduce
flutter_face_api: ^3.2.1
3.2.3
3
flutter pub upgrade
flutter run --release
/Users/{username}/.gradle/caches/transforms-2/files-2.1/5e4480e6f8bb0d0e95b106312e979cc6/api- 3.2.1688/res/values/values.xml:37:5-39:13: AAPT: error: style attribute 'android:attr/forceDarkAllowed' not found.
Expected behavior The app is built successfully
Environment:
Possible solution for those who came across the same use flutter_face_api: 3.2.1 without ^;
flutter_face_api: 3.2.1
^
Possible solution for developers of the plugin
compileSdkVersion
values-v29
... <style name="FaceSdkTheme" parent="@style/Theme.AppCompat.Light.NoActionBar"> <item name="android:forceDarkAllowed" ns1:targetApi="q">false</item> </style> ...
Hi @befirst! Thanks for your detailed description of the issue. We'll fix it.
Hi @befirst! Please have a look at the latest release version - this error shouldn't happen anymore.
Before Submitting, be sure to
Bug Description A Flutter app with the last version (3.2.3) of the plugin can't be built in release mode;
Steps To Reproduce
flutter_face_api: ^3.2.1
or install the3.2.3
version and go to step3
;flutter pub upgrade
to install the last new version which installs the 3.2.3;flutter run --release
;Expected behavior The app is built successfully
Environment:
Possible solution for those who came across the same use
flutter_face_api: 3.2.1
without^
;Possible solution for developers of the plugin
compileSdkVersion
to 29 inside the plugin;values-v29
folder for the SDK v3.2.1688 which will have inside the next: