Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS 9, legacy notification API no longer supported in Detox #1514

Closed
LeoNatan opened this issue Jul 9, 2019 · 1 comment · Fixed by #1516
Closed

iOS 9, legacy notification API no longer supported in Detox #1514

LeoNatan opened this issue Jul 9, 2019 · 1 comment · Fixed by #1516

Comments

@LeoNatan
Copy link
Contributor

LeoNatan commented Jul 9, 2019

As of Detox 14.0.0, this is implemented.

In a future release, Detox will drop iOS 9 as a supported feature.

This change will also nean that legacy remote and local notifications handling API will no longer be supported in Detox. These APIs have been deprecated since iOS 10, and we believe we've given enough time to add support for it. Make sure you transition to the UserNotifications framework as soon as possible.

Please note that for React Native apps, PushNotificationIOS (RCTPushNotificationManager) is severely outdated and does not support these modern APIs. It is recommended to transition to a more modern solution. While it is sad that such an important app feature is let to stagnate so much by Facebook, it cannot be the concern of Detox. It is up to RN users to keep their apps up to date with the latest Apple APIs.

Our own React Native notifications solution plans to add support for these modern APIs soon. Detox will drop iOS 9 as soon as that change is implemented and used internally.

@LeoNatan
Copy link
Contributor Author

LeoNatan commented Jul 9, 2019

Apple is also dropping support for iOS 9 simulators with Xcode 11:

https://twitter.com/xenadu02/status/1140093901438689280

@LeoNatan LeoNatan changed the title Dropping iOS 9 as supported platform soon, changes to user notification testing Dropping iOS 9 as supported platform soon, breaking changes to user notification testing Jul 16, 2019
@LeoNatan LeoNatan changed the title Dropping iOS 9 as supported platform soon, breaking changes to user notification testing iOS 9, legacy notification API no longer supported in Detox Aug 5, 2019
@LeoNatan LeoNatan unpinned this issue Oct 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant