Commit Graph
17 Commits
Author SHA1 Message Date
Chen Liang 47d81fdf65 fix (#739) 2018-02-01 13:48:39 -08:00
Oleksiy Ivanov 799a808de6 [FCM] Add completion handler to subscribe/unsubscribe topic actions
Added functionality not exposed in public header yet. I would leave to next FCM SDK owner to expose this functionality (and follow any required review process).

Bugs:
72701086
2018-01-30 16:33:12 -08:00
Chen Liang fa81c48855 Merge branch 'master' into messaging-copy 2018-01-24 12:26:08 -08:00
chliangGoogle 4125066bb4 revert unrelated changes 2018-01-24 12:16:48 -08:00
chliangGoogle a5efe7adeb revert unrelated changes 2018-01-24 12:12:16 -08:00
chliangGoogle 44a2bc0db0 Adding enable/disable property to FCM token auto Initialization 2018-01-24 11:57:27 -08:00
Paul Beusterien cc0ecd8aa4 Disable Messaging build warnings (#697) 2018-01-24 10:38:14 -08:00
Ryan Wilson 163eeeecb7 Revert changes introduced in #546 to fix build breakage. (#562) 2017-12-12 19:18:24 -05:00
Paul Beusterien 49a7ed7fc9 Fix FCM build warning introduced in Xcode 9 (#546) 2017-12-08 10:12:15 -08:00
Paul Beusterien ed3e4982f9 Standardize cross module imports with angle bracket syntax (#526)
Qualify all cross-pod imports of FirebaseCore headers
2017-12-04 08:52:11 -08:00
chliangGoogle 7b9a5601d7 FCM version should return only the sementic version and let IID handle the part adding prefix. 2017-11-30 17:16:31 -08:00
Riz 2b40693be4 Add simpler delegate method for FCM tokens (#375)
This new delegate method will be called generally once per app start, to always provide a current token. This token may change over time. This simpler method makes integration much simpler, as:

* Developers no longer have to check for a current token using the `.fcmToken` property, and also check for token changes using the `-messaging:didRefreshRegistrationToken:` delegate method.
* There is a single code path for when a token is available, making operations that depend on a token being available easier to implement. For example, this is the right method to always upload your FCM token to your application server, or to subscribe to topics, etc.
2017-10-12 16:09:07 -07:00
Riz 1a857fe48f Don't save library version to NSUserDefaults (#212)
This seems to be a holdover from some old code, and it's not being used anywhere in the component. Plus it's better not to be saving anything in `[NSUserDefaults standardUserDefaults]` as that is the developer/app's domain.

Also renamed the messaging code while I was in there to be something meaningful ("000" → "PrintLibraryVersion").
2017-08-23 13:52:42 -07:00
Riz 3e3aa42601 Ensure auto-connect logic is always in main thread (#183)
This addresses #125, where a developer is setting `.shouldEstablishDirectChannel` in a background thread, and getting a main thread sanitization issue in Xcode 9.
2017-08-07 15:05:21 -07:00
Paul Beusterien e50dddc0f2 Fix Messaging doc (#97) 2017-06-21 10:13:02 -07:00
Riz 2c133b34b0 Clean up logging and configuration in Messaging (#28)
* Remove mostly unused code from FIRMessagingLogger

This cleans up some left-over old logging logic from before we moved to FIRLogger in Firebase Core. We no longer need this logging functionality.

* Delete FIRMessagingConfig.{h,m}

We no longer need a config class to store an unused log level filter (that filter is no longer needed).
2017-05-24 17:29:09 -07:00
Paul Beusterien 98ba64449a Initial 2017-05-15 12:27:07 -07:00