Maksym Malyhin and Paul Beusterien
497d08b71d
Core: fix and cleanup notification center tests ( #7244 )
...
* Fix log diagnostics tests and remove unused notification
* Replace deprecated OCMock methods with notification expectations
* Bump Core and CoreDiagnostics versions
* Defer Core version update until release
Co-authored-by: Paul Beusterien <paulbeusterien@google.com >
2021-01-05 12:22:06 -05:00
Chen Liang
6ffc845b05
Check token is different from cache and storage before updating it ( #7223 )
2020-12-29 16:12:06 -08:00
Paul Beusterien
451a6c24c2
Restore Catalyst unit testing in CI ( #7185 )
2020-12-17 07:45:13 -08:00
Maksym Malyhin
f198987a1a
Firebase user agent: additional fields for platform logging ( #6429 )
...
* Move firebase user agent logic to a separate class.
* FIRAppTest: prefix some tests with the tested method names
* FIRAppTest: user agent new fields tests
* New user agent field added.
* Headers
* API docs
* ./scripts/style.sh
* nullability fix
* Move environment info methods to GoogleUtilities
* GULAppEnvironmentUtilTest
* GULAppEnvironmentUtil swift tests
* FirebaseApp user agent swift flag test
* ./scripts/style.sh
* Cleanup CoreDiagnostics
* Nullable device model
* FIRCoreDiagnosticsTest fix
* Merge fixes
* Fix import
* rename
* Cleanup GUL imports (since all headers are public now)
2020-10-13 08:53:42 -04:00
Maksym Malyhin
a3a59c1bfc
FIS: require projectID and valid API Key format ( #6678 )
...
* FIRInstallations validation: remove GCMSenderID fallback for missing projectID
* FIRInstallationsIDController: remove GCMSenderID fallback for missing projectID
* Add API Key validation
* Changelog
* changelog
* Constant for API key lenght
* array] -> alloc] init]
* typo
* message
* ./scripts/style.sh
* Fix dummy API key in integration tests
* Update dummy API Keys to match the expected format
* debug test quickstart with no xcpretty
* fix debug
* Use debug QS repo branch
* print debug
* Add missing allowed characters `-`, `_`
* Nicer dummy API Keys
* Comment
* Revert "Use debug QS repo branch"
This reverts commit 69739dd6ae .
* Revert "fix debug"
This reverts commit 84fcbc7543 .
* Revert "debug test quickstart with no xcpretty"
This reverts commit 1fa21ed62a .
2020-10-07 17:25:03 -04:00
Paul Beusterien
27ecc468e4
Fix a google3 build error ( #6689 )
2020-10-07 13:55:36 -07:00
Maksym Malyhin
8eded3f5be
Remove deprecated -[FIRInstanceID appInstanceID:] ( #6677 )
...
* Remove deprecated -[FIRInstanceID appInstanceID:]
* changelog
* typo fix
2020-10-06 16:44:07 -04:00
Paul Beusterien
83e898ab5c
One Firebase version ( #6634 )
2020-10-02 12:26:22 -07:00
Paul Beusterien
5d0a1c8ccb
Merge remote-tracking branch 'origin/firebase7-main' into pb-merge-firebase7
2020-09-30 14:23:40 -07:00
Chen Liang
f0e7b8e195
Add InstanceID deprecation warning ( #6585 )
2020-09-29 13:35:31 -07:00
Paul Beusterien
f2bcd5d82b
Make all GoogleUtilities APIs public ( #6588 )
2020-09-29 07:26:10 -07:00
Paul Beusterien
89dd31a7ae
IID: repo-relative headers ( #6539 )
2020-09-23 11:00:54 -07:00
Chen Liang
ef0f51e116
Avoid using OCMock on NSOperation ( #6315 )
2020-08-21 11:45:58 -07:00
Paul Beusterien
a220ab1363
Add SPM support for CoreDiagnostics ( #6233 )
2020-08-10 07:46:19 -07:00
Chen Liang
2e028132de
Fix topic in watchOS ( #6209 )
2020-08-06 12:57:59 -07:00
Paul Beusterien
f1a5ee9514
Fix CoreDiagnostics test regression ( #6180 )
2020-07-31 11:38:53 -07:00
Chen Liang
edf1e6d7ce
Messaging: fix a warning in macOS build and sample podfile file path ( #6070 )
2020-07-17 15:58:13 -07:00
Paul Beusterien
60293c6dc4
Storage SPM Unit Tests ( #5976 )
2020-07-06 11:30:01 -07:00
Paul Beusterien
d653c9584c
Update copyright presubmit and fix 2020 copyrights ( #5944 )
2020-06-29 13:16:19 -07:00
Paul Beusterien
01bf549253
Update formatters ( #5933 )
2020-06-26 14:34:27 -07:00
Paul Beusterien
d617e99af5
Fix header style issue caught by copybara ( #5923 )
2020-06-25 17:27:38 -07:00
Paul Beusterien
5a5914da7e
GDT Repo-relative imports and SPM ( #5909 )
2020-06-24 17:50:15 -07:00
Paul Beusterien
e03a8d91a0
Consolidate GDT and GDTCCT to a single pod ( #5902 )
2020-06-24 14:09:46 -07:00
Paul Beusterien
7cb6f96cfd
Repo-relative imports for Database ( #5861 )
2020-06-22 07:58:52 -07:00
Paul Beusterien
fa72963bfd
Update FirebaseDatabase to canonical directory structure ( #5860 )
2020-06-22 07:26:07 -07:00
Paul Beusterien
c07c89ee75
Repo-relative imports for Installations ( #5832 )
2020-06-17 07:26:40 -07:00
Paul Beusterien
3f556ddb9e
Update GoogleUtilities' clients with repo-relative imports ( #5824 )
2020-06-16 09:05:29 -07:00
Paul Beusterien
e15724a436
Migrate from interop pods to source_files header access ( #5760 )
2020-06-09 06:09:27 -07:00
Paul Beusterien
d4621a636f
Use preserve_paths instead of CocoaPods private ( #5758 )
2020-06-09 05:21:28 -07:00
Sebastian Schmidt
e4f05d3d46
Add GMPID header to the RTDB SDK ( #5761 )
2020-06-08 14:37:07 -07:00
Paul Beusterien
851b0390f6
Separate Core private versus internal headers ( #5759 )
2020-06-08 09:18:31 -07:00
Paul Beusterien
66a44cb4f8
Migrate RTDB to GHA ( #5681 )
2020-05-27 09:29:27 -07:00
Sebastian Schmidt
885f296f3b
Update Database tests to run against the emulator ( #5650 )
2020-05-20 23:12:10 -07:00
Chen Liang
dabfd91dea
Move messaging sample app to the new FirebaseMessaging folder ( #5476 )
2020-04-27 16:31:17 -07:00
Chen Liang
793d763490
create firebase messaging folder ( #5445 )
2020-04-23 14:43:47 -07:00
Chen Liang
f60992fba0
Fix messaging GHA failure ( #5430 )
2020-04-21 15:44:35 -07:00
Chen Liang
1cb964f6a0
add settings to test app ( #5375 )
2020-04-20 15:23:35 -07:00
Chen Liang
447e544264
add a token refresh integration test in messaging ( #5358 )
2020-04-15 11:39:34 -07:00
Chen Liang
b279805779
fix a few places ( #5370 )
2020-04-14 15:47:55 -07:00
Chen Liang
c049f741f0
fix an issue that delete token does not trigger token refresh notification or delegate ( #5339 )
2020-04-13 16:32:24 -07:00
Ryan Wilson
9675f8d94e
UI changes for the sample app. ( #5331 )
...
* UI changes for the sample app.
Moved the buttons out of the list, added a navigation title, and made
Identity have optional properties since it's more appropriate (vs an
empty string).
* Fixed style, removed comment.
2020-04-09 15:30:26 -04:00
Chen Liang
ed52d0d8f6
Add a new firebase messaging test app using swiftui ( #5301 )
2020-04-08 20:12:26 -07:00
Paul Beusterien
df75e500b0
Migrate Auth to canonical directory structure ( #5318 )
2020-04-08 17:52:56 -07:00
Paul Beusterien
b90ddf1339
Limit Swift line lengths to 100 ( #5315 )
2020-04-08 10:48:24 -07:00
Sebastian Schmidt
059c24fdb1
Make ServerValue.increment() public ( #5256 )
2020-04-02 15:39:16 -07:00
Thomas Bouldin
90e4522e66
[Feature launch] Re-add increment operator ( #5149 )
...
* Definition is currently in an "unreleased" extension to FIRServerValues
* Tests are added to FData.m (integration tests)
* Some tests are renamed to make it clear that ServerValues != timestamps
* Functions that resolve server values now need access to any existing snapshot. This is done with lazy evaluation as described below:
Based on fix https://github.com/firebase/firebase-js-sdk/pull/2499
to bug https://github.com/firebase/firebase-js-sdk/issues/2487
Micro-benchmarking showed that N writes in succession led to N^2
performance when calculating the resolved write tree for those
writes (thankfully only at the subpath in this SDK). Lazy evaluation
of current data matches the optimization in JS that mitigated a
20% performance regression.
2020-04-01 13:30:29 -07:00
Chen Liang
1054d6a167
Remove migration from legacy keychain ( #5237 )
2020-03-31 15:25:29 -07:00
Chuan Ren
9a7754c59e
Enable lint for Auth ( #5097 )
2020-03-17 10:22:29 -07:00
Chuan Ren
1243798999
Capitalize ( #5063 )
2020-03-11 10:15:27 -07:00
Morgan Chen
8fa6431ad5
Update environment checks ( #5056 )
...
* update environment checks
* replace deprecated macro
* update GoogleUtilities changelog
2020-03-10 15:39:03 -07:00