Closed joshheald closed 2 weeks ago
📲 You can test the changes from this Pull Request in WooCommerce iOS by scanning the QR code below to install the corresponding build.
App Name | WooCommerce iOS | |
Build Number | pr12633-0a604d2 | |
Version | 18.4 | |
Bundle ID | com.automattic.alpha.woocommerce | |
Commit | 0a604d2b60f491b04a63d3c797c50a065db95ec1 | |
App Center Build | WooCommerce - Prototype Builds #8928 |
Automatticians: You can use our internal self-serve MC tool to give yourself access to App Center if needed.
Closes: #
Description
In #12443, in-app notifications (when the app is in the foreground) were inadvertently broken, and so was navigation/handling of background notifications.
This was because we removed the delegate link to the UNUserNotificationCenter, so the delegate methods
AppDelegate.userNotificationCenter(_:didReceive:)
andAppDelegate.userNotificationCenter(_:willPresent:)
were never called, and so not forwarded to thepushNotesManager
.This commit restores the delegate configuration.
Testing instructions
Repeat the test with the app in the background. Tapping the notification should open the order.
RELEASE-NOTES.txt
if necessary.