Commit Graph
4084 Commits
Author SHA1 Message Date
Rosalyn Tan 5b7e857029 Allow Generic OAuth for Facebook and Apple when using the auth emulator. (#6702) 2020-10-08 14:09:08 -07:00
Morgan Chen 4baeb824bd Address floc review comments (#6691)
* Address floc review comments

* Fix style

* fix bad synthesize

* Remove segmentation constants from core

* fix style
2020-10-08 14:08:44 -07:00
Maksym Malyhin 13beb58fa1 Refactor GULSwizzledObject to ARC to unblock SwiftPM support (#5862)
* Refactor GULSwizzledObject to ARC to unblock SwiftPM transition.

* run ./scripts/style.sh

* Assert a single swizzler per swizzled object.

* testMultiSwizzling: fix iOS 10 tests

* Changelog

* Cleanup
2020-10-08 16:02:56 -04:00
bff6b664d1 Merge release-6.34.0 branch after patch (#6701)
* Update versions for Release 6.34.0

* 6.34.0 updates for SwiftPM (#6614)

* M81 FIS cherry pick of #6570 (#6616)

* FIS: Additional FIRInstallationsItem validation (#6570)

* FIS API tests for no FID in response

* FIRInstallationsIDControllerTests: test names

* FIRInstallationsIDControllerTests: corrupted storage tests

* FIRInstallationsItem validation

* Fix FIRInstallationsItem.IIDDefaultToken copy

* Improve error description.

* FIRInstallationsItem validation error

* FIRInstallationsItem validation tests

* ./scripts/style.sh

* FIRInstallationsIDController: validate stored installation

* FIRInstallationsAPIService installation validation

* Changelog

* Update versions

* patch version

* release manifest

* FIS: don't log anything on success validation (#6635)

* Update changelogs (#6649)

* GoogleDataTransport: deprecated API conditions (#6697)

* GoogleDataTransport: deprecated API conditions

* Version bump

* use `TARGET_OS_IOS`

* changelog

* changelog

* style

* Fix merge

Co-authored-by: Ryan Wilson <wilsonryan@google.com>
Co-authored-by: Paul Beusterien <paulbeusterien@google.com>
Co-authored-by: Morgan Chen <morganchen12@gmail.com>
2020-10-08 15:11:00 -04:00
karenyz 409a3ccade Update API documentation referencing removed methods (#6667)
* Update API documentation to remove references to removed methods

* Add changelog

* Address comments
2020-10-08 12:09:54 -07:00
Sebastian Schmidt 55ab8858d8 Support paths with + in List API (#6700) 2020-10-08 11:57:58 -07:00
Paul Beusterien 4507ad146b Fix CI/regression - update for change FCM API (#6699) 2020-10-08 11:06:02 -07:00
Ryan Wilson 769fa7b446 Fixed CHANGELOG location. (#6698) 2020-10-08 13:02:08 -04:00
Ryan Wilson 19159a4b25 Fix tvOS storage issues. (#6658)
* Fix tvOS storage issues.

On tvOS devices, the ApplicationSupport directory cannot be used.
Unfortunately this doesn't come up in simulator testing, only on device.
This hasn't been fully tested on device but given that any writes to the
ApplicationSupport directory fail on tvOS, this change can't break much.

Fixes #6612

@defagos can you please give this a test?

* Fixed changed dir name for RC

* Fixed test naming, too.

* Fix the documentation comment for GoogleUtilities.

* Updated changelog.

* Review feedback
2020-10-08 11:28:41 -04:00
Paul Beusterien 31f978eb95 Provide version for FDL 1P builds (#6679) 2020-10-08 07:24:18 -07:00
Paul Beusterien 09761d0b23 Fix retain cycle build issue (#6693) 2020-10-07 20:26:57 -07:00
Paul Beusterien 672256e11e C API for Firebase Version (#6690) 2020-10-07 15:03:20 -07: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
Chen Liang 0a4cbabbaf Fix an issue notification is not received during app first install (#6669) 2020-10-07 14:09:14 -07:00
Paul Beusterien 27ecc468e4 Fix a google3 build error (#6689) 2020-10-07 13:55:36 -07:00
Paul BeusterienandMorgan Chen c657e679d4 Cherry-pick two 6.34.0 commits to master (#6688)
* Update changelogs (#6649)
* Speedup SwiftPM (#6687)

Co-authored-by: Morgan Chen <morganchen12@gmail.com>
2020-10-07 13:30:01 -07:00
Chen Liang 1f6c2ffe79 Messaging token refresh delegate should be able to return null token (#6647) 2020-10-06 14:52:00 -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
Gran 8e276e97f1 Update FirebaseAnalytics to the latest version from the release branch. (#6675) 2020-10-06 13:28:55 -07:00
Daisuke TONOSAKI 38f9f78b0c UI_USER_INTERFACE_IDIOM() was deprecated in iOS 14 (#6576) 2020-10-06 13:14:02 -07:00
Maksym Malyhin f8a8c42112 FirebaseInstallations import added to Firebase.h (#4908)
* FirebaseInstallations import added to Firebase.h

* Add Installations to Firebase.podspec
2020-10-06 15:41:59 -04:00
Yuchen Shi d6f13cf410 Remove duplicate section for instructions. (#6668) 2020-10-06 12:05:25 -07:00
Paul Beusterien 5c236784ad Missing Foundation import (#6670) 2020-10-05 22:03:26 -07:00
karenyz b1ebf80d10 Call fetchAndActivate completion handler on main thread (#6665)
* Call fetchAndActivate completion handler on main thread

* Add changelog

* Update changelog to use issue number
2020-10-05 17:35:50 -07:00
Paul Beusterien 92537a1198 Simplify FirebaseCore imports (#6664) 2020-10-05 14:34:33 -07:00
Yuchen Shi 7a79ca426d Update the sample project link. (#6661) 2020-10-05 13:20:39 -07:00
Maksym Malyhin bde8e07844 GDT: move some headers from public to internal (#6643)
* Move extra public headers to Internal and fix imports

* Cleanup

* Use relative paths in internal headers

* Fix imports in internal headers

* ./scripts/style.sh

* Fix GDTTestApp

* Fix test app

* Use real uploader for watchOS test app

* comma
2020-10-05 14:00:49 -04:00
Paul Beusterien cdb48651ce Fix breakage from #6651 (#6660) 2020-10-05 10:43:30 -07:00
Paul Beusterien dafade5026 Bump nanopb to fix Xcode 12 warning (#6659) 2020-10-05 09:50:50 -07:00
Paul Beusterien d76e37174d Public Version API (#6651) 2020-10-05 09:38:35 -07:00
Paul Beusterien ddbe5b11b0 Fix ZipBuilder crash and warning (#6653) 2020-10-05 06:53:01 -07:00
Paul Beusterien aea0b5c7ab Update Symbol Collision Test for Firebase 7 (#6656) 2020-10-05 06:41:54 -07:00
Paul Beusterien 83e898ab5c One Firebase version (#6634) 2020-10-02 12:26:22 -07:00
Cleo Schneider 6c846756c0 Add check for unauthenticated error and sign out in fetchNewLatestRelease (#6648)
* Add check for unauthenticated error and sign out in fetchNewRelase method

* Update CHANGELOG

* Add check for Tester sign in before calling fetch
2020-10-02 14:36:20 -04:00
Paul Beusterien 12c9e3fef0 Stop using CocoaPods private headers (#6572) 2020-10-02 09:11:21 -07:00
Paul Beusterien 4afbdba849 Update check_imports check (#6640) 2020-10-01 17:57:25 -07:00
Maksym Malyhin babd8e63bd GDT: Move GDTCORAssert.h to internal headers (#6638)
* Move GDTCORAssert.h to internal headers

* Fix import
2020-10-01 20:56:26 -04:00
Morgan Chen 598dca1c78 Fix broken dangerfile (#6642) 2020-10-01 17:29:07 -07:00
karenyz f56afe9ba1 Remove deprecated RC APIs (#6637)
* Remove deprecated method declarations and implementations
2020-10-01 16:11:16 -07:00
69bfe3fd3c Merge FLoC SDK into master branch. (#6466)
* Create Segmentation SDK structure for source and unit tests. (#3214)

* Create Segmentation SDK structure for source and unit tests.

* Review changes: Remove unnecessary files in test folder. Add md-floc-master to CI

* Rename Segmentation directory to FirebaseSegmentation directory. Update podspec to include search header path.

* Add core support with interop for Segmentation SDK.  (#3430)

* Add core support with interop for Segmentation SDK. Also update headers to be under sources folder.

* Review fixes.

* Minor changes.

* Fix style.

* Fix style.

* Style changes.

* Fix whitespace in travis.yml

* Fix style.

* Travis CI is stuck..try updating the travis.yml

* Undo travis.yml change.

* Working drop of Segmentation SDK along with test app and unit tests. (#4574)

* Working drop of Segmentation SDK along with sample app and unit tests.

* Update if_changed.sh to include FirebaseSegmentation.

* Complete NS_ASSUME_NON_NULL_START with NS_ASSUME_NON_NULL_END in header file.

* Fix unit tests.

* Fix style.

* Fixes after running XCode's static analyzer.

* Fix style.

* fix style.

* 'pod lib lint' fixes.

* Fix analyzer errors.

* Address review comments.

* Minor changes for review comments.

* Address review comments.

* Address review comments.

* stop mocking in tear down method for tests.

* Minor update to sample app project.

* Fix trailing whitespace in Podfile.

* Add set -x to check.sh

* update segmetation dependency version

* migrate FloC SDK to depend on FIS SDK directly

* format floc

* format

* using customized FIRapp

* remove test plist file

* refactor to capture weakself

* format

* replace partial mock with class mock

* minor refactoring

* use subscript to manipulate dictionary instance

* fix import error

* minor refoctoring, addressing comments

* address comments

* fix configurations

* format

Co-authored-by: dmandar <dmandar@users.noreply.github.com>
Co-authored-by: ChaoqunCHEN <cqchen93@gmail.com>
2020-10-01 15:10:32 -07:00
Maksym Malyhin dfffd85572 FIS: disable IID migration tests by default (#6619)
* FIS: disable IID migration tests by default

* remove redundant env variable

* Fix merge errors
2020-10-01 16:08:39 -04:00
christibbs 00a3021c47 Remove deprecated elements of FIAM API (#6617)
* Remove deprecated FIAM API

* Remove call to deprecated method

* Fix imports

* Modify view controllers to use dummy test subclasses for message objects

* Add bridging header, include it in test app

* Add CHANGELOG entry

* Revert "Add CHANGELOG entry"

This reverts commit 55c0bbcff5.

* Add CHANGELOG entry

* Swift formatting

* Add LLC to copyright notice

* Revert "Fix imports"

This reverts commit 55fdbbd3e0.
2020-10-01 16:00:57 -04:00
Ryan Wilson 41fe278f90 Remove the FirebaseOptions() bare initializer. (#6633)
* Remove the `FirebaseOptions()` bare initializer.

This was unintentionally surfaced from the ObjC header and should be
removed.

Note: although the existing initializer doesn't work, this is still a
breaking change.

* Style

* Changelog update.
2020-10-01 15:43:27 -04:00
Maksym Malyhin f84d094f06 FIS: don't log anything on success validation (#6635) (#6636) 2020-10-01 15:07:21 -04:00
Rosalyn Tan 312f733fc0 Add auth emulator support to public API. (#6624)
* Add auth emulator support to public API.

* Update changelog.
2020-10-01 10:45:52 -07:00
karenyz 4f7a88b68b Change numberValue to be nonnull (#6623)
* Change numberValue to be nonnull

* Add changelog
2020-10-01 09:30:28 -07:00
Paul Beusterien d74b89bab5 ZipBuilder Firebase 7 updates (#6629) 2020-10-01 08:28:55 -07:00
Paul Beusterien fa5ff62138 Merge remote-tracking branch 'origin/master' into pb-merge-firebase7 2020-09-30 21:44:39 -07:00
akiva 49afa26c0a Use MIMEType for image download extension if not present in resource URL (#6591) 2020-09-30 21:42:50 -07:00
Paul Beusterien 6a2b9a9556 Merge remote-tracking branch 'origin/master' into pb-merge-firebase7 2020-09-30 16:49:31 -07:00