Start a conversation

How do I remove or modify the text notification “The call service is ready” in the React Native SDK and Flutter SDK?

The notification "The call service is ready" is coded in our React Native SDK and Flutter SDK. If you use either of these SDKs, please take a look at the implementation of WebRTC and WebRTCCallService.java so you can remove unnecessary push notification functionality.


You may check these GitHub paths depending on the SDK:

React Native:

quickblox-react-native-sdk/android/src/main/java/com/quickblox/reactnative/webrtc/WebRTCCallService.java

Flutter:

quickblox_sdk-0.5.0-beta/android/src/main/java/com/quickblox/quickblox_sdk/webrtc/WebRTCCallService.java


According to Google requirements, each foreground service must show a status bar notification. To hide the notification, you need to stop the service.


Please refer to the corresponding documentation:

React Native SDK - Video Calling | React Native SDK | QuickBlox

Flutter SDK - Video Calling | Flutter SDK | QuickBlox

Also, you can change the text of the notification for both SDKs in the following file on GitHub: /android/src/main/res/values/strings.xml.


Additionally, you can change the logo by replacing the files ic_call_service_large.png and ic_call_service_small.png in the following folder on GitHub:

android/src/main/res/mipmap/


Feel free to check our official documentation for more information that will help you to integrate QuickBlox services into your applications / projects or contact our Support team by submitting a ticket if you have any other questions.

Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Maksym Pidhorbunskyi

  2. Posted
  3. Updated

Comments