Skip to content
This repository was archived by the owner on Apr 4, 2023. It is now read-only.

Fixed bugs in invite and dynamic links implementations#524

Merged
EddyVerbruggen merged 1 commit intoEddyVerbruggen:masterfrom
sserdyuk:master
Oct 17, 2017
Merged

Fixed bugs in invite and dynamic links implementations#524
EddyVerbruggen merged 1 commit intoEddyVerbruggen:masterfrom
sserdyuk:master

Conversation

@sserdyuk
Copy link
Copy Markdown
Contributor

Hi @EddyVerbruggen, I have started testing invites and dynamic links and ended up fixing them up. Here's a PR.

Added proper iOS 9+ handling for dynamic links
Extended returned data to include match confidence (specific for iOS)
Updated documentation

Added proper iOS 9+ handling for dynamic links
Extended returned data to include match confidence (specific for iOS)
Updated documentation
@sserdyuk
Copy link
Copy Markdown
Contributor Author

BTW, this implements dynamicLinkFromUniversalLinkURL so #505 is not needed.

Comment thread firebase.ios.js
appDelegate.prototype.applicationContinueUserActivityRestorationHandler = function (application, userActivity, restorationHandler) {
var result = false;

if (typeof(FIRDynamicLink) !== "undefined" ) {
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

This seems a duplicate of line 188. If you want to change it go ahead, otherwise I'll do it after merging this awesome PR 👍

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Let me double check if I messed up anything while rebasing.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

No, it's looking good. It's the same if twice, but I did it to follow the pattern that's used with other delegates. Right now applicationContinueUserActivityRestorationHandler is only used for one thing, but if something else will need to be added in the future, it will be more trivial and clear.

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Smart thinking, thanks for the explanation!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants