Commit Graph
50 Commits
Author SHA1 Message Date
Paul Beusterien e04843b5c4 Remove UIWebViewDelegate references (#3799) 2019-09-09 10:09:13 -07:00
Ryan Wilson cbdf31dc4f Issue number, not PR number (#3785) 2019-09-05 17:01:28 -04:00
Ryan Wilson 8e607ab674 Update FDL CHANGELOG (#3781) 2019-09-05 15:34:13 -04:00
Loïc Dardant 7095c0b390 Remove references to UIWebView from DynamicLinks to comply with Apple "ITMS-90809: Deprecated API Usage" (#3723) 2019-08-29 07:08:57 -07:00
Morgan Chen 42c963549d Document undocumented declarations (#3620) 2019-08-19 15:39:45 -07:00
Morgan Chen b6795ca662 Update CHANGELOG.md (#3597) 2019-08-14 16:01:59 -07:00
dmandar b3bebbdc3f Add support for initializing custom domains without Core. This is required for 1P. (#3540) 2019-08-08 18:52:28 -07:00
Morgan Chen 7b9597c110 Update dynamic links changelog for M53 (#3489) 2019-08-01 16:35:24 -07:00
Morgan Chen 3188760398 Clean up changelogs (#3462)
* Clean up changelogs
2019-07-30 14:07:28 -07:00
Morgan Chen 64fb48556a Update DynamicLinks changelog (#3385) 2019-07-18 11:04:53 -07:00
Michael Haney 783ee5b126 Implement Firebase CoreDiagnostics (#3129)
* Implement CoreDiagnostics interop

For use by FirebaseCore.

Please pay special attention to the changes in FIRApp, I've replaced passing FIRApp in the notification with a data object that will eventually replace the same information that FIRDiagnostics extracted.

* Add CoreDiagnosticsInterop to the Example Podfile

* Style and xcodeproj updates

* Update Podfiles that dep on FirebaseCore

So that they also have a dep on FirebaseCoreDiagnosticsInterop

* ran pod deintegrate to remove unintended xcodeproj changes

* Fix Podfile paths

* Add FCD to if_changed and travis.yml

* Fix building with Firestore

* Style

* Whitespace

* Fix a changed internal API

* Make pod paths consistent

* Restore connectivity_monitor_noop.cc style

* Remove logging prior to [FIRApp configure]

Also remove sendLogsWithServiceName:version:

* style

* Remove nil checks from diagnostics data

* Put back some deleted symbols

* Restore the sendLogsWithServiceName:version: method, but as a no-op

* Restore the original version of sendLogs...

* Allow an unused parameter

* Remove obsolete nsnotificationcenter related stuff

* Whoops, missed the header change.

* Final changes to support FIRCoreDiagnostics

These changes are necessary because FIRCore has a hard dep on FIRCoreDiagnostics (FIRCD) and FIRCoreDiagnosticsInterop.

Components can't be used because FIRCD would need to have a hard dep on FIRCore to get access to FIRLibrary, FIRComponent, FIRComponentContainer, and FIRComponentCreationBlock and this would create a dep cycle. So, an extern has been put into the interop lib and the variable is implemented in the connector class inside of FIRCore, but it's unset. FIRCD actually sets that variable in +load, allowing use of FIRCD.

FIRCD can also be removed as a dependency with no ill effect by end users setting the environment variable DISABLE_FIREBASE_DIAGNOSTICS=1

* Add nanopb and project generation infrastructure

* Convert FIRCoreDiagnostics to canonical nanopb, and move to OSS.

* Remove custom build steps for CoreDiagnostics

* Addressing review comments

* Update versions, tags, and port the relevant unit tests for FIRCD

* Version and platform fixes

* Fix podspec expected tags

* A hack to solve a chicken-and-egg problem with pod lib linting.

* Heartbeat implementation

* FIRDiagnosticsDateFileStorageTests

* Fix tests for non-iOS platforms

* Heartbeat tests

* Fix initialization.

* Cleanup Installation ID.

* Fix testProtoPopulation.

* Merge conflict fix

* Typo fix.

* Remove FIRCore dep from FIRCD unit tests and move symbols to interop

* Run ./scripts/style.sh

* Typo

* #ifdef comment

* File license header.

* Import FIRDiagnosticsDateFileStorage.h using relative path.

* FIRDiagnostics -> FIRCoreDiagnostics

* Docs syntax

* Docs

* Docs typo

* Add shared variables to the interop lib

I know this goes against the convention, but it's actually the only way to resolve this very unique problem.

* Fix comment

* Style

* Removed lib version passing.

* Remove env checking for conditional deps

* Style

* Address whitespace issues

* Add copyright notice

* Add new deps to Podfiles

* Fix trailing space

* Some changes to fix working in an extension.

* Fix type in Podfile

* GDT: begin/end background task only for iOS and TVOS applications.

* Fix typo

* Style

* Stop sharing kFIRService strings across pods

* Travis test

* Change all TARGET_OS_TVOS macros to TARGET_OS_TV

TARGET_OS_TVOS doesn't exist.

Also macro out a UIApplication reference.

* style

* Update all Podfiles with deps on FIRCore

* Fix trailing whitespace

* Update Firestore cmake

* Fix FIAM build break (#3254)

* Additional cmake changes

* Fix linker issue with deprecated CoreDiagnostics (#3257)

* Adding more deps to cmake

* Fix linker error (#3266)

* Rerun only IAM tests

* whitespace

* No xcpretty or frameworks run

* Fix typo

* Revert "No xcpretty or frameworks run"

This reverts commit afc1abba37.

* Revert "whitespace"

This reverts commit fd06955a56.

* Revert "Rerun only IAM tests"

This reverts commit 98ce07600f.

* Run travis on this branch

* Add support for expanding PODS_TARGET_SRCROOT in CMake (#3267)

* Fix a few things that should have been splatted but weren't

* Define PODS_TARGET_SRCROOT in CMake for compatibility with CocoaPods

* Compile pods we depend upon with looser settings

* Rename the nanopb dependency to match what CMake actually has

* Make #include <nanopb/pb.h> work

Remove the old way of #include <pb.h> once we change the Firestore
nanopb generator to match.

* Fix warnings that fail the build

* Remove typed enum and fix a comment.

* Fix an import

* Change a line so it's not altered by Copybara

* More changes to stop copybara from altering the wrong sources

* Remove trailing whitespace

* Fix copybara modifying python.

* Add additional field in firebasecore.proto (#3273)

* Remove the dependency on interop to populate a shared variable.

* style

* Create travis jobs for FirebaseCoreDiagnostics (#3245)

* Create travis jobs for FirebaseCoreDiagnostics

And update the pod lib lints for GDT.

Remove the mph-master branch before merging to master.

* Add support for FIRCD to if_changed.sh

* Adjust tests

* Unavailable init methods should not be nullable (#3276)

* Allow firestore api to work with Codable objects + ExplicitNull + Integration tests (#3261)

* Convinience api for codables

* Integration Tests

* ExplicitNull implementation

* Update to CocoaPods 1.7.3 (#3280)

* Import GULLoggerLevel.h via public framework header (#3277)

* Put the need to include Firestore/Source/Public in the podspec (#3288)

This removes the need to munge the pods project after the fact and makes
it so that customers can click through to our headers too.

* Ensure Storage initializer doesn't get called (#3294)

* FIROptions.appGroupID introduced (#3293)

* Use a consistent set of dependencies on all platforms (#3289)

* Use a consistent set of dependencies on all platforms

* pod install for uniform dependencies

* Store the coerced base value in the BaseMutation (#3292)

* In card message: set the text color on the body text view (#3286)

* In card message: set the text color on the body text view

* Fix bug where card messages in test app were showing up with two of the same buttons

* Revert change to text color

* [docs] add missing semicolon (#3305)

Add missing semicolon to code example

* Add explicit Foundation import. (#3309)

This is causing issues when building an XCFramework.

* Pass the correct compiler flag for CoreDiagnostics. (#3312)

* Pass the correct compiler flag for CoreDiagnostics.

When CoreDiagnostics is open sourced, we'll need to ensure that the
right compiler flag is passed. This doesn't add support for Carthage yet
but allows the frameworkbuilder to pass the flag for carthage as well.
An update to the zipbuilder to allow for carthage will follow shortly.

* Remove accidental change.

* Fix and rewrite sync_project.rb (#3296)

* Fix and rewrite sync_project.rb

Ever since we added multiple platforms, removing a file has been broken.
This fixes that issue.

Also, rewrite target synchronization to make more sense. Essentially now
there's one diff between the filesystem and the groups and then an
explicit diff is done between project files and target contents.

* Run sync_project.rb on post-install

* pod lib linting should output something every minute while running

* DEBUG: This commit should be reverted

* DEBUG: This commit should be reverted

* DEBUG: This commit should be reverted

* Remove mph-master from travis

* Fix constant name conflic between old and new diagnostics (#3329)

* Rename kFIRDiagnosticsHeartbeatDateFileName -> kFIRCoreDiagnosticsHeartbeatDateFileName to avoid conflicts with FIRDiagnostics.

* Travis: temporary add `mph-master` to run tests.

* Rempve mph-master again

* Fix imports in FIRCDConnector

* Fix another import

* Fix yet another import

* Attempt to read crashing test logs from disk

* Implement printing of failed/crashed test logs.

* Print only crashed tests, rmdir between runs

* Revert reading crashing log changes

* Write CHANGELOG for all new FIRCD associated libraries

* Change all GUL deps to >= 6.2

* Revert ZipBuilder changes and do some last bits of cleanup

* Remove an assertion and populate an error instead
2019-07-18 09:54:06 -07:00
Paul Beusterien b35ca19ede Stop calling deprecated sendLogsWithServiceName (#3333) 2019-07-11 07:04:53 -07:00
Jason Hu 59a42fa4f2 Fix XCode Analysis Issues for XCode 10.1 (#3014) 2019-05-17 09:01:35 -04:00
Paul Beusterien 071d6e9c01 FIRErrorCodeDurableDeepLinkFailed is for 3P only (#2797)
* FIRErrorCodeDurableDeepLinkFailed is for 3P only
* import is also 3P only
2019-04-10 12:28:09 -07:00
Paul Beusterien cbeec8f9d7 Fix internal build target (#2795) 2019-04-10 10:53:24 -07:00
Paul Beusterien 51159943d9 Fix 1P build issue (#2793) 2019-04-09 21:21:37 -07:00
dmandar 04b2de75e8 FDL release notes for M47 (#2792)
* Update FDL release notes for M47 release.

* Add note on analytics hard dependency removal.
2019-04-09 21:04:59 -07:00
dmandar d5cb5f7f98 Remove deprecated API in FDLURLComponents. (#2768)
* Remove deprecated API in FDLURLComponents.

* Fix style.
2019-04-08 21:50:19 -07:00
Paul Beusterien fd6f93d89d Begin migrating FIRLoggerService declarations to clients (#2720) 2019-04-08 08:54:21 -07:00
Paul Beusterien 76a003f4c8 Clean up unused Core error codes (#2737)
* Core patches can only be 2 digits
2019-04-08 06:58:49 -07:00
Paul Beusterien 1a32a1f7d3 Delete references to deprecated Crash and Invites (#2668) 2019-04-01 19:06:05 -07:00
dmandar 7c26983cbc Update FDL CHANGELOG for M46. (#2646)
* Update FDL CHANGELOG for M46.

* Add space.
2019-03-26 14:17:18 -07:00
dmandar 3c3fe7927f Fix for issue where matchesshortlinkformat was returning true for all links. (#2563)
* Fix issue with matchesShortLinkFormat always returning true.

* Fix style.
2019-03-19 14:13:17 -07:00
dmandar 8328f781f6 Update CHANGELOG.md (#2536) 2019-03-12 16:32:17 -07:00
Maksym Malyhin 847d9ddf39 FIRDynamicLink: preserve all parameters passed to initializer (#2478)
FIRDynamicLink: preserve all parameters passed to initializer (#2478)
2019-03-11 15:49:17 -04:00
Paul Beusterien b635b09aa4 M44 release notes update (#2425) 2019-02-25 10:33:25 -08:00
Loïc Dardant 056342d358 Be sure to validate return code when calling sysctlbyname function (C… (#2394) 2019-02-21 07:51:47 -08:00
dmandar 6e3a0f77b6 Update changelog for Dynamic Links to v 3.4.0 (#2272) 2019-01-16 12:14:45 -08:00
dmandar 69f31d976a Migrate to using the FDL API for app re-opens (#2238)
* Allow for pasteboard links with trailing slashes as valid custom domain links.

* Example App: Read the correct domainURIPrefix key from paramvalues dictionary.

* Update comment.

* Migrate the Reopen REST endpoint from AppInvite to FDL.

* Only include long FDLs with a trailing /.

* Run style script.

* Fix typo in test.
2019-01-16 10:14:30 -08:00
dmandar 09e49e867d Allow for pasteboard links with trailing slashes as valid custom domain links (#2220)
* Allow for pasteboard links with trailing slashes as valid custom domain links.
2019-01-10 16:56:21 -08:00
Paul Beusterien 7c53489e03 Travis to Xcode 10.1 and clang-format to 8.0.0 (tags/google/stable/2018-08-24) (#2222)
* Travis to Xcode 10.1
* Update to clang-format 8
* Update clang-format homebrew link
* Work around space in filename style.sh issue
2019-01-02 09:27:31 -08:00
Paul Beusterien 943141e0cd Use registerLibrary for pods in Firebase workspace (#2137)
* Add versioning to Functions and convert to FIRLibrary
* Convert Firestore to FIRLibrary
* Point travis to FirebaseCore pre-release for its deps
* Update user agent strings to match spec
2018-12-13 08:36:08 -08:00
dmandar 36b79e633f Move to domainURIPrefix for FIRDynamicLinkComponents (#2119)
* Revert "Revert premature api changes (#2097)"
The new API is optional and current API is fully supported.

This reverts commit 46cb564067.

* Update comments to reflect API changes.

* Mark the FDLURLComponents initializer return as nullable.

* Run Style.

* Allow for new initializer for FIRDynamicLinkComponents to have a nullable instancetype return.

* Update Changelog for v3.3.0

* Keep deprecated method initalization separate.

* Comments updates and other minor fixes.

* Consider domainURIPrefixes for exact matches with incoming short/long URLs.

* Add warning for deprecated API if developer passes in a domain with a scheme.
2018-11-29 13:58:38 -05:00
Ryan Wilson dadcce83b2 Avoid using default FIROptions directly. (#2124)
Instead of using `[FIROptions defaultOptions]` we should be using
`FIRApp`'s options. This will allow developers to use custom `FIROptions`
instead of the default named Info.plist.
2018-11-27 16:56:46 -05:00
Paul Beusterien 46cb564067 Revert premature api changes (#2097)
* Revert "Add warning for deprecated API to indicate that the passed in domain name's scheme will deduced as https (#2078)"

This reverts commit ceb839293e.

* Revert "Allow setting the domainURIPrefix for custom domain names/paths when creating dynamic links (#2071)"

This reverts commit d917bac047.

* Revert "Minor edits: change domain names in test app plist, fix warnings."

This reverts commit 15f5d46807.

* Revert "Fix style. Run ./scripts/style.sh"

This reverts commit 0e16e6c863.

* Revert "Allow for custom domains in the FDL iOS SDK"

This reverts commit 5e33153f70.

* Version is still 3.2.0
2018-11-19 13:13:47 -08:00
dmandar ceb839293e Add warning for deprecated API to indicate that the passed in domain name's scheme will deduced as https (#2078)
* Add support for creating DL with custom domain names/paths. The new domainURIPrefix parameter requires either a. a valid FDL domain name created in the Firebase console or b. a custom domain name or c. a custom domain name with path registered for DL. All domainURIPrefixes need to start with a valid (https) scheme.

* Fix style.

* style

* Fix typo in DEPRECATED_MSG_ATTRIBUTE, other nits.

* Fix styling.

* Check incoming domainURIPrefix for validity using NSURL and check for an https scheme.

* Add extra checks for deprecated domain parameter being incorrectly called with a scheme. Also fix some nits.

* Log a warning for the deprecated API stating that the scheme for the supplied domain will be deduced as https.

* Update CHANGELOG for M38.

* Update changelog for M38

* Update CHANGELOG for M38 release.

* Capitalize HTTPS.

* Update CHANGELOG to include PR for removal of deprecated files.

* Capitalize HTTPS.
2018-11-14 14:48:20 -08:00
dmandar d917bac047 Allow setting the domainURIPrefix for custom domain names/paths when creating dynamic links (#2071)
* Add support for creating DL with custom domain names/paths. The new domainURIPrefix parameter requires either a. a valid FDL domain name created in the Firebase console or b. a custom domain name or c. a custom domain name with path registered for DL. All domainURIPrefixes need to start with a valid (https) scheme.

* Fix style.

* style

* Fix typo in DEPRECATED_MSG_ATTRIBUTE, other nits.

* Fix styling.

* Check incoming domainURIPrefix for validity using NSURL and check for an https scheme.
2018-11-13 22:38:54 -08:00
Mandar 5d8431cc6c Merge branch 'master' into md-fdl 2018-11-09 16:46:26 -08:00
Mandar 15f5d46807 Minor edits: change domain names in test app plist, fix warnings. 2018-11-09 15:54:51 -08:00
Paul Beusterien c27db6d477 Fix analyze errors (#2047) 2018-11-05 13:07:22 -08:00
Paul Beusterien 57ba70503b Delete deprecated files (#2038) 2018-11-01 15:39:10 -07:00
Paul Beusterien 614de80484 Bump DynamicLinks patch version 2018-10-22 14:53:38 -07:00
Stewart Miles 45eaf73420 Changed FDL to use compatible __typeof__() operator. (#1982)
typeof() is not supported in some C language dialects which causes
issues when integrating FDL in projects that do use non-GNU compiler modes.

For example, this causes problems when building in some versions of Unity
https://github.com/firebase/quickstart-unity/issues/228
2018-10-22 14:49:24 -07:00
Paul Beusterien e41acdb341 style 2018-10-16 17:40:42 -07:00
Mandar 0e16e6c863 Fix style. Run ./scripts/style.sh 2018-10-16 16:24:01 -07:00
Mandar 5e33153f70 Allow for custom domains in the FDL iOS SDK
Allow for custo domains to be whitelisted by the info.plist file.
2018-10-15 00:56:27 -07:00
Paul Beusterien 49ffbb3520 Fix DynamicLinks public header typo(#1886) 2018-09-27 13:39:14 -07:00
Paul Beusterien 911bec8766 Update deprecated string to page.link (#1853) 2018-09-19 15:22:44 -07:00
Paul Beusterien 61852b3afb Update Dynamic Links CHANGELOG.md (#1854) 2018-09-19 15:22:14 -07:00
Paul Beusterien c724f9d1e8 Open Source FirebaseDynamicLinks (#1842) 2018-09-19 12:08:51 -07:00