Commit Graph
434 Commits
Author SHA1 Message Date
Paul Beusterien 52e42c0fe7 Use CocoaPods CDN (#3124) 2019-06-03 10:09:26 -07:00
Paul Beusterien d2fd372aa9 DynamicLinks test_spec (#3115) 2019-05-31 15:43:49 -07:00
Chen Liang 7eb1747e4b Adding macOS support for Messaging and InstanceID (#2880) 2019-05-30 15:31:38 -07:00
Yue-Wang-Google 12ab9b658f Add Twitter, LinkedIn, Yahoo OAuth provider to sample app. (#3117) 2019-05-30 14:16:16 -07:00
Paul Beusterien 06d36108d8 Add test_spec for FCM (#3088)
* Add test_spec for FCM
* FIRMessagingRemoteNotificationsProxyTest - don't use OCMPartialMock([UIApplication sharedApplication]) to avoid crashing tests on iOS 8 (#3094)
2019-05-28 11:36:31 -07:00
Maksym Malyhin 8a6c1b6223 IID tests improvements (#3067)
* Use bridged __weak reference instead CFRetain/CFRelease
* Use SecKeyRef instead of FIRInstanceIDKeyPair for the memory management test
* Use SecKeyGeneratePair instead of SecKeyCreateRandomKey available since iOS 10 only
* FIRInstanceIDKeyPairStoreTest wait until all keychain operations finished before finishing a test
* FIRInstanceIDTokenManagerTest: cleanup in tearDown; fix expectation to produce an error nor a crash.
* Use properties instead of ivars FIRInstanceIDTokenManagerTest
* FIRInstanceIDTokenManager fix OCMPartialMock() usage.
2019-05-28 07:02:30 -07:00
Chuan Ren 34f551f5fa Update sample app deployment target to iOS 8.0 (#3078) 2019-05-24 14:23:52 -07:00
Paul Beusterien 9a5afbffc1 Remove flaky retain count checking (#3065)
* Remove flaky retain count checking
* Disable test
2019-05-23 15:18:38 -07:00
Paul Beusterien fcba5a2c61 Fix Auth post-submit CI build break (#3061) 2019-05-23 11:00:08 -07:00
Paul Beusterien a9c454491c Stop conditional compilation for GoogleUtilities testing (#3058) 2019-05-23 07:06:26 -07:00
Maksym Malyhin 39fe9ddd68 Merging the 6.1.0 release into master (#3049)
* Update versions for Release 6.1.0

* Release 6.1.0 - cherry pick of #3007 (#3011)

* 6.1.0 manifest updated. FirebaseInAppMessaging bumped to 0.14.1

* Early return from sending analytics events in instance ID is nil (#3007)
2019-05-21 18:58:06 -04:00
Chen Liang c366a4bdf3 fix the typo error that cause bundle identifier checking failed for app extension (#3013) 2019-05-21 12:32:16 -07:00
Paul Beusterien bf62c8c9df Add InstanceID test_spec (#3036) 2019-05-21 11:22:43 -07:00
Paul Beusterien 5ab3c91d80 Add test_specs and fix test build warnings for Database (#3034) 2019-05-21 08:29:15 -07:00
Paul Beusterien 862e1332d8 Add test_spec for FirebaseStorage (#3023) 2019-05-21 06:56:48 -07:00
Chen Liang 88871d5b3e kill assertion code (#3028) 2019-05-20 13:55:21 -07:00
Chuan Ren 30013eea06 Fix link with email link bug (#3030) 2019-05-20 10:47:46 -07:00
Maksym Malyhin 2b403a6041 FIRInstanceIDKeyPairStore crash fix (#2953)
* FIRInstanceIDKeyPairStore fix SecKeyRef memory management issue

* [WIP] FIRInstanceIDKeyPairStore - perform operations in the order they were scheduled

* Revert "[WIP] FIRInstanceIDKeyPairStore - perform operations in the order they were scheduled"

This reverts commit 7ff7b51236.

* FIRInstanceIDKeyPairStore - schedule updating public and private keys at once (not from a callback) to avoid modifications of keychain in between. Update `self.keyPair`  before updating keychain for all cases.

* Chengelog

* Don't use dispatch_group, rely on `FIRInstanceIDKeychain` serialized implementation instead
2019-05-13 18:13:53 -04:00
Paul Beusterien 498ba819a1 Update Podfiles after 6.0.0 release (#2964) 2019-05-08 08:13:17 -07:00
Paul Beusterien 8ed545bd2c Resolve merge conflicts from release-6.0.0 branch (#2958)
* Update versions for Release 6.0.0

* Update FirebaseSDKs.textproto with new fields. (#2818) (#2834)

* Update FirebaseSDKs.textproto with new fields.

* Update message about strip_32bits flag.

* GULAppDelegateSwizzler - proxy APNS methods separately (#2835) (#2858)

* Cherry-picks for M47 RC5 (#2882)

* fix race condition checkin is deleted before writing during app start (#2860)

* GoogleUtilities min ios version from 6 to 8 (#2876)

* Put secret and oauth credentials into the private headers for now. (#2916) (#2919)

* Add missing Messaging weak_framework dep (#2921) (#2930)
2019-05-07 11:35:58 -07:00
Paul Beusterien b54bc7a2e9 Add FirebaseCore test_spec (#2943) 2019-05-06 13:54:34 -07:00
Paul Beusterien 79e9fcd5e7 Fix data collection switch unit tests (#2939) 2019-05-06 08:03:00 -07:00
Yue-Wang-Google dbb1058fa5 Fix clang analyzer warning. (#2931) 2019-05-02 16:27:05 -07:00
Maksym Malyhin e86d110533 FIRStorageUploadTask - fix crash in isContentToUploadValid (#2902) 2019-04-29 13:40:45 -04:00
Maksym Malyhin e04b6ba953 FIRApp - validate app name using NSCharacterSet (#2906) 2019-04-26 20:10:20 -04:00
Chuan Ren df5f7961d5 Sample app refactor (#2872) 2019-04-23 12:08:39 -07:00
Chen Liang c59c5d62d7 remove FIRMessagingRegistrar class (#2853) 2019-04-17 14:56:16 -07:00
Maksym Malyhin 76aa880853 GULAppDelegateSwizzler - proxy APNS methods separately (#2835) 2019-04-17 17:35:14 -04:00
Chen Liang 8540c21864 Remove reflection call to get checkin info from InstanceID (#2825) 2019-04-16 13:10:08 -07:00
Chen Liang 8ab26dd651 remove test header from source code (#2783) 2019-04-09 15:54:09 -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 827566cc20 Fix minor typo (#2769) 2019-04-08 17:22:40 -07:00
Paul Beusterien 417cfd7cd7 Bump FirebaseCore to 6.0.0 (#2755)
* Bump FirebaseCore to 6.0.0

* FirebaseInstanceID to 4.0.0

* FirebaseInAppMessaging is a dep too
2019-04-08 16:33:01 -07:00
Chen Liang 0212c46f7c remove deprecated token API (#2741) 2019-04-08 16:19:21 -07:00
Yue-Wang-Google aaddd56531 Remove support for deprecated API for Firebase 6 (#2759) 2019-04-08 13:51:32 -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 6f040b31ae Stop requiring multiple Core version updates (#2745) 2019-04-07 19:56:18 -07:00
Ryan Wilson 626bfb513c Remove FIRAnalyticsConfiguration from Public header. (#2728)
* Remove FIRAnalyticsConfiguration from Public header.

We haven't removed it entirely yet because we need to make changes
within Analytics to verify that the global data collection switch is
still honored and tested well. This can wait until after the breaking
change because the header and code will be internal after this change.

* Fixed incomplete comment.

* Remove self importing header.
2019-04-07 22:49:54 -04:00
Chuan Ren 43b3dc629e Set Swift back to version 4.2 (#2742) 2019-04-05 16:46:49 -07:00
Chuan Ren dae3442966 Remove deprecated APIs (#2723) 2019-04-05 14:35:15 -07:00
Maksym Malyhin cd507af559 Auth - use GULAppDelegateSwizzler (#2710) 2019-04-05 10:46:56 -04:00
Yue-Wang-Google b30d00515b Implement oauth secret token in headful-lite. (#2663)
* Implement oauth secret token in headful-lite. This is useful for Twitter sign in.

* Deprecate TwitterAuth{Provider,Credential}. OAuth sign in flow is now the recommended way to sign in with Twitter.

* Add update OAuth credential to AuthDataResult. Developer can access the secret token from that.
2019-04-04 10:47:52 -07:00
Chen Liang ec2399683b Remove useMessagingDelegateForDirectChannel property (#2711) 2019-04-04 09:46:29 -07:00
Maksym Malyhin 267e9a6ece FIRMessagingRemoteNotificationsProxy updated to use GULAppDelegateSwizzler (#2683) 2019-04-04 09:26:12 -04:00
Chuan Ren deac5de20b Project restruct (#2712) 2019-04-03 13:06:58 -07:00
Paul Beusterien 1a32a1f7d3 Delete references to deprecated Crash and Invites (#2668) 2019-04-01 19:06:05 -07:00
Chuan Ren 3aff8d0760 Add support of sso (#2684) 2019-04-01 14:32:44 -07:00
Paul Beusterien 1dd5dfa991 Merge 5.20.1 back to master (#2691) 2019-04-01 06:35:28 -07:00
Maksym Malyhin c416b10ad4 Move reporting Firebase user agent from checkin to register (#2679) 2019-03-31 19:16:33 -04:00