[go: nahoru, domu]

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

Ipv4 ipv6 fix #6428

Merged
merged 8 commits into from
Sep 14, 2020
Merged

Ipv4 ipv6 fix #6428

merged 8 commits into from
Sep 14, 2020

Conversation

eldhosembabu
Copy link
Contributor
@eldhosembabu eldhosembabu commented Sep 9, 2020

Recreating PR #5966

Instead of using firebasedynamiclinks-ipv4.googleapis.com and firebasedynamiclinks-ipv6.googleapis.com for doing attribution calls, we are moving towards using firebasedynamiclinks.googleapis.com.

Fixes #5032

-changed ipv4 and ipv6 attribution calls with a single direct url.
-Removed and refactored code to get rid of code to handle consolidated results from ipv4 and ipv6 result.
-Made changes to Test app to show alert dialog when universal linking when app is not in background case and also for fresh start case.

@googlebot
Copy link

We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google.
In order to pass this check, please resolve this problem and then comment @googlebot I fixed it.. If the bot doesn't comment, it means it doesn't think anything has changed.

ℹ️ Googlers: Go here for more info.

@paulb777
Copy link
Member
paulb777 commented Sep 9, 2020

@googlebot I fixed it

Confirmed that the code was developed with a valid CLA.

@paulb777 paulb777 added cla: yes and removed cla: no labels Sep 9, 2020
@googlebot
Copy link

A Googler has manually verified that the CLAs look good.

(Googler, please make sure the reason for overriding the CLA status is clearly documented in these comments.)

ℹ️ Googlers: Go here for more info.

Copy link
Member
@paulb777 paulb777 left a comment

Choose a reason for hiding this comment

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

Thanks!

@paulb777 paulb777 added this to the 6.33.0 - М80 milestone Sep 10, 2020
@googlebot
Copy link

We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google.
In order to pass this check, please resolve this problem and then comment @googlebot I fixed it.. If the bot doesn't comment, it means it doesn't think anything has changed.

ℹ️ Googlers: Go here for more info.

@eldhosembabu
Copy link
Contributor Author

@googlebot I fixed it

@googlebot
Copy link

A Googler has manually verified that the CLAs look good.

(Googler, please make sure the reason for overriding the CLA status is clearly documented in these comments.)

ℹ️ Googlers: Go here for more info.

Copy link
Member
@paulb777 paulb777 left a comment

Choose a reason for hiding this comment

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

Great to delete so much code!

Copy link
Member
@ryanwilson ryanwilson left a comment

Choose a reason for hiding this comment

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

Great, thanks for fixing this! And thanks @ncooke3 for the initial commits 😄

@@ -92,7 +92,10 @@ - (void)_showDynamicLinkInfo:(FIRDynamicLink *)dynamicLink {
[alertVC addAction:[UIAlertAction actionWithTitle:@"Dismiss"
style:UIAlertActionStyleCancel
handler:NULL]];
[self.window.rootViewController presentViewController:alertVC animated:YES completion:NULL];

[[UIApplication sharedApplication].keyWindow.rootViewController presentViewController:alertVC
Copy link
Member

Choose a reason for hiding this comment

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

Curious why this changed from self and if the change was related to the IPV4/6 change.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No this is not related with the ipv4/6. While testing the changes, I've seen some issues with the test app.

  1. After the fresh install, when the app launches and when we try to show the Alert dialog from the AppDelegate when we receive an FDL, the alert was failing with "First responder error: non-key window attempting reload - allowing due to manual keyboard".

  2. Alert was failing when universal linking when the app is started as fresh instead of opening from background.

@eldhosembabu
Copy link
Contributor Author

Did a round of testing on the basic functionalities based on this PR and all seems working. Will merge this PR by EOD today if I'm not seeing any issues with this change

@eldhosembabu eldhosembabu merged commit c5501e6 into master Sep 14, 2020
@eldhosembabu eldhosembabu deleted the ipv4-ipv6-fix branch September 14, 2020 22:21
@firebase firebase locked and limited conversation to collaborators Oct 15, 2020
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.

157240391: SDK attempts to connect to firebasedynamiclinks-ipv6.googleapis.com from IPv4 network.
6 participants