aboutsummaryrefslogtreecommitdiffhomepage
path: root/Example/Messaging
Commit message (Collapse)AuthorAge
* Use brackets for module imports (#487)Gravatar Paul Beusterien2017-11-22
|
* Buildable and interoperable source pods (#444)Gravatar Paul Beusterien2017-11-21
|
* Update messaging test for upcoming InstanceID changes (#425)Gravatar Paul Beusterien2017-11-03
|
* 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.
* 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.
* Fix trailing space travis failure (#294)Gravatar Paul Beusterien2017-09-20
|
* Log incoming notifications to console as JSON (#286)Gravatar Riz2017-09-19
| | | This will help debug incoming notifications.
* Log direct-channel state changes to console (#287)Gravatar Riz2017-09-19
|
* 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 .
* Use modulemap to fix exposure of FirebaseCore's internal headers (#121)Gravatar Paul Beusterien2017-07-10
|
* Rename FirebaseDev to FirebaseCommunity (#98)Gravatar Paul Beusterien2017-06-22
|
* macOS (#38)Gravatar Mathew Huusko V2017-06-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Example/Core: create macOS app/tests target * Example/Core: Core_Example/Tests -> Core_Example/Tests_iOS * Example/Core: macOS building/tests passing * Example/Database: separate iOS/macOS targets * BuildFrameworks: macOS * .travis.yml, test.sh: AllUnitTests -> AllUnitTests_iOS * test.sh: add AllUnitTests_macOS * Example/Storage: Example/Tests->_iOS * Example/Storage: macOS * test.sh: try to prevent double error 65 * test.sh: build before test * Example/Auth|Messaging: -> _iOS * Example/Auth: macOS build * Example/Auth: macOS passing * Example/Firebase: pod de/re-integrate; fix static DerivedData references; copy phase for OCMock * Example/Firebase: manually copied OCMock, Products Dir vs. Frameworks * Example/Firebase: copied OCMock, prevent header removal * Example/Storage: integration tests sdk fix * Example/Auth: macOS exclude FIRAuthAppCredentialManager; cleanup * Firebase/Core: remove nullability annotation * Firebase/Core|Database: correct TARGET_X usage for correctness and anticipation of OS_WATCH|TV branches * build.swift: style fix * Firebase/Core: FIRLogger: fix macOS intermittent va_list error
* 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).
* Enable direct channel in the sample app (#7)Gravatar Riz2017-05-19
| | | This shows the simple property, shouldEstablishDirectChannel, to open a new channel, and how to show incoming messages with the iOS 10 delegate handler
* InitialGravatar Paul Beusterien2017-05-15