OneSignal / react-native-onesignal

React Native Library for OneSignal Push Notifications Service
Other
1.57k stars 374 forks source link

[Bug]: Impossible to finish activity, which was created as Push Notification fullScreenIntent #1602

Open fmorau opened 12 months ago

fmorau commented 12 months ago

What happened?

With the latest version of OneSignal it is impossible to finish an Activity, which was created as fullScreenIntent Screen Recording of the issue repro: https://github.com/sharekey/onesignal-issue/tree/calls#repro-of-the-issue

Steps to reproduce?

1. `Clone` the project created to reproduce the issue `https://github.com/sharekey/onesignal-issue/tree/calls` - branch `calls`
2. Follow the steps from `README` : https://github.com/sharekey/onesignal-issue/tree/calls#readme
  1. Update OneSignal `appId` to send Push Notifications
  2. Launch the app -> retrieve OneSignal `subscription id`
  3. Close the app and lock the screen
  4. Send Push Notification to the device

What did you expect to happen?

Activity created as fullScreenIntent is closing, when finish is called

React Native OneSignal SDK version

5.0.1

Which platform(s) are affected?

Relevant log output

No response

Code of Conduct

jennantilla commented 11 months ago

@fmorau thank you for reporting this and for the reproduction steps. We'll investigate and get back to you as soon as possible.