Commit Graph
569 Commits
Author SHA1 Message Date
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
Chuan Ren 4433d07709 MFA beta (#4823) 2020-03-10 13:30:20 -07:00
Chen Liang cbc869552d minor fix in the README and tvOS podfile (#4982) 2020-02-26 16:11:42 -08:00
Chen Liang 1fb6a77a8b Add github action for Messaging (#4970) 2020-02-26 11:46:30 -08:00
Chen Liang a310248f49 Make Firebase Storage compile and work in independent watch app (#4955) 2020-02-25 14:06:40 -08:00
Chen Liang 27c4898cec Deprecating FCM Direct Channel API (#4710) 2020-02-18 10:36:39 -08:00
Chen Liang d3d27559cc Add independent watch sample app for Messaging (#4893) 2020-02-13 15:52:58 -08:00
Chen Liang f4ae4a4416 re-enable style script for messaging (#4858) 2020-02-07 14:27:18 -08:00
Chen Liang 1dad9c5c0e use secure coding and secure archiving for messaging (#4848) 2020-02-07 12:53:57 -08:00
Maksym Malyhin 25f626ca17 FCM: async remove database in FIRMessagingRmqManager (#4771)
* Add tests for removeDatabase deadlock

* Cleanup

* Cleanup and comments.

* FIRMessagingRmqManager: async remove database

* FIRMessagingRmqManager: async remove DB test fixes.

* Fix trailing spaces

* Cleanup

* FIR_MESSAGING_ASSERTIONS_BLOCKED handling added. FIR_MESSAGING_ASSERTIONS_BLOCKED is set in google3 tests

* Fix blaze tests
2020-02-03 15:59:03 -05:00
dmandar f5062d861c FDL source, unit tests and app now live in FirebaseDynamicLinks folder. (#4767)
* Move FDL sources to new location.

* Add FDL unit tests.

* Move test app.

* Fix source path.

* Move unit tests path.

* Rename source to sources.

* Change relative path.

* Update podspec.

* Fix header search path.

* Fix relative path for scripts.

* Fix tests.
2020-01-30 11:44:31 -08:00
Maksym Malyhin b1dfcfd5b3 IID: fix flaky tests (#4703)
* IID: fix flaky tests

* Coments.
2020-01-17 16:45:48 -05:00
Maksym Malyhin 1bc3255436 Firebase Installations: validation of FIROptions parameters (#4683)
* FIS: Throw exception on incomplete Firebase config.

* API docs updated.

* FirebaseInstallations bump minor version: 1.1.0

* Fix tests

* Text fixed

* Make exception message more informative

* Fix Remote Config tests.

* Tests updated to use GCMSenderID if projectID is not available.

* Use `GCMSenderID` when `projectID` is not available.

* ./scripts/style.sh

* Comments

* GCMSenderID and projectID validation updated.

* Comment

* FirebaseInstallations: version bump to 1.0.1.

* FIS changelog

* FirebaseInstallations: version bump to 1.1.0

* FIS and Core changelogs.

* Changelogs remove GCMSenderID

* Typo

* Typo

* fix link

* Revert Core changelog

* FIS changelog fix.
2020-01-16 16:13:49 -05:00
Maksym Malyhin 71a001ee44 FCM: fix distant future date in the tests. (#4667) 2020-01-13 14:00:49 -05:00
Maksym Malyhin fea5640caa IID: re-enable deleteID test (#4586) 2020-01-08 16:00:37 -05:00
Sebastian Schmidt 339c8404d0 Revert "Add +[FIRServerValues increment:] (#4328)" (#4627)
This reverts commit 1cf8a944d7.
2020-01-08 09:25:30 -08:00
Paul Beusterien 1367084063 FirebaseCore directory structure update (#4590) 2020-01-06 07:11:40 -08:00
Chuan Ren b378456a54 Add apple sign in to sample code (#4583) 2020-01-03 15:06:55 -08:00
Maksym Malyhin 156df40066 IID: disable integration tests on MacOS (#4589) 2020-01-03 15:42:13 -05:00
Paul Beusterien efa9bd9cd4 Remove Firebase xcode project (#4588) 2020-01-03 12:19:41 -08:00
Paul Beusterien b6cd99e30a Update Firebase Storage directory structure (#4573) 2020-01-03 07:22:33 -08:00
Maksym Malyhin 942a23dc17 FirebaseInstanceID integration tests (#4560)
* InstanceID integration tests

* ./scripts/style.sh

* Travis: run install_prereqs.sh for IID

* install_prereqs.sh: run `install_secrets` for IID

* Flag to disable IID integration tests

* Travis: IID disable integration tests for forks.

* ./scripts/style.sh

* Temporary disable IID test due to b/147102327

* Travis: IID integration tests enabled for all IID builds.
2020-01-02 19:29:29 -05:00
Chen Liang e4456c011b Enables Firebase Messaging push notification function on watch only and independent watch app (#4016) 2019-12-23 16:45:19 -08:00
Paul Beusterien 9f97f4ec8e One more Podfile update for Installations (#4540) 2019-12-21 09:48:52 -08:00
Maksym MalyhinandChen Liang f62c7ddcec IID: version dependent on FirebaseInstallations (#4533)
* Firebase Installations: Instance ID now uses FIS under the hood. (#3398)

* Fix merge errors

* Use modular import for FIRInstanceID_Private.h

* Use modular imports for FirebaseInstanceID.h (#3509)

* Changes missing during the fix.

* Changes missing during merge.

* Fix header import.

* ./scripts/style.sh

* Fix FCM tests. (#3888)

* Fix IID FCM token check.

* FirebaseInstallation: merge master into FIS integration branch (#4076)

* Fix IID FCM token check.

* Unused constant deleted.

* FCM tests: fix bad merge.

* Remote Config test app: use local IID and FIS. (#4089)

* token request should pass through if token is not fresh (#4104)

* Merge errors fix.

* IID with FIS: send FIS auth token with IID token request (#4152)

* FIRInstanceIDTokenOperation: add FIS auth token to the IID token request.

* IID tests: don't use FIS private headers.

* IID: indication of compatibility with FIS (#4262)

* FIS: IID incompatible version exception.

* FirebaseInstallations.podspec: set preprocessor flags based on env vars.

* FIS Travis: set required env vars

* /scripts/style.sh

* IID: method to indicate FIS usege added.

* FIS: FIRInstantiationTimingEagerInDefaultApp

* FIS: FIRInstantiationTimingAlwaysEager

* IID: make compatibility method static.

* Make -[FIRInstanceID appInstanceID:] safe to be called from any thread (#4482)

* IID: use a cached value of FID for -[FIRInstanceID appInstanceID:]

* TODO comment

* TODO updated

* FirebaseInstallations: prepare IID with FIS dependency for release (#4522)

* Bump FIrebaseInstallations to 1.0.0

* Travis: remove mm/fis-integration-master branch

* Travis: if_changed script updated to reflect IID dependency on FIS.

* Revert "Travis: remove mm/fis-integration-master branch"

This reverts commit 534dff990a.

* Travis: remove mm/fis-integration-master branch (#4526)

* Formatting and spelling.

* Firebase example proj: pod deintegrate

Co-authored-by: Chen Liang <chliang@google.com>
2019-12-20 10:54:11 -05:00
Paul Beusterien 76c766a866 Release 6.14.0 (#4513) 2019-12-17 11:36:36 -08:00
rsgowman 6fafa08eae Update instructions for auth api tests. (#3894) 2019-12-17 09:29:29 -05:00
Maksym Malyhin 5fcb29158d Add "swift" flag to firebaseUserAgent (#4448)
* Add "swift-runtime/true" to user agent when Swift detected.

* Use "swift" instead of "swift-runtime"

*  ./scripts/style.sh

* Add comment with the Swift check clarification

* Fix bridging header path

* Fix SwiftObject class name for old Siwft versions.

* Add swift runtime flag with value true or false (to be able to distinguish from a no-value-provided case).
2019-12-06 15:45:52 -05:00