app icon indicating copy to clipboard operation
app copied to clipboard

Bypass the form URL when the app is opened from a clicked link or a push notification

Open marc-farre opened this issue 2 years ago • 4 comments

When clicking on a link (e.g. a notification email) or a push notification, the URL should be pre-filled with the base URL of the platform. Currently the URL field is either blank, or displays the previous visited Humhub URL.

Related to https://github.com/humhub/app/issues/79

marc-farre avatar Dec 02 '23 10:12 marc-farre

@PrimozRatej I've renamed the title, because I think that when the app is opened from a clicked link or a push notification there is no need to ask for the URL.

The problem occurs in 2 situations:

  • The notification is from a Humhub instance different from the one currently opened in the app
  • The FireBase Device registration is lost (happens after a certain time): see https://github.com/humhub/fcm-push/issues/30#issuecomment-1837117449 -> item 3

marc-farre avatar Dec 08 '23 08:12 marc-farre

@PrimozRatej the problem also occurs in this situation :

  1. Close the app (swiping it up in the apps switcher)
  2. Click on a notification link in an email

marc-farre avatar Dec 12 '23 08:12 marc-farre

@PrimozRatej This issue is solved when clicking on an email notification link. But it remains when clicking on a push notification (the native Android notification). Thanks!

@luke- can you reopen it?

marc-farre avatar May 06 '24 08:05 marc-farre

@PrimozRatej the issue only occurs when the app was closed.

marc-farre avatar May 06 '24 12:05 marc-farre

Hey @marc-farre, https://github.com/humhub/app/pull/206 should fix this.

PrimozRatej avatar Jul 09 '24 21:07 PrimozRatej

@PrimozRatej I will test as soon as a new release of the app is available.

marc-farre avatar Jul 15 '24 13:07 marc-farre

Just released .108

luke- avatar Jul 15 '24 13:07 luke-

@luke- Thanks! @PrimozRatej It works perfectly now, thanks!

marc-farre avatar Jul 15 '24 14:07 marc-farre