Skip to content

Use custom tab only for web actions #2310

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

Merged
merged 2 commits into from
Jul 12, 2021
Merged

Use custom tab only for web actions #2310

merged 2 commits into from
Jul 12, 2021

Conversation

dlackty
Copy link
Contributor

@dlackty dlackty commented Jan 10, 2021

Currently, FIAM uses Custom Tabs to open every action URI and results in errors for deep links.

Refering to iOS SDK's implementation, which checks whether URI schems is http/https, I implemented a similar logic in this PR.

Not pretty sure if my test change is sufficient as this is my first time to contribute to the project.
So please let me know if there's anything missing.

@google-cla google-cla bot added the cla: yes Override cla label Jan 10, 2021
@googlebot googlebot added the cla: yes Override cla label Jan 10, 2021
@google-oss-bot
Copy link
Contributor

Hi @dlackty. Thanks for your PR.

I'm waiting for a firebase member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@dlackty
Copy link
Contributor Author

dlackty commented Jan 10, 2021

According to the commit history, I guess @JasonAHeron might want to have a look. Sorry if I ping the wrong person.

@samtstern samtstern requested review from JasonAHeron and MeghaB and removed request for JasonAHeron May 27, 2021 11:03
Copy link
Contributor

@eldhosembabu eldhosembabu left a comment

Choose a reason for hiding this comment

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

This PR looks good to me.

@dlackty
Copy link
Contributor Author

dlackty commented Jun 2, 2021

@eldhosembabu Pushed some changes according the suggestions, and also rebased the branch. Thank you.

@samtstern
Copy link
Contributor

/ok-to-test

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Jun 3, 2021

Coverage Report

Affected SDKs

  • firebase-inappmessaging-display

    SDK overall coverage changed from 33.51% (257f96b) to 33.60% (738fc7ae) by +0.09%.

    Filename Base (257f96b) Head (738fc7ae) Diff
    FirebaseInAppMessagingDisplay.java 88.55% 88.31% -0.23%

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 (738fc7ae) is created by Prow via merging commits: 257f96b 846ebf3.

@samtstern
Copy link
Contributor

/retest

@samtstern
Copy link
Contributor

@dlackty here's the test failure:

> Task :firebase-inappmessaging-display:compileReleaseJavaWithJavac FAILED
/home/prow/go/src/github.com/firebase/firebase-android-sdk/firebase-inappmessaging-display/src/main/java/com/google/firebase/inappmessaging/display/FirebaseInAppMessagingDisplay.java:569: error: ';' expected
      return false
                  ^

@google-oss-bot
Copy link
Contributor

Binary Size Report

Affected SDKs

  • firebase-inappmessaging-display

    Type Base (257f96b) Head (738fc7ae) Diff
    aar 203 kB 204 kB +179 B (+0.1%)
    apk (aggressive) 1.44 MB 1.44 MB +100 B (+0.0%)
    apk (release) 4.56 MB 4.56 MB -48 B (-0.0%)

Test Logs

Notes

Head commit (738fc7ae) is created by Prow via merging commits: 257f96b 846ebf3.

@google-oss-bot
Copy link
Contributor

Macrobenchmark Report

Affected SDKs

Measurements are for head commit (846ebf3). Diffing against base commit (257f96b) is working in progress.

  • baseline

    NameDeviceMinMaxP50P90P99
    BenchmarkTest.startup[mode=COLD]flame-30-en-portrait118.0 ms163.0 ms136.5 ms149.9 ms162.1 ms
    BenchmarkTest.startup[mode=HOT]flame-30-en-portrait39.0 ms66.0 ms56.5 ms61.5 ms66.0 ms
    BenchmarkTest.startup[mode=WARM]flame-30-en-portrait55.0 ms91.0 ms76.5 ms82.8 ms90.8 ms
  • firebase-common

    NameDeviceMinMaxP50P90P99
    BenchmarkTest.startup[mode=COLD]flame-30-en-portrait134.0 ms176.0 ms142.0 ms162.7 ms174.7 ms
    BenchmarkTest.startup[mode=HOT]flame-30-en-portrait35.0 ms74.0 ms53.0 ms61.4 ms72.3 ms
    BenchmarkTest.startup[mode=WARM]flame-30-en-portrait59.0 ms86.0 ms75.5 ms82.0 ms85.2 ms
  • firebase-config

    NameDeviceMinMaxP50P90P99
    BenchmarkTest.startup[mode=COLD]flame-30-en-portrait124.0 ms152.0 ms138.0 ms151.0 ms151.8 ms
    BenchmarkTest.startup[mode=HOT]flame-30-en-portrait37.0 ms65.0 ms52.0 ms60.4 ms64.8 ms
    BenchmarkTest.startup[mode=WARM]flame-30-en-portrait57.0 ms87.0 ms72.0 ms83.0 ms86.2 ms
  • firebase-crashlytics

    NameDeviceMinMaxP50P90P99
    BenchmarkTest.startup[mode=COLD]flame-30-en-portrait140.0 ms175.0 ms159.0 ms165.6 ms174.2 ms
    BenchmarkTest.startup[mode=HOT]flame-30-en-portrait36.0 ms73.0 ms54.0 ms58.2 ms70.5 ms
    BenchmarkTest.startup[mode=WARM]flame-30-en-portrait51.0 ms90.0 ms66.5 ms87.2 ms89.8 ms
  • firebase-database

    NameDeviceMinMaxP50P90P99
    BenchmarkTest.startup[mode=COLD]flame-30-en-portrait121.0 ms168.0 ms141.0 ms157.3 ms166.5 ms
    BenchmarkTest.startup[mode=HOT]flame-30-en-portrait40.0 ms64.0 ms48.0 ms62.2 ms64.0 ms
    BenchmarkTest.startup[mode=WARM]flame-30-en-portrait52.0 ms84.0 ms67.5 ms80.3 ms83.8 ms
  • firebase-dynamic-links

    NameDeviceMinMaxP50P90P99
    BenchmarkTest.startup[mode=COLD]flame-30-en-portrait126.0 ms163.0 ms142.5 ms156.0 ms161.7 ms
    BenchmarkTest.startup[mode=HOT]flame-30-en-portrait41.0 ms67.0 ms50.5 ms63.2 ms66.6 ms
    BenchmarkTest.startup[mode=WARM]flame-30-en-portrait50.0 ms94.0 ms77.5 ms84.1 ms92.3 ms
  • firebase-firestore

    NameDeviceMinMaxP50P90P99
    BenchmarkTest.startup[mode=COLD]flame-30-en-portrait136.0 ms163.0 ms148.5 ms155.6 ms162.6 ms
    BenchmarkTest.startup[mode=HOT]flame-30-en-portrait37.0 ms68.0 ms49.5 ms61.4 ms67.4 ms
    BenchmarkTest.startup[mode=WARM]flame-30-en-portrait54.0 ms100.0 ms75.0 ms91.5 ms99.2 ms
  • firebase-functions

    NameDeviceMinMaxP50P90P99
    BenchmarkTest.startup[mode=COLD]flame-30-en-portrait133.0 ms171.0 ms144.5 ms149.1 ms167.0 ms
    BenchmarkTest.startup[mode=HOT]flame-30-en-portrait36.0 ms59.0 ms54.0 ms58.0 ms58.8 ms
    BenchmarkTest.startup[mode=WARM]flame-30-en-portrait54.0 ms94.0 ms75.0 ms80.1 ms91.5 ms
  • firebase-inappmessaging-display

    NameDeviceMinMaxP50P90P99
    BenchmarkTest.startup[mode=COLD]flame-30-en-portrait175.0 ms201.0 ms183.0 ms193.0 ms199.5 ms
    BenchmarkTest.startup[mode=HOT]flame-30-en-portrait41.0 ms70.0 ms50.0 ms68.1 ms69.8 ms
    BenchmarkTest.startup[mode=WARM]flame-30-en-portrait53.0 ms100.0 ms75.5 ms84.3 ms99.2 ms
  • firebase-messaging

    NameDeviceMinMaxP50P90P99
    BenchmarkTest.startup[mode=COLD]flame-30-en-portrait132.0 ms178.0 ms145.0 ms160.2 ms175.0 ms
    BenchmarkTest.startup[mode=HOT]flame-30-en-portrait44.0 ms68.0 ms53.5 ms63.3 ms67.6 ms
    BenchmarkTest.startup[mode=WARM]flame-30-en-portrait59.0 ms87.0 ms69.5 ms77.8 ms86.6 ms
  • firebase-perf

    NameDeviceMinMaxP50P90P99
    BenchmarkTest.startup[mode=COLD]flame-30-en-portrait140.0 ms183.0 ms160.5 ms174.6 ms182.4 ms
    BenchmarkTest.startup[mode=HOT]flame-30-en-portrait45.0 ms69.0 ms56.0 ms62.1 ms67.9 ms
    BenchmarkTest.startup[mode=WARM]flame-30-en-portrait58.0 ms94.0 ms71.0 ms84.1 ms92.3 ms
  • firebase-storage

    NameDeviceMinMaxP50P90P99
    BenchmarkTest.startup[mode=COLD]flame-30-en-portrait123.0 ms164.0 ms141.0 ms157.6 ms163.8 ms
    BenchmarkTest.startup[mode=HOT]flame-30-en-portrait34.0 ms67.0 ms55.0 ms65.1 ms66.8 ms
    BenchmarkTest.startup[mode=WARM]flame-30-en-portrait59.0 ms85.0 ms75.5 ms81.1 ms84.4 ms

@samtstern
Copy link
Contributor

@eldhosembabu this is green and approved, do you want to merge it?

@samtstern samtstern merged commit 0d95ad5 into firebase:master Jul 12, 2021
@firebase firebase locked and limited conversation to collaborators Aug 12, 2021
@dlackty dlackty deleted the fix-fiam-custom-tab branch August 31, 2021 18:41
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.

5 participants