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

Install of second PWA in same browser causes issues with data uploads #3747

Open
esurface opened this issue Nov 21, 2024 · 0 comments
Open

Comments

@esurface
Copy link
Contributor

Installing two PWAs from the same Tangerine instance in the same browser causes data upload issues. The data from the second group will end up in the database on the server for the first group. This issue is in the documentation, but it is difficult for system administrators to enforce on users.

Ideas:

  1. Have a warning message on the PWA "Release offline app" on the server
  2. On the tablet, detect an already installed PWA (if possible) and either prevent the install or provide a warning to the user
  3. Figure out a way to allow two installs in the same browser. This might be achievable using the "packageName" attribute in the appConfig file (org.rti.tangerine.group1). We should also start automatically setting the packageName when a group is created.
  4. This may also be addressed by updating how the database in the browser storage is used.
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

1 participant