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

Create a lightweight PWA - 1st POC #729

Closed
salboaie opened this issue May 11, 2022 · 2 comments
Closed

Create a lightweight PWA - 1st POC #729

salboaie opened this issue May 11, 2022 · 2 comments
Assignees

Comments

@salboaie
Copy link
Member

salboaie commented May 11, 2022

1st PoC:

  • first screen with some instructions and a big button "Scan 2dmatrix"
  • start the scanner from the first page
  • detect the current language from browser and try to get the leaflet in the current language
  • get the html from the server
    • if possible get the html
    • otherwise get the list o available languages
  • display a way for user to select a language
  • display the leaflet

Success conditions: load in under 1 second

Subtasks:

  • prepare HTML, JS, CSS (no dependencies) - 3 screens + popup html
  • add http parameter in lealfet-web-api
  • use gtin-resolver to generate html
  • connect pieces
@salboaie
Copy link
Member Author

Decided in the Wednesday meeting that the loading time should be under 1 second, the leaflet landing depends on the network

@kpratihast
Copy link

As per @adiganga2002 / @salboaie , In the Lightweight PWA:

  1. "verified" badge will not be displayed for now since anti-counterfeiting functionality is not integrated
  2. The prompt to download native app will not be displayed since the native apps are yet to be published in App Store / Play Store

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

No branches or pull requests

4 participants