react-native-webrtc / react-native-callkeep

iOS CallKit framework and Android ConnectionService for React Native
ISC License
923 stars 445 forks source link

Don't want to show call log in history #727

Open sidpateldev opened 1 year ago

sidpateldev commented 1 year ago

Bug report

Description

Steps to Reproduce

Versions

- Callkeep:
- React Native:
- iOS:
- Android:
- Phone model: 

Logs

Paste here
wilmxre commented 1 year ago

you didn't mention for which os or if it is self managed or not, but in the setup you have the includesCallsInRecents option for this

nacho004 commented 1 year ago

you didn't mention for which os or if it is self managed or not, but in the setup you have the includesCallsInRecents option for this

That option is for iOS. Any way to implement it for Android?

wilmxre commented 1 year ago

you didn't mention for which os or if it is self managed or not, but in the setup you have the includesCallsInRecents option for this

That option is for iOS. Any way to implement it for Android?

i am using self managed mode, this is my setup config:

  android: {
    selfManaged: true,
    alertTitle: 'Permissions required',
    alertDescription: 'This application needs to access your phone accounts',
    cancelButton: 'Cancel',
    okButton: 'ok',
    additionalPermissions: [],
    imageName: '../../assets/icons/app-icon.png',
    // Required to get audio in background when using Android 11
    foregroundService: {
      channelId: 'CallKeepService',
      channelName: APP_NAME,
      notificationTitle: 'App running in background',
      notificationIcon: '../../assets/icons/app-icon.png',
      imageName: '../../assets/icons/app-icon.png',
    },
  },
  ios: {
    appName: APP_NAME,
    maximumCallGroups: '1',
    maximumCallsPerCallGroup: '1',
    includesCallsInRecents: false,
    supportsVideo: true,
  },
};

and it doesn't show it in recents for android

nacho004 commented 1 year ago

you didn't mention for which os or if it is self managed or not, but in the setup you have the includesCallsInRecents option for this

That option is for iOS. Any way to implement it for Android?

i am using self managed mode, this is my setup config:

  android: {
    selfManaged: true,
    alertTitle: 'Permissions required',
    alertDescription: 'This application needs to access your phone accounts',
    cancelButton: 'Cancel',
    okButton: 'ok',
    additionalPermissions: [],
    imageName: '../../assets/icons/app-icon.png',
    // Required to get audio in background when using Android 11
    foregroundService: {
      channelId: 'CallKeepService',
      channelName: APP_NAME,
      notificationTitle: 'App running in background',
      notificationIcon: '../../assets/icons/app-icon.png',
      imageName: '../../assets/icons/app-icon.png',
    },
  },
  ios: {
    appName: APP_NAME,
    maximumCallGroups: '1',
    maximumCallsPerCallGroup: '1',
    includesCallsInRecents: false,
    supportsVideo: true,
  },
};

and it doesn't show it in recents for android

Used selfManaged and not listed in recent calls (Android). Thank you @wilmxre

habasefa commented 1 month ago

is there a way to avoid it being added in to recent calls without using selfmanaged mode