11 Commits

Author SHA1 Message Date
e3bc40fdf3 chore: Migration to Dart 3.8 (#6668)
* Migration to Dart 3.8

* New GA

* Fix dartdoc
2025-06-23 18:14:17 +02:00
c485ebf793 chore: old TODOs (#4886)
Impacted files:
* `knowledge_panel_world_map_card.dart`: handled the "multi geo" case; fixed the geo marker alignment
* `permission_helper.dart`: removed comment
* `pubspec.lock`: wtf
* `pubspec.yaml`: added package `email_validator`
* `svg_safe_network.dart`: minor refactoring
* `user_management_helper.dart`: now using package `email_validator`
* `user_preferences.dart`: replaced hard-coded string with const
* `user_preferences_attribute_group.dart`: removed dead code
2023-12-12 13:11:06 +01:00
154e59c449 fix: 4098 - new enum value from iOS 12 (#4100) 2023-06-08 12:48:05 +02:00
ad7ac7732a refactor: Flutter v3.7.0 (#3642) 2023-01-31 22:39:07 +01:00
30d810f87e Onboarding: new permission screen (before the consent analytics) (#2962)
Co-authored-by: Pierre Slamich <pierre@openfoodfacts.org>
2022-09-07 20:40:45 +02:00
b28e905d03 The permission workflow for the camera should now be OK (#2763) 2022-08-11 18:16:40 +02:00
768f1e0331 feat: A few more logs (#2385)
* A few more logs

* Cupertino import is useless here
2022-06-26 17:37:13 +02:00
5bbbc60b77 Ensure the permission request is only asked once (#2368) 2022-06-24 16:14:10 +02:00
ee0700d70d If a device doesn't have any camera, hide the visor + settings (#2317) 2022-06-20 08:46:40 +02:00
fe22d1cf20 fix: Ensure the permission can only be requested once at a time (#2292)
* Ensure the permission can only be requested one time

* Update packages/smooth_app/lib/helpers/permission_helper.dart

Co-authored-by: monsieurtanuki <fabrice_fontaine@hotmail.com>

Co-authored-by: monsieurtanuki <fabrice_fontaine@hotmail.com>
2022-06-19 11:53:08 +02:00
e2aa72d155 feat: If camera permission is denied, allow the user to approve it again (#1583)
* No need to store if the camera permission was denied once (the framework provides this info)

* Prepare layout for showing an error when the camera is not granted

* UI to ask for permission

* UI changes

* Revert "Merge branch 'develop' into camera_permission"

This reverts commit f7bf249fcf732d5756152dde25d0f8c1624b2819, reversing
changes made to 8b0adc564ad93009c069c49f553c098c0238a0db.

* Update app_en.arb

Co-authored-by: Pierre Slamich <pierre@openfoodfacts.org>
2022-04-17 21:21:17 +02:00