Nick Cooke
ced8b554a0
[Infra] Standardize CHANGELOG header format ( #9777 )
2022-05-10 17:54:58 -04:00
karenyz
b58ae5344b
Send first open time in Remote Config fetch request ( #9663 )
...
* Extract first open time from analytics user properties
* Add tests
* Address comments
* Update tests
2022-04-18 16:12:19 -07: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
Ryan Wilson
2258c07ecb
Swift Error Improvements ( #9512 )
...
* Firebase Messaging enum
* Add tests for App Check errors
* App Distribution Error
* Installations error improvements
* Remote Config errors
* Firestore error handling
* Formatting
* Silly import error
* Consistency for App Check tests.
* Typo fix
2022-04-04 10:36:38 -04:00
Ryan Wilson
500e1822c4
Fix Remote Config pre-configure access. ( #9551 )
...
* Fix Remote Config pre-configure access.
Currently, when `RemoteConfig.remoteConfig()` is called before
`FirebaseApp.configure()` is called, Similar to Database, AppCheck, and
others we'll now throw an ObjC exception. We're not going to make it
nullable or throw a Swift compatible error since it'd affect the
callsite of every usage (either a `?` or `try`) and this is deemed a
programming error: `configure()` has to be called first.
Fixes #8640
* CHANGELOG
2022-03-31 16:43:29 -04: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
Ryan Wilson
e002709d2c
Mark ObjC typedefs as unavailable in Swift. ( #9387 )
...
* Mark ObjC typedefs as unavailable in Swift.
This is part of the larger Swift API improvements effort. These reduce
visibility in autocomplete, and we've mostly migrated away from them
already. This hides the unused type from the API surface to avoid
cluttering the list of types avialable.
* Revert FDL Test
* Fix CombineSwift tests
* Fixed Firestore tests
* Revert unneeded changes for FDL internal headers.
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
Paul Beusterien
2246d8ff8c
RC Swift pod and codable ( #9084 )
2022-01-18 07:25:47 -08:00
Paul Beusterien
b9eccb7457
Control async/await testing from source instead of podspec ( #9080 )
2021-12-11 10:29:32 -08:00
Nick Cooke
6e488bfc57
Update CHANGELOGs for 8.10.0 ( #8979 )
2021-11-16 21:49:45 -08:00
karenyz
217a348448
Fix RC db flags ( #8897 )
...
* Fix RC db flags
* Add changelog
2021-11-02 16:54:49 -07:00
Paul Beusterien
fd4572c291
Async/await variations of existing RC Swift API tests ( #8825 )
2021-10-19 09:54:22 -07:00
Paul Beusterien
10e364c54b
Restore RC SwiftAPI Tests ( #8792 )
2021-10-12 13:39:45 -07:00
Paul Beusterien
33692eb578
Fix Remote Config Integration CI ( #8774 )
2021-10-11 07:38:51 -07:00
Paul Beusterien
c7c0149351
Update to clang-format@13 ( #8739 )
2021-10-04 07:52:21 -07:00
Paul Beusterien
5a7c348596
Fix typo ( #8690 )
2021-09-22 14:50:52 -07:00
Artem Volkov and Artem Volkov
56be86ed23
Fix RemoteConfig multithreading ( #8626 )
...
* Fix RemoteConfig multithreading
* RCNConfigContent multithreading tests
av/rc-fix-threads-stuck
* RCNConfigContent test style
av/rc-fix-threads-stuck
* RCNConfigContent test more asserts
av/rc-fix-threads-stuck
Additional info: it seems safe to put XCTAssert in non-main queue.
Apple example: https://developer.apple.com/documentation/xctest/asynchronous_tests_and_expectations/testing_asynchronous_operations_with_expectations?language=objc
Callback in example "is executed on the delegate queue" https://developer.apple.com/documentation/foundation/nsurlsession/1410330-datataskwithurl?language=objc
Co-authored-by: Artem Volkov <artem.volkov@aliexpress.ru >
2021-09-20 11:08:48 -07:00
Wipoo Shinsirikul
4046281e64
Typo fixed ( #8656 )
2021-09-14 16:04:34 -04:00
Paul Beusterien
0d90f2f12d
Update to clang-format 12.0.1 ( #8397 )
2021-07-16 11:40:42 -07:00
Paul Beusterien
fd36167c8c
Migrate back to unforked OCMock for SPM ( #8042 )
2021-05-11 11:39:55 -07:00
Paul Beusterien
4662da7514
8.0.0 changlelog formatting ( #7987 )
2021-04-27 14:36:20 -07:00
karenyz
be2729afd1
Block calls to get config until DB load completes ( #7975 )
...
* Block calls to get config until DB load completes
* Add changelog
* Add TODO for refactoring
2021-04-27 14:26:48 -07:00
Chen Liang
429bac463c
Remove InstanceID from Github repo ( #7970 )
2021-04-27 11:54:03 -07:00
karenyz
a1732dae3d
Only update fetch throttle interval for server errors ( #7901 )
2021-04-15 12:11:12 -07:00
Ryan Wilson
a978896540
Use private header import for FIRVersion.h ( #7896 )
...
* Use direct import for public FirebaseCore header.
This is an exception mentioned in https://github.com/firebase/firebase-ios-sdk/blob/master/HeadersImports.md#imports---for-header-file-consumers
* Fix import path.
The exception only applies to public headers *from other public headers*.
2021-04-14 10:10:20 -04:00
karenyz
ebfd37010f
Return FirebaseVersion as FIRRemoteConfigPodVersion ( #7892 )
2021-04-13 14:53:43 -07:00
Paul Beusterien
d3306b194e
Remove unreleased from Changelogs ( #7809 )
2021-03-30 13:20:31 -07:00
karenyz
6e11684c2a
Throw exception when projectID is missing from FIROptions ( #7725 )
2021-03-19 09:48:40 -07:00
Paul Beusterien
79645640c2
Don't generate missing Analytics warning on Catalyst ( #7719 )
2021-03-15 10:27:44 -07:00
Ryan Wilson
58eca9695d
Enable RC for watchOS in SwiftPM ( #7696 )
2021-03-11 15:13:42 -05:00
Ryan Wilson
774db3ca4b
Update versions for Release 7.8.0 ( #7655 )
2021-03-04 16:48:29 -05:00
karenyz
a67da04b64
Only update experiments for firebase namespace ( #7604 )
...
* Only update experiments for firebase namespace
* Update tests
* Add changelog
2021-02-25 16:52:17 -08:00
karenyz
32922df544
Store and update config metadata entries by namespace ( #7373 )
...
* Insert and load config metadata by namespace
* Deprecate existing metadata table name
* Update tests
* Fix delete method and update naming
* Add test for writing metadate for multiple namespaces
2021-02-22 10:21:41 -08:00
Paul Beusterien
cf49cbaa54
Incorporate SpecsDev ( #7561 )
2021-02-19 07:18:59 -08:00
Chen Liang
8b01de9552
updage changelog ( #7540 )
2021-02-16 15:31:50 -08:00
Chen Liang
80a45125a0
Enable watchOS for Remote Config and ABTesting ( #7481 )
2021-02-12 11:41:35 -08:00
Chen Liang
4ad7e69d3b
the network connection should be stubbed instead of using OCMExpect ( #7498 )
2021-02-10 09:55:15 -08:00
Paul Beusterien
ae306788c5
Fixed build warnings introduced with Xcode 12.5 ( #7432 )
2021-02-02 18:26:05 -08:00
Paul Beusterien
54d28547d3
Remove GDT from repo ( #7384 )
2021-01-27 07:51:12 -08:00
Paul Beusterien
02488e99b7
Remove GoogleUtilities from repo ( #7315 )
2021-01-21 07:09:50 -08:00
vic-flair
899b562685
Standardize support for Firebase products that integrate with Remote Config. ( #7094 )
2021-01-19 19:25:40 -08:00
christibbs
a764d00d25
Remote Config: Revert to previous nil check on experiment JSON ( #7269 )
...
* Revert to previous nil check on experiment JSON
* Update CHANGELOG
2021-01-08 15:57:13 -05:00
Paul Beusterien
8864ff9e41
Fix typo in test ( #7255 )
2021-01-06 10:22:59 -08:00
vic-flair
95cf1d3508
Add support for other Firebase products to integrate with Remote Config. ( #6692 )
2020-10-22 17:19:47 -07:00
karenyz
e587d7dcd5
Minor RC cleanup ( #6722 )
...
* Cleanup developer mode variables
* Fix README link
* Use fully qualified namespace in test to avoid errors
* Fix whitespace
2020-10-13 16:27:08 -07:00
karenyz
2cd0c6e420
Use completion handler when updating experiments after activation ( #6711 )
...
* Use completion handler when updating experiments after activation
* Fix Travis
* Add changelog
* Fix whitespace
* Nonnull initializers
2020-10-12 12:26:19 -07: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
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
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