Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • ThaliApp ThaliApp
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Merge requests 4
    • Merge requests 4
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • thalia
  • ThaliAppThaliApp
  • Merge requests
  • !208

Merged
Created Oct 04, 2018 by Gijs Hendriksen@ghendriksenContributor

Feature/notification deeplinking

  • Overview 1
  • Commits 1
  • Changes 8

Closes #73

Short description

When the app is opened through a push notification, it will handle it as follows:

If the app is in the background or closed when the push notification arrives, it will check whether the push notification contains a URL. If it doesn't, the homepage will simply be shown. If it does have a URL, it checks whether the URL is recognised as an URL for which we have a deeplinking action. If so, it will open the corresponding screen in the app. Otherwise, it will open the URL in the user's browser.

If the app is in the foreground when the notification arrives, it will open an alert with the notifications title and contents. If the notification has an URL, we show two buttons: one for opening the URL, one for dismissing the notification. Otherwise, there is only a button for dismissing the notification.

Steps to use this feature

  1. Receive a push notification with a URL.
  2. Press the notification.
  3. Notice you are instantly forwarded to the correct screen in the app (or the correct website in your browser).
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: feature/notification-deeplinking