-
Notifications
You must be signed in to change notification settings - Fork 142
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
Invalid OS Version check for UINotification availability #128
Comments
Thanks for the suggestion, @dmiluski! We think moving to a deprecation warning is a good idea and will keep you updated. In the meantime, is the OS version check is currently blocking your ability to integrate the SDK? If so, you can use a category to expose the Best, |
Do you guys have a solution for the warnings around UNNotificationResponse?
We are targeting iOS 10 + and we are facing lots of warnings on this deprecated API |
Hey @chshapiro, I'm using Appboy-iOS-SDK (3.3.1) and I'm still getting:
|
Hey @edias, That deprecation message is intentional. The delegate method is marked as deprecated, but we are still supporting it to give people a grace period to adopt the new delegates. If you still have questions or concerns about the warning message, could you create a separate issue for it? It's not directly related to this issue and we don't want to spam other people who are watching this issue. Thanks, |
@edias closing this for now. Please reopen the issue if you have any further questions. Thanks! |
#if __IPHONE_OS_VERSION_MIN_REQUIRED < __IPHONE_10_0
#endif
This min required? Is this mandatory? We have UNNotification migration on the road map, but haven't done this yet? Perhaps, instead of MIN required check, this could just be marked deprecated to match the Foundation API?
Yes... I am ashamed we have not yet updated. But the OS check in this case does not match the OS definition. As UIUserNotifiations are still usable even in iOS11, but Apple prefers UNNotification.
Recommendation:
Instead of OS check, just mark deprecated
Report
Describe your environment.
What did you do?
What did you expect to happen?
What happened instead?
Steps to reproduce
Code Snippet
Are you doing any feature customizations that may relate to the issue? Can you share the code snippet?
Project that demonstrates the issue
The text was updated successfully, but these errors were encountered: