mirror of
https://github.com/openfoodfacts/smooth-app.git
synced 2025-08-06 18:25:11 +08:00
21 lines
600 B
Dart
21 lines
600 B
Dart
import 'package:app_store_uri/app_store_uri.dart';
|
|
import 'package:scanner_zxing/scanner_zxing.dart';
|
|
import 'package:smooth_app/helpers/entry_points_helper.dart';
|
|
import 'package:smooth_app/main.dart';
|
|
|
|
/// Fdroid version with:
|
|
/// - Barcode decoding algorithm: ZXing
|
|
/// - Intent to launch the review
|
|
void main() {
|
|
launchSmoothApp(
|
|
barcodeScanner: const ScannerZXing(),
|
|
appStore: URIAppStore(
|
|
Uri.parse(
|
|
'https://f-droid.org/fr/packages/openfoodfacts.github.scrachx.openfood/',
|
|
),
|
|
),
|
|
scannerLabel: ScannerLabel.ZXing,
|
|
storeLabel: StoreLabel.FDroid,
|
|
);
|
|
}
|