Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md to contain a working basic setup #790

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,16 @@ const options = {
RNCallKeep.setup(options).then(accepted => {});
```

> [note!] Please keep in mind that without your own modifications to Java code for Android, VoiceConnectionService class in particular, you have to specify these foreground service settings:
```
{
channelId: "io.wazo.callkeep.VoiceConnectionService",
channelName: "VoiceConnectionService",
notificationTitle: "<your notification title>",
notificationIcon: "<your icon to just phone_account_icon>",
}
```

iOS only.

Alternative on iOS you can perform setup in `AppDelegate.m`. Doing this allows capturing events prior to the react native event bridge being up. Please be aware that calling setup in `AppDelegate.m` will ignore any subsequent calls to `RNCallKeep.setup();`.
Expand Down