-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
cancel local notification on android #2122
Comments
I can confirm this is a valid issue. @Dallas62 can we get a hotfix released soon? We're using this library in production and this issue prevents us from making a release. |
For the unsubscribeTopic, the fix will come later, the warning is not blocking. |
@Dallas62 thanks for a quick reaction. When calling react-native-push-notification/index.js Line 498 in 17ad0ae
Now, in react-native-push-notification/index.js Line 38 in 17ad0ae
Fix: |
Cancelling local notifications in android is completely broken in v8.0.0, regardless that you call the deprecated |
Please provide a PR if you have the fix.
I don’t have time to spend on it this week.
|
Thanks @Dallas62 ! |
Tonight if the PR is ready. |
The PR changes are very straightforward, please see it here: https://github.com/zo0r/react-native-push-notification/pull/2125/files |
Just release the patch. |
Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch
react-native-push-notification@8.0.0
for the project I'm working on.due to deprecation of
cancelLocalNotifications
in favor ofcancelLocalNotification
, the function in component/index.android.js needs to be renamed as well tocancelLocalNotification
Here is the diff that solved my problem:
This issue body was partially generated by patch-package.
The text was updated successfully, but these errors were encountered: