Skip to content

In Android i can't display incoming call screen #173

Open
@muraterd

Description

@muraterd

Bug report

  • I've checked the example to reproduce the issue.

  • Reproduced on:

  • Android

  • iOS

Description

Hi, first of all thank you for this great library. I want to display incoming call screen on iOS and Android.
So i tried to do the code below in my home screen in componentDidMount method just to test.

const options: IOptions = { ios: { appName: "My app name" }, android: { alertTitle: "Permissions required", alertDescription: "This application needs to access your phone accounts", cancelButton: "Cancel", okButton: "ok", additionalPermissions: [] } };

RNCallKeep.setup(options).then(accepted => console.log("RNCallKeep accepted", accepted));

RNCallKeep.setAvailable(true);

RNCallKeep.displayIncomingCall( "c5612146-3e43-4922-bdf2-13b0c2cb2243", "5558909659", "Some User", undefined, true );

So i'm expecting to see native incoming call screen. In iOS it just works but in Android i don't see anything. No incoming call screen, no errors, no success. What am i doing wrong here?

Also i tried your exemple in my Android device and same thing happened there too. I dont seen any incoming call screen in Android.

Versions

- Callkeep: "^3.0.10"
- React Native: "0.61.5"
- iOS:
- Android: 10 (One UI 2.0)
- Phone model: Galaxy S9

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions