Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: new parameters for uploadProof #5480

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,10 @@ class BackgroundTaskAddPrice extends BackgroundTask {
HttpHelper().imagineMediaType(initialImageUri.path)!;
final MaybeError<Proof> uploadProof = await OpenPricesAPIClient.uploadProof(
proofType: proofType,
date: date,
currency: currency,
locationOSMId: locationOSMId,
locationOSMType: locationOSMType,
imageUri: initialImageUri,
mediaType: initialMediaType,
bearerToken: bearerToken,
Expand Down
6 changes: 3 additions & 3 deletions packages/smooth_app/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1108,10 +1108,10 @@ packages:
dependency: "direct main"
description:
name: openfoodfacts
sha256: "90a853e7536d0f97a665b18cd602055215520bf424765ef06930e4be25b760ba"
sha256: b8e90057fc04ecb407bdd48758172fc8200483ae15e926d6825fc3bd6a4d2468
url: "https://pub.dev"
source: hosted
version: "3.11.0"
version: "3.12.0"
openfoodfacts_flutter_lints:
dependency: "direct dev"
description:
Expand Down Expand Up @@ -1853,4 +1853,4 @@ packages:
version: "3.1.2"
sdks:
dart: ">=3.4.0 <4.0.0"
flutter: ">=3.19.0"
flutter: ">=3.22.0"
2 changes: 1 addition & 1 deletion packages/smooth_app/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ dependencies:
path: ../scanner/zxing


openfoodfacts: 3.11.0
openfoodfacts: 3.12.0
# openfoodfacts:
# path: ../../../openfoodfacts-dart

Expand Down