evollu / evollu/react-native-fcm

Black screen when unlock by notification

Open
#674 12 comments 1 reaction 0 assignees View on GitHub
Dominant language
Java
Stars
1.7k
Forks
661
PR merge metrics
No merged PRs in 30d

Description

Before openning an issue
1. Reproduce it with the example project in this repo.
Check
2. If you can't receive iOS notification, make sure you can receive notification using quickstart-ios project provided by Firebase team

When openning an issue, please include following information for better support

1. What version of RN and react-native-fcm are you running?
RN: 48.4 FCM: 9.7.2 to 10.0.3
2. What device are you using? (e.g iOS9 emulator, Android 6 device)?
iPhone 5s 10.3
iPhone 5s 11+
iPhone 6s 11+
3. Is your app running in foreground, background or not running?
background

When receive a notification, and the screen is locked.
When you slide the notification and you unlock, we've got a black screen.

I dont' know why, but we found a temporary solution like that:

ios/RNFIRMessaging.m (Remove this param)
```
, @"completionHandler": completionHandler
```
(link to commit: https://github.com/eiosca/react-native-fcm/commit/aca3123f216bedac62507039ce7ea7b7284e3c1f)

Thk's

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.