Commit Graph
92 Commits
Author SHA1 Message Date
Andrew Heard a7590c7a8a [Infra] Upgrade to clang-format@19 (#13656) 2024-09-17 08:47:00 -07:00
Nick Cooke 7ecfa211b9 [Infra] Force link remaining categories after #13435 (#13491) 2024-08-13 17:21:34 -04:00
Seyed Mojtaba Hosseini Zeidabadi 8e0ae04d1e Fix all typos found under the FirebaseInAppMessaging/Sources directory (#13355) 2024-07-23 13:35:53 -07:00
Paul Beusterien 79866caa23 Fix typos (#13312) 2024-07-18 15:05:15 -07:00
Nick Cooke 8f2f2543e8 [InAppMessaging] Add availability attributes to fix SPM warnings (#13306) 2024-07-17 19:14:56 -04:00
Nick Cooke 5ccf3ae8b9 [v11] Remove configureWithApp: API in FIRLibrary protocol (#13147) 2024-06-26 13:44:49 -04:00
Nick Cooke 4a49d77e84 [FIAM] Remove FIR prefix from enums and prefer NS_ERROR_ENUM (#13089) 2024-06-14 10:13:12 -04:00
Paul Beusterien 7d7cbad7bd [v11] Update minimum platform versions for 11.0.0 (#13066) 2024-06-05 07:39:36 -07:00
Paul Beusterien f5309bf45b [v11] Remove unused FIRDependency class (#13053) 2024-06-04 06:56:50 -07:00
Yakov Manshin 7434377e3b Removed Unused Availability Checks (#13023) 2024-05-28 09:20:31 -07:00
Paul Beusterien 95cf48558f Fix VisionOS and WatchOS CI (#12966) 2024-05-15 07:38:50 -07:00
Nick Cooke 554255aa09 [Infra] Clean up visionOS conditionals (#12934) 2024-05-10 16:18:00 -04:00
Nick Cooke 38aabb146f [FIAM] Cleanup compilation guards for building on older SDKs (#12937) 2024-05-10 15:16:21 -04:00
Nick Cooke 317a553ba1 [Release] Update FIAM changelog to reflect 10.26.0 (#12919) 2024-05-08 15:33:18 -04:00
Nick Cooke 2bac0ddfe6 [InAppMessaging] Follow-up to #12910 (#12917) 2024-05-08 14:57:19 -04:00
Nick Cooke ab94a58fd6 [InAppMessaging] Fix #12882 (#12910) 2024-05-07 16:27:06 -04:00
Nick Cooke ee81927e55 [Release Tooling] Consistent approach to resources when building on Xcode 15 (#12821) 2024-04-23 10:37:34 -04: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 aec227be2b More Xcode 15 CI (#12042) 2023-11-03 11:36:20 -07: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 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
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
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
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
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
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
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
christibbs 62c71f98d7 Fix setting of in-app message type in FIRInAppMessagingImageOnlyDisplay initializer (#8118)
* Fix message type in ImageOnlyMessage initializer

* Update CHANGELOG
2021-05-19 11:53:29 -07:00
Nick Cooke a05ce1cf0a Reorganize FIAM's Resources for FIAM (#7788) 2021-04-06 17:09:54 -04:00