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

FDL getDynamicLink(Intent) method to accept null intent. #2629

Merged
merged 1 commit into from
Sep 23, 2021

Conversation

eldhosembabu
Copy link
Contributor

Changing the @nonnull to @nullable for Intent argument in getDynamicLink(intent) method.

The intent parameter should be the intent that launched the application, or can be null if the intent does not include the dynamic link. A non-null intent is necessary only when the app is launched directly using the dynamic link, such as when using App Links.

Changes:

  • Changed the annotation from @nonnull to @nullable.
  • Modified getDynamicLink(Intent) method to handle null intents.
  • Added test with null intent.

Related issue: #2336

… with the documentation and since the intent is not a must parameter to derive the pending FDL.
@google-oss-bot
Copy link
Contributor

Coverage Report

Affected SDKs

  • firebase-dynamic-links

    SDK overall coverage changed from 72.28% (3f0779e) to 72.36% (72c18d1e) by +0.09%.

    Filename Base (3f0779e) Head (72c18d1e) Diff
    FirebaseDynamicLinksImpl.java 96.15% 96.25% +0.10%

Test Logs

Notes

HTML coverage reports can be produced locally with ./gradlew <product>:checkCoverage.
Report files are located at <product-build-dir>/reports/jacoco/.

Head commit (72c18d1e) is created by Prow via merging commits: 3f0779e b576ecd.

@google-oss-bot
Copy link
Contributor

Binary Size Report

Affected SDKs

  • firebase-dynamic-links

    Type Base (3f0779e) Head (72c18d1e) Diff
    aar 51.8 kB 51.9 kB +45 B (+0.1%)
    apk (release) 936 kB 936 kB +48 B (+0.0%)

Test Logs

Notes

Head commit (72c18d1e) is created by Prow via merging commits: 3f0779e b576ecd.

@vkryachko
Copy link
Member

Is this PR still required or is it superseded by the recent FDL update?

@vkryachko vkryachko removed their request for review July 2, 2021 16:53
@warting
Copy link

warting commented Jul 13, 2021

Is this PR still required or is it superseded by the recent FDL update?

@vkryachko It is still an issue in 20.1.0

@eldhosembabu eldhosembabu merged commit d5eec48 into master Sep 23, 2021
@eldhosembabu eldhosembabu deleted the fdl-get-dynamic-link-intent branch September 23, 2021 20:46
@firebase firebase locked and limited conversation to collaborators Oct 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes Override cla size/S
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants