Start a conversation

How to remove or modify the notification “The call service is ready”

The notification "The call service is ready" is coded in our React Native SDK and Flutter SDK.


If you use our React Native SDK or Flutter SDK, please take a look at the implementation of WebRTC and WebRTCCallService.java so you can remove unnecessary push notification functionality.


You may check these 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:

https://docs.quickblox.com/docs/react-native-video-calling#release-resource


Flutter:

https://docs.quickblox.com/docs/flutter-video-calling#release-resource



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


And change the logo by replacing the files ic_call_service_large.png and ic_call_service_small.png in the following folder:

android/src/main/res/mipmap/

Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Nikolay Zolotarov

  2. Posted
  3. Updated

Comments