This repository was archived by the owner on Jan 14, 2025. It is now read-only.
Description Bug
Environment info
react-native info output:
System:
OS: Windows 10 10.0.22621
CPU: (8) x64 11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz
Memory: 1.86 GB / 15.84 GB
Binaries:
Node: 14.20.0 - ~ \A ppData\L ocal\T emp\y arn--1670940874250-0.047929254082552886\n ode.CMD
Yarn: 1.22.19 - ~ \A ppData\L ocal\T emp\y arn--1670940874250-0.047929254082552886\y arn.CMD
npm: 7.22.0 - ~ \D ev\A ncoria\P FMApp\a pp\n ode_modules\. bin\n pm.CMD
Watchman: 20220911.220011.0 - C:\L ib\w atchman-v2022.09.12.00-windows\b in\w atchman.EXE
SDKs:
Android SDK: Not Found
Windows SDK: Not Found
IDEs:
Android Studio: AI-212.5712.43.2112.8815526
Visual Studio: Not Found
Languages:
Java: 11.0.16.1 - C:\P rogram Files\C ommon Files\O racle\J ava\j avapath\j avac.EXE
npmPackages:
@react-native-community/cli: Not Found
react: 17.0.2 => 17.0.2
react-native: ^0.67.0-0 => 0.67.4
react-native-windows: Not Found
npmGlobalPackages:
* react-native* : Not Found
Library version: 8.1.1
Steps To Reproduce
Setup up a local notification with actions and invokeApp false
PushNotification . localNotification ( {
...
invokeApp : false ,
actions,
...
} )
Call invoke app in onAction:
onAction : function ( notification ) {
// process
PushNotification . invokeApp ( notification ) ;
} ,
...
Describe what you expected to happen:
1. App should come to foreground, but it does not
Reproducible sample code
See above