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 | Add deep linking #1050

Merged
merged 6 commits into from
Sep 19, 2024
Merged

✨ Mobile | Add deep linking #1050

merged 6 commits into from
Sep 19, 2024

Conversation

zacharykeeping
Copy link
Member

@zacharykeeping zacharykeeping commented Sep 18, 2024

  1. What triggered this change? (PBI link, Email Subject, conversation + reason, etc)

Closes #321

  1. What was changed?
  1. Adds an "sswrewards://" custom URL scheme to allow invoking and communicating with the app directly.
  2. Handles receiving QR codes via a link in the format of "sswrewards://redeem?code={{code}}".
  3. Prepends this new URL scheme when rendering existing codes
  1. Did you do pair or mob programming?

No

# Conflicts:
#	src/MobileUI/Platforms/Android/MainActivity.cs
Copy link
Contributor

@matt-goldman-ssw matt-goldman-ssw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - one suggestion, you can add it as a PBI if you don't want to commit that change now.

{
ios.OpenUrl((app, url, options) => HandleAppLink(url.AbsoluteString));
});
#else
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
#else
#else if ANDROID

@zacharykeeping zacharykeeping merged commit ddff5de into main Sep 19, 2024
6 checks passed
@zacharykeeping zacharykeeping deleted the deep-linking branch September 19, 2024 07:16
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.

✨ Mobile | Add deep linking
2 participants