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: 5648 - deep link for Prices (+ OxF fixes) #5734

Merged
merged 2 commits into from
Oct 25, 2024

Conversation

monsieurtanuki
Copy link
Contributor

What

  • Now Prices is part of detected URLs regarding deep links.
  • We cannot open directly a specific Prices page on Smoothie because the GoRouter package somehow hides the subdomains.
  • At least it will open Smoothie.
  • Minor fixes regarding OxF too.

Fixes bug(s)

Impacted files

  • AndroidManifest.xml: added an entry for Prices regarding deeplinks
  • launch_url_helper.dart: added beauty, products and petfood regarding deeplinks
  • Runner.entitlements: added an entry for Prices, beauty, products and petfood regarding deeplinks

Impacted files:
* `AndroidManifest.xml`: added an entry for Prices regarding deeplinks
* `launch_url_helper.dart`: added beauty, products and petfood regarding deeplinks
* `Runner.entitlements`: added an entry for Prices, beauty, products and petfood regarding deeplinks
@codecov-commenter
Copy link

codecov-commenter commented Oct 25, 2024

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 7.00%. Comparing base (4d9c7fc) to head (0dfbcc7).
Report is 384 commits behind head on develop.

Files with missing lines Patch % Lines
...ages/smooth_app/lib/helpers/launch_url_helper.dart 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           develop   #5734      +/-   ##
==========================================
- Coverage     9.54%   7.00%   -2.55%     
==========================================
  Files          325     406      +81     
  Lines        16411   21655    +5244     
==========================================
- Hits          1567    1516      -51     
- Misses       14844   20139    +5295     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.



<!-- Prices -->
<data android:scheme="http" android:host="prices.openfoodfacts.org" />
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe you should add, the .net variant.
Is-it relevant @teolemon?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We do have a preprod, indeed

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@g123k
Copy link
Collaborator

g123k commented Oct 27, 2024

@monsieurtanuki I was wrong about the domain.
GoRouter knows it with GoRouterState.uri

@monsieurtanuki
Copy link
Contributor Author

@monsieurtanuki I was wrong about the domain. GoRouter knows it with GoRouterState.uri

Good news!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Add Open Prices deeplinking
4 participants