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

Mobile: Fixes #9204: Handle callback url triggered app launch #11280

Merged
merged 5 commits into from
Oct 31, 2024

Conversation

tiberiusteng
Copy link
Contributor

Existing Linking.addEventListener will only receive URLs triggered after app launch, adding Linking.getInitialURL during app start to get the URL triggered app launch (if there's one).

Compiled and tested on Fairphone 4 with both biometrics disabled and enabled:

  • Force stop app
  • Scan QR code from the system-provided tile in notification area, touch 'Open with Joplin'
  • Do biometrics authorization
  • Confirm opened linked note

Latest commit f4ee4a1 can't build due to shim.attachFileToNote signature change, so I tested with ff09937.

@tiberiusteng
Copy link
Contributor Author

Fixes #9204

@laurent22
Copy link
Owner

Thanks for fixing this @tiberiusteng!

@laurent22 laurent22 merged commit 2fc9bd4 into laurent22:dev Oct 31, 2024
4 of 10 checks passed
@tiberiusteng
Copy link
Contributor Author

Hi @laurent22, I've tried with latest Android versions (3.1.7) and looks like this patch is not included in current android release, is this intended? Am I correct to assume this will be included in 3.2 release? Thanks!

@tiberiusteng tiberiusteng deleted the linking-initial-url branch November 9, 2024 20:33
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

Successfully merging this pull request may close these issues.

3 participants