aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firebase/Messaging
Commit message (Collapse)AuthorAge
* Merge pull request #1067 from firebase/release-4.12.0Gravatar Paul Beusterien2018-04-10
|\ | | | | Release 4.12.0
* | Remove deprecated remoteMessageDelegate (#1054)Gravatar Chen Liang2018-04-09
| | | | | | | | * Remove deprecated remoteMessageDelegate and simplify the shouldEstablishDirectChannel property
* | add NS_ASSUME_NONNULL macros to messagingGravatar Morgan Chen2018-04-05
| |
| * Fix nullability warning with new Messaging API (#1029) (#1032)Gravatar Ryan Wilson2018-04-05
| |
* | Fix nullability warning with new Messaging API (#1029)Gravatar Ryan Wilson2018-04-05
| |
| * Cherry Pick of comments and changelog for M23 (#1028)Gravatar Ryan Wilson2018-04-04
| | | | | | | | | | | | | | | | | | | | * updates the changelog for pending release (#1025) * updates the changelog for pending release * addresses comment * Fix the comments for subscribe to topic (#1026)
* | Fix the comments for subscribe to topic (#1026)Gravatar Chen Liang2018-04-04
|/
* improve logging when subscription failed (#1017)Gravatar Chen Liang2018-04-02
|
* update changelog for release (#1014)Gravatar Chen Liang2018-04-02
|
* Adding a new topic subscription/unsubcription with completion handler method ↵Gravatar Chen Liang2018-03-30
| | | | | | (#1001) * add new topic subscription/unsubscription method with handler
* Remove FIRMessagingInstanceIDProxyGravatar Morgan Chen2018-03-27
|
* Fix the issue completion handler is not triggered in subscribeToTopic. (#867)Gravatar Chen Liang2018-02-28
| | | | | * fix the issue that handler not get triggered
* Update CHANGELOG for release (#845)Gravatar Chen Liang2018-02-23
| | | | | | * improve the documentations on auto init property * adjust the comments
* Improve documentation on auto-init property in FCM. (#792)Gravatar Chen Liang2018-02-13
|
* avoid using initWithSuiteName which does not support iOS 7 (#765)Gravatar Chen Liang2018-02-06
|
* Creating CHANGELOG for FCM (#764)Gravatar Chen Liang2018-02-06
| | | | | | * add CHANGELOG for FCM * fix the typo
* fix (#739)Gravatar Chen Liang2018-02-01
|
* [FCM] Add completion handler to subscribe/unsubscribe topic actionsGravatar Oleksiy Ivanov2018-01-30
| | | | | | | 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
* Merge branch 'master' into messaging-copyGravatar Chen Liang2018-01-24
|\
* | revert unrelated changesGravatar chliangGoogle2018-01-24
| |
* | revert unrelated changesGravatar chliangGoogle2018-01-24
| |
* | revert unrelated changesGravatar chliangGoogle2018-01-24
| |
* | Adding enable/disable property to FCM token auto InitializationGravatar chliangGoogle2018-01-24
| |
| * Update FirebaseMessaging protos (#696)Gravatar Paul Beusterien2018-01-24
| |
| * Disable Messaging build warnings (#697)Gravatar Paul Beusterien2018-01-24
| |
| * Revert changes introduced in #546 to fix build breakage. (#562)Gravatar Ryan Wilson2017-12-12
| |
| * Fix FCM build warning introduced in Xcode 9 (#546)Gravatar Paul Beusterien2017-12-08
| |
| * Standardize cross module imports with angle bracket syntax (#526)Gravatar Paul Beusterien2017-12-04
|/ | | | Qualify all cross-pod imports of FirebaseCore headers
* FCM version should return only the sementic version and let IID handle the ↵Gravatar chliangGoogle2017-11-30
| | | | part adding prefix.
* FIRAppInternal.h is a published private header (#501)Gravatar Paul Beusterien2017-11-28
|
* Replacing FIR_SWIFT_NAME macro with NS_SWIFT_NAME. (#476)Gravatar Ryan Wilson2017-11-28
| | | | | | | | | | * Replacing FIR_SWIFT_NAME macro with NS_SWIFT_NAME. This pushes the minimum Xcode version to 7.3, as NS_SWIFT_NAME was limited before that version (which is why the macro was introduced in the first place). * Fixed FIRMessaging header
* Remove unused code from Messaging (#458)Gravatar Paul Beusterien2017-11-15
|
* Add simpler delegate method for FCM tokens (#375)Gravatar Riz2017-10-12
| | | | | | 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.
* Add void's to eliminate Xcode 9.1 warnings (#352)Gravatar Paul Beusterien2017-10-09
|
* Don't swizzle missing and optional delegate methodsGravatar Riz2017-10-04
| | | | | | | | | FCM's swizzling of the user notification center currently swizzles only one of the two optional delegate methods (userNotificationCenter:willPresentNotification:withCompletionHandler:), but not the other (userNotificationCenter:didReceiveNotificationResponse:withCompletionHandler:). The didReceiveNotificationResponse, if implemented by the delegate, is the sole receiver of all user action on a notification, including simply tapping on the notification itself. Prior to this change, if the developer had implemented didReceiveNotificationResponse, then FCM would not be able to collect this event for analytics. Additionally, I changed the logic in FIRMessagingRemoteNotificationsProxy to check whether these methods are actually implemented before swizzling them. It was always swizzling, which meant it was adding an implementation if the method didn't exist. This would confuse iOS into thinking the developer did implement these methods and NOT fall back to delivering the notifications to the application delegate. With this change, if the developer did not implement these methods, then FCM will not swizzle those methods. That keeps the behavior true to what the developer intended.
* Clarify FCM SDK swizzling notice (#291)Gravatar Riz2017-09-20
| | | The previous message was worded in a way as to imply that the FIRAppDelegateProxyEnabled key **should** be set to NO, disabling swizzling. This clarifies that message, indicating that this is for developers who would prefer to manually integrate the SDK.
* Fix app launch MCS connection issue (#290)Gravatar Riz2017-09-19
| | | | | This fixes a bug in the automatic direct channel logic, where a failure to get checkin info from the Instance ID SDK was resulting in a non-retrying failure, causing the automatic connection logic to not retry connecting. A listener is added for a new notification that will be fired from Instance ID. When that notification is fired, `FIRMessagingClient` will re-attempt to connect. NOTE: The actual fix will not work until the Firebase InstanceID SDK is also updated.
* Remove FIRMessaging_FAIL macro, log result code (#265)Gravatar Riz2017-09-13
| | | | | | This removes the `FIRMessaging_FAIL` macro which was using `__builtin_trap()`, and replaced with `NSAssert` calls. These `NSAssert` calls may not get called in release builds, and so we also log them with FIRLogger error messages. The RMQ database open error result code is now parsed and included in the error message to help us identify causes for #199 .
* Encode the topic name when subscribing (#220)Gravatar Riz2017-08-30
| | | | This should address the issue filed at: https://github.com/firebase/quickstart-ios/issues/242, where a topic name containing a `%` character was failing. It turns out that the topic name was never being url-encoded.
* Don't save library version to NSUserDefaults (#212)Gravatar Riz2017-08-23
| | | | | 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").
* Ensure auto-connect logic is always in main thread (#183)Gravatar Riz2017-08-07
| | | This addresses #125, where a developer is setting `.shouldEstablishDirectChannel` in a background thread, and getting a main thread sanitization issue in Xcode 9.
* Add comment about how multiple senders are supported (#158)Gravatar Riz2017-07-31
| | | | This is a slight tweak to the block comment describing `-retrieveFCMTokenForSenderID:completion:`, to more explicitly mention that this can be used to support the scenario of allow multiple senders to send notifications to the same client app.
* Configure Messaging for default FIRApp only. (#154)Gravatar Ryan Wilson2017-07-26
| | | | Currently Messaging will use the most recent FIRApp configured which isn't obvious. This will limit it to only the defualt FIRApp.
* Group public headers into Public directories (#112)Gravatar Paul Beusterien2017-06-29
|
* Rename FirebaseDev to FirebaseCommunity (#98)Gravatar Paul Beusterien2017-06-22
|
* Fix Messaging doc (#97)Gravatar Paul Beusterien2017-06-21
|
* Fix formatting inconsistencies in Messaging header (#61)Gravatar Riz2017-06-02
| | | The header comments are directly reflected in Firebase documentation, so this improves that as well.
* Add missing Foundation import (#46)Gravatar Paul Beusterien2017-05-31
|
* Clean up logging and configuration in Messaging (#28)Gravatar Riz2017-05-24
| | | | | | | | | | * 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).
* Log an error if for some reason we can't add a method to a class (#24)Gravatar Riz2017-05-23
| | | Maybe it was already swizzled, or some other issue. Either way, it would be good to log this error, as it might help us / developers diagnose an issue.