Skip to content

DEFAULT_HOMEPAGE not effective when installing using PWA #677

@RayMeOut

Description

@RayMeOut

Describe the bug
The PWA configuration currently does not take the DEFAULT_HOMEPAGE setting into account; instead, it is hardcoded to “/balances”.

To Reproduce
Steps to reproduce the behavior:

  1. Launch Split-Pro and set DEFAULT_HOMEPAGE to “/groups”; open the page in a browser
  2. Verify that a redirect to the path “/groups” occurs (expected behavior)
  3. Open the website on a smartphone (the redirect still works) and install it on the device
  4. Open the application and land on “/balances”, even though DEFAULT_HOMEPAGE was set to “/groups”

Expected behavior
Given the existence of the DEFAULT_HOMEPAGE variable, one would expect that when installing on a device with PWA functionality, a redirect to “/groups” would also occur.

App version
v2.1.3

Smartphone:

  • Device: Samsung Galaxy S8
  • OS: Android
  • Browser: Chrome

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions