Android 12 native call UI
See original GitHub issueBug report
-
☑ I’ve checked the example to reproduce the issue.
-
Reproduced on:
-
☑ Android
-
☐ iOS
Description
Android native call screen does not come when the app is killed status but the headless task is activated and the app wakes up in the background. I can see the console logs in debug mode, but the application does not come to the foreground. Native call screen does not appear.
If the application is in the background or foreground status, there is no problem. This problem I mentioned only happens on android 12 devices and when the application is closed. Previous android versions also working fine.
also checked
if (!RNCallKeep.supportConnectionService()) {
console.warn("ConnectionService not supported!");
}
if (!RNCallKeep.hasPhoneAccount()) {
console.warn("No phone account!");
}
above methods are not entering if blocks. So, I assume these conditions are ok.
Steps to Reproduce
standard install instructions
Versions
- Callkeep: 4.3.3
- React Native: 0.63.2
- iOS: -
- Android: 12
- Phone model: Samsung Galaxy S20+
Logs
Paste here
Issue Analytics
- State:
- Created a year ago
- Reactions:2
- Comments:5
Top Results From Across the Web
How do I enable Native Call Recording on One UI 4.1 ...
I have a SM-G781U1 (Cricket CSC: AIO) rooted and unlocked bootloader. Currently running the following ROM (Android 12 One UI 4.1)
Read more >Behavior changes: Apps targeting Android 12
Learn about changes in Android 12 that will affect apps when they target ... Manually enable SameSite behaviors on the test device by...
Read more >Call Notifications | Android Open Source Project
Notification style for calls in Android 12 or higher. For devices running Android 12 or higher, to provide a consistent user experience for ......
Read more >Behavior changes: all apps - Android Developers
Permission package visibility. On devices that run Android 12 or higher, apps that target Android 11 (API level 30) or higher and that...
Read more >Android 12 - Android Developers
A new system UI with Material You that's expressive, dynamic, and personal. ... Explore new features from rich content insertion, extensions to native...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank you @glesperance I’ll try as soon as possible
@saribalorhan My issue was related to some initialization problems with Firebase Cloud Messaging. On Android I use FCM to notify the user of an incoming call and – although I did not get to the root cause – RNFirebase seems that it could get initialized in such a way that would cause inconsistencies / race conditions.
To fix this I put all might imports for that library in one file that would then get imported throughout the app, that way I could make sure the library is always properly initialized before getting used.
I did the same for RNCallkeep as well.
Hope that helps!