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

App check and storage, functions and RTDB support #7928

Merged
merged 196 commits into from
Apr 22, 2021
Merged

Conversation

maksymmalyhin
Copy link
Contributor

Open sourcing ongoing App Check SDK work. Changes in this PR have been previously reviewed in separate PRs in the private repo.

@google-oss-bot
Copy link

1 Warning
⚠️ Did you forget to add a changelog entry? (Add #no-changelog to the PR description to silence this warning.)

Generated by 🚫 Danger

@google-cla google-cla bot added the cla: yes label Apr 21, 2021
@google-oss-bot
Copy link

google-oss-bot commented Apr 21, 2021

Coverage Report

Affected SDKs

  • FirebaseDatabase-iOS-FirebaseDatabase.framework

    SDK overall coverage changed from 56.88% (648562e) to 56.95% (9b22410) by +0.07%.

    Filename Base (648562e) Head (9b22410) Diff
    FConnection.m 27.56% 28.03% +0.46%
    FIRDatabaseComponent.m 17.39% 16.95% -0.44%
    FIRDatabaseConnectionContextProvider.m ? 96.47% ?
    FIRRetryHelper.m 88.37% 83.72% -4.65%
    FPersistentConnection.m 22.20% 21.69% -0.51%
    FRepo.m 13.73% 13.96% +0.23%
    FSRWebSocket.m 41.60% 39.95% -1.64%
    FWebSocketConnection.m 35.38% 42.75% +7.37%
  • FirebaseFunctions-iOS-FirebaseFunctions.framework

    SDK overall coverage changed from 33.63% (648562e) to 52.17% (9b22410) by +18.54%.

    Filename Base (648562e) Head (9b22410) Diff
    FIRFunctions.m 12.10% 54.10% +42.00%
  • FirebaseStorage-iOS-FirebaseStorage.framework

    SDK overall coverage changed from 59.59% (648562e) to 59.99% (9b22410) by +0.40%.

    Filename Base (648562e) Head (9b22410) Diff
    FIRStorage.m 75.30% 75.89% +0.59%
    FIRStorageTokenAuthorizer.m 100.00% 98.53% -1.47%

Test Logs

@maksymmalyhin maksymmalyhin marked this pull request as ready for review April 21, 2021 15:10
@maksymmalyhin
Copy link
Contributor Author

Fix for Functions Xcode 11 failure #7931.

* Functions tests: fix Xcode 11 warnings

* style
@maksymmalyhin
Copy link
Contributor Author

cc @kevinthecheung

* FIRAppCheckSettings introduced (WIP)

* FIRAppCheckSettingsTests

* Style

* Make FIRAppCheckSettings instance per-app.

* FIRAppCheckTokenRefresher: use FIRAppCheckSettings.isTokenAutoRefreshEnabled (WIP)

* Tests

* Add public instance getters

* Fix analyzer warnings

* Fix testspec OS versions

* FIRAppCheckTokenRefresher expiration date update; tests

* FIRAppCheck.isTokenAutoRefreshEnabled implementation and tests

* style

* FIRAppCheck: Use specific types for variables in the default init

* More precise comments

* missing symbol

* FIRAppCheckSettings: remove defensive conditions from init.
@maksymmalyhin maksymmalyhin merged commit 47e0a98 into master Apr 22, 2021
@maksymmalyhin maksymmalyhin deleted the app-check-main branch April 22, 2021 01:01
@firebase firebase locked and limited conversation to collaborators May 22, 2021
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.

4 participants