Closed ashishmangukiya closed 5 months ago
Because on below code, getting failed when click on action buttons (killed app).
mReactInstanceManager.addReactInstanceEventListener(new ReactInstanceManager.ReactInstanceEventListener() { public void onReactContextInitialized(ReactContext context) { handleRemotePushNotification((ReactApplicationContext) context, bundle); mReactInstanceManager.removeReactInstanceEventListener(this); } });
'com.facebook.react.ReactInstanceManager.ReactInstanceEventListener' is deprecated
Got same error, but I'm not using action buttons, it happened after updating targetSdkVersion to 31
@aotaduy I also got same error yesterday, but I've updated targetSdkVersion to 31 few releases back not sure what sure what triggered it this time...☹️
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 30 days if no further activity occurs. Thank you for your contributions.
Bug
When app is running in background(not killed) and if i receive any push notification and if i try to click on any action button (Yes, No) then I do come back to app through .invokeApp() but if the app is not running in background(killed) then Nothing happens on click action buttons.
Library version: react-native-push-notification : 8.1.1
Describe what you expected to happen: