Commit Graph
119 Commits
Author SHA1 Message Date
Nick Cooke 46b7c0d27f [Release] Update changelogs for user defaults migration PRs (#12774) 2024-04-12 14:41:12 -04:00
Paul BeusterienandNick Cooke 1cde471f52 [CI] Stop Xcode 14, start Xcode 15.3 (#12746)
Co-authored-by: Nick Cooke <36927374+ncooke3@users.noreply.github.com>
2024-04-12 09:55:29 -07:00
Nick Cooke 74b8196896 [InAppMessaging] Migrate to GoogleUtilities's storage container (#12757) 2024-04-12 12:46:27 -04:00
Paul Beusterien 4a8f84baf0 [FIAM] Fix an objc_retain crash (#12395) 2024-02-16 08:34:09 -08:00
Nick Cooke ca522d2d2a [Infra] Rename references from master to main (#12203) 2023-12-15 15:29:22 -05:00
Paul Beusterien 4d2b60dc75 Updated to SwiftFormat 0.52.10 (#12125) 2023-11-21 12:12:05 -08:00
Paul Beusterien aec227be2b More Xcode 15 CI (#12042) 2023-11-03 11:36:20 -07:00
Nick Cooke 4b26b31c1f [Firestore] Follow-up review items from #11954 (#11970) 2023-10-20 18:54:19 +00:00
Nick Cooke 85cfe574bb [Release] Update CHANGELOGs for 10.17.0 (#11963) 2023-10-18 14:26:29 -04:00
Andrew Heard 9425f60f69 [visionOS] Fix FirebaseInAppMessaging build on Xcode 15.1 beta 1 (#11935) 2023-10-13 15:18:32 -04:00
Nick Cooke b962ad6064 [InAppMessaging] Consolidate FIAM and FIAMSwift (#11800) 2023-10-13 14:51:58 -04:00
Nick Cooke 0c9fe2746c [InAppMessaging] Add FIAM and FIAMSwift API build tests (#11793) 2023-09-13 12:27:40 -04:00
Paul Beusterien c652675185 Fix FIAM Firebase.podspec tvos dependency spec (#11571) 2023-07-19 15:27:26 -07:00
ae871b9dc1 Update to swiftformat 0.51.12 (#11531)
Co-authored-by: Andrew Heard <andrewheard@google.com>
Co-authored-by: Nick Cooke <nickcooke@google.com>
2023-07-11 15:54:51 -07:00
Nick Cooke 722f71a0b2 [In App Messaging] Address Xcode 14.3 Analyzer issues (#11242)
* [In App Messaging] Address Xcode 14.3 Analyzer issues

* Review
2023-05-08 15:18:36 -04:00
Ostap 2c81997f0b FirebaseInAppMessaging: Fix crash on message presentation while a CarPlay scene is running (#11232) 2023-05-05 11:26:50 -07:00
Sam Edson f5af4a98e2 Upgrade nanopb to 0.3.9.9 for collection of SDKs (#10447) 2022-11-02 15:32:44 -04:00
Sam Edson ba0f4f2693 Combine nanopb scripts into a single location (#10439) 2022-11-02 14:56:58 -04:00
Paul Beusterien 55440b6390 pb-fiam-app-store (#10284) 2022-09-28 10:35:52 -04:00
Nick Cooke 43c62f0526 [Infra] Remove CoreDiagnostics library and references (#10259)
* [Infra] Remove CoreDiagnostics library and references

* Style localize_podfile.swift

* Add GDT to SharedTestUtils

* Update GoogleUtilities.cmake config

* Run all CI

* Update GoogleUtilities.cmake config (2)

* Resolve FIRApp.m TODO

* [skip ci] Revert Gemfile
2022-09-26 00:03:55 -04:00
Nick Cooke 6e0fda7a24 [Firebase 10] Update minimum supported versions across Firebase (#10233)
* Bump Package.swift minimum support versions

* Update iOS minimum versions

* Bump Crashlytics to min. support iOS 11

* Bump macOS support from 10.12 to 10.13

* Bump tvOS support from 10 to 11

* Add CHANGELOG entry

* Improve CHANGELOG entry

* Fix CI

* Improve CHANGELOG entry (2)

* Improve CHANGELOG entry (3)

* Update FirePerf test app deployment target

* Update Mac test apps's deployment target

* Update iOS test apps's deployment target

* Update release tooling project's iOS deployment target

* Misc platform min support bumps

* Update FBSDK API usage to FBSDK 13.0+

* Fix Auth dep on FBSDK
2022-09-21 16:48:11 -04:00
Andrew Heard 0b0785fa45 FIAM: Remove extraneous foo constant in Swift preview helpers (#10222)
Removed an unintentional constant named "foo" from the Firebase In-App Messaging Swift API. This constant is not of use to developers (simply containing `UIColor.black`) and was only added accidentally.
2022-09-15 18:30:58 -04:00
Paul Beusterien 16b9b4defe Changelog version updates for 9.2.0 (#9907) 2022-06-14 10:58:55 -04:00
rizafran ba4bf764c1 Change unarchiveObjectWithFile in FIAM to conform to the secure coding practices (#9834)
* Changed unarchiveObjectWithFile with unarchivedObjectOfClass, added supportsSecureCoding (#9816)

* Addressed review feedback

* Run style script

* Changed unarchivedObjectOfClass to unarchivedObjectOfClasses

* Added to changelog, changed NSArray to NSMutableArray
2022-05-24 11:48:06 -04:00
Nick Cooke ced8b554a0 [Infra] Standardize CHANGELOG header format (#9777) 2022-05-10 17:54:58 -04:00
Morgan Chen 9f2a3132fa Use Swift syntax in reference documentation (#9594)
* fix returns typo

* change some headers

* style

* the rest of the header comments

* revert changes to FIRStorageReference
2022-04-08 14:50:22 -07:00
Paul Beusterien 7b946765ec Remove slashes from log messages (#9391) 2022-04-06 14:19:47 -07:00
Paul Beusterien 99275370a2 Merge remote-tracking branch 'origin/master' into v9b 2022-04-06 09:56:33 -07:00
Morgan Chen 7a273e7bae fix returns typo (#9541) 2022-03-31 11:37:45 -07:00
Nick Cooke a09083f9d0 [v9] Reorganize FirebaseCore* modules (#9482)
* [skip ci] [will revert] Add debug printing to `pod_lib_lint.rb`

* Reorganize FirebaseCore libraries for SPM and CP

* [skip ci] Revert "[skip ci] [will revert] Add debug printing to `pod_lib_lint.rb`"

This reverts commit 2a837e39708c21b0a324743ab226bd6c01047de7.

* Review and fix CI

* Remove `heartbeat_logging.yml` and add `core_internal.yml`

* Remove trailing whitespace

* Fix more whitespace 😞

* Fix `core_internal.yml` scheme name

* Update `check_imports.swift` and TODO

* Review

* Add FirebaseCoreInternal pod to Firestore example's Podfile

* [skip ci] Review - remove TODOs

* [skip ci] Remove duplicate `XCTest` import
2022-03-23 06:08:14 -07:00
Paul Beusterien 4f793064da Set up Core Internal for SPM (#9298) 2022-03-23 06:07:17 -07:00
Philipp Hofmann f7ebbc146b Fix typo in FIRIAMBaseRenderingViewController (#9404) 2022-03-02 06:21:22 -08:00
Eldhose M Babu 114a5b8be6 updating change log (#9263)
updating change log wrt https://github.com/firebase/firebase-ios-sdk/pull/9134
2022-01-31 10:45:30 -08:00
Fumito Ito 3784deb858 pass appData for In-App Messaging's test message (#9134)
* add test to check appData parsing

* parse appData for test message

* fix by formatter
2022-01-26 10:22:39 -08:00
Paul Beusterien 5e8790d78a Update to SwiftFormat 0.49.2 (#9239) 2022-01-21 13:03:15 -08:00
Eldhose M Babu 62c0e75ca3 Fix : Duplicate messages can occur when two campaigns are triggered by different events (#9138)
* [fixed] Duplicate messages can occur when two campaigns are triggered by different events in In-App Messaging (#9070).
2022-01-05 11:02:36 -08:00
Eldhose M Babu 59b6e82832 Updating changelog to reflect fix for #8907 (#9051)
* Updating changelog to reflect fix for #8907
2021-12-06 10:48:26 -08:00
Nick Cooke aff611300f s/TARGET_OS_TVOS/TARGET_OS_TV (#9052) 2021-12-06 11:07:06 -05:00
alien190 56535837c4 Fix for issue #8907 InApp message is shown every new session (#8922)
* Fix for issue #8907 InApp message is shown every new session (timestamp of the impression record is always 0 seconds).
2021-12-03 12:59:36 -08:00
Paul Beusterien c7c0149351 Update to clang-format@13 (#8739) 2021-10-04 07:52:21 -07:00
Yakov Manshin d28849cb12 [#8485] Added URL Recovery for IAM URLs (#8486)
* URL strings in in-app messages are sanitized and, when possible, recovered before they’re used in the `NSURL` initializer
* Added validation for image URLs, which must use the HTTPS scheme, according to the Firebase Console
* Updated `FIRIAMFetchResponseParserTests` to test URL validation and recovery
2021-08-11 06:37:32 -07:00
Yakov Manshin 33ce2c2da4 [#8482] Fixed Crash Caused by Invalid IAM Image URL (#8483)
* Fixed a bug where an invalid image URL string in an in-app message crashed the client app
* A URL string is considered invalid if the `[NSURL URLWithString:]` method produces `nil`
2021-08-09 11:51:30 -07:00
Maksym Malyhin 1e72896515 FirebaseInAppMessagingSwift: explicitly import UIKit (#8497)
* FirebaseInAppMessagingSwift: explicitly import UIKit

* FIAM podspecs: add explicit UIKit dependency
2021-08-06 09:17:11 -04:00
Morgan Chen 6a817139d3 Update FIAM to use NS_UNAVAILABLE (#8480)
* Update fiam to use ns_unavailable

* add pr number

* Add missing doc comment

* fix test
2021-08-03 08:42:33 -07:00
Paul Beusterien d287788cf7 Fix tvOS SPM tests (#8403) 2021-07-20 09:11:24 -07:00
Paul Beusterien c0df01d5f0 Fix Xcode 13 beta 3 build issues (#8405) 2021-07-19 07:18:36 -07:00
christibbs 6e3f659207 Add support for testing in-app messages in SwiftUI previews (#8351)
* Expose most of the initializers for message metadata classes for use in unit testing or SwiftUI previews

* Fix import in FIRIAMFetchFlowTests

* Simplify UI test app to use now public initializers (doesn't build)

* Update public header to use stripped down message initializers that only include parameters that effect layout

* Fix nullability for body text in in-app message initializers, add helper methods for generating mock messages

* Remove default image for image-only convenience initializer

* Make initializers non optional, document force unwraps

* Finalize helper methods, update test project to use the preview helpers

* Update UI tests to use new initializers

* Revert Cocoapods related project changes

* Add copyright notices to new files

* Change target version of DefaultUI test app back to 10.0

* Add unit tests for

* Fix color that wasn't available on tvOS

* Udpdate CHANGELOG

* Update UI test app to 13.2 to avoid [DVTiPhoneSimulator -primaryInstrumentsServer was called from the main thread

* Update to target 13.2

* Revert "Update to target 13.2"

This reverts commit 8189b64b68.

* Revert "Update UI test app to 13.2 to avoid [DVTiPhoneSimulator -primaryInstrumentsServer was called from the main thread"

This reverts commit 2371ff2a84.

* Remove unnecessary ABTExperimentPayload import. Fix nullability of ABTExperimentPayload param in initializers

* Revert iOS target in project.pbxproj file

* Revert removals of references to GoogleService-Info.plist

* Let Xcode handle spacing in project file
2021-07-16 16:04:14 -04:00
Paul Beusterien 0d90f2f12d Update to clang-format 12.0.1 (#8397) 2021-07-16 11:40:42 -07:00
christibbs af49dfb87f Add dummy constraint to card view to fix Autolayout missing constraints (#8243)
* Add dummy constraint to card view to fix Autolayout missing constraints

* Update CHANGELOG
2021-06-14 21:21:50 -04:00
Fumito Ito 5e787f2fac Fix lack of parse for fiam modal action button (#8140)
* fix lack of parse for modal action button

* add test for modal button text color
2021-06-07 12:28:09 -04:00