diff --git a/.run/iOS app.run.xml b/.run/iOS app.run.xml index fdc39c324ec..93d440e0c05 100644 --- a/.run/iOS app.run.xml +++ b/.run/iOS app.run.xml @@ -1,5 +1,5 @@ - + diff --git a/.vscode/launch.json b/.vscode/launch.json index d016cd97e75..93b48adcb0f 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -7,7 +7,7 @@ "program": "packages/smooth_app/lib/entrypoints/android/main_google_play.dart" }, { - "name": "iOS", + "name": "iOS/macOS", "type": "dart", "request": "launch", "program": "packages/smooth_app/lib/entrypoints/ios/main_ios.dart" diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 4d33df5db1c..e992b149b20 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -7,7 +7,7 @@ In order to run the application, make sure you are in the `packages/smooth_app` - `flutter pub get .` - On Android ๐Ÿค–: flutter run -t lib/entrypoints/android/main_google_play.dart -- On iOS ๐ŸŽ: flutter run -t lib/entrypoints/ios/main_ios.dart +- On iOS/macOS ๐ŸŽ: flutter run -t lib/entrypoints/ios/main_ios.dart ## Contributing diff --git a/README.md b/README.md index 9011e80fa73..2d21b4acc13 100644 --- a/README.md +++ b/README.md @@ -52,10 +52,11 @@ Starting this April, we invite all users and contributors to build a vision for - Smooth-app is developed in parallel to the [openfoodfacts-dart](https://github.com/openfoodfacts/openfoodfacts-dart) plugin, which provides a high level interface with the Open Food Facts API and [openfoodfacts_flutter_lints](https://github.com/openfoodfacts/openfoodfacts_flutter_lints) which provides specific linting - Every new interaction with the API should be implemented in the plugin in order to provide these new features to other developers. +- We support desktop platforms (Linux, macOS and Windows), but **only for development**
-

Features of the app

+

Features of the app

## Features @@ -101,7 +102,7 @@ In order to run the application, make sure you are in the `packages/smooth_app` - On Android ๐Ÿค–: `flutter run -t lib/entrypoints/android/main_google_play.dart` -- On iOS ๐ŸŽ: `flutter run -t lib/entrypoints/ios/main_ios.dart` +- On iOS/macOS ๐ŸŽ: `flutter run -t lib/entrypoints/ios/main_ios.dart` - Troubleshooting๐Ÿš€: If you get an error like `App depends on scanner shared from path which depends on camera_platform_interface from git, version solving failed.` then run - `flutter pub cache clean` or manually delete the diff --git a/packages/smooth_app/lib/entrypoints/ios/main_ios.dart b/packages/smooth_app/lib/entrypoints/ios/main_ios.dart index 9f303fa6b41..1621c70eee3 100644 --- a/packages/smooth_app/lib/entrypoints/ios/main_ios.dart +++ b/packages/smooth_app/lib/entrypoints/ios/main_ios.dart @@ -5,7 +5,9 @@ import 'package:smooth_app/main.dart'; /// App Store/TestFlight version with: /// - Barcode decoding algorithm: MLKit -/// - iOS SDK to open the store +/// - iOS/macOS SDK to open the store +/// +/// This version is compatible both with iOS and macOS void main() { launchSmoothApp( barcodeScanner: const ScannerMLKit(),