Skip to content

jpudysz/react-native-callkeep

 
 

Repository files navigation

React Native CallKeep (fork with additional improvements)

Improvements:

  • take control over permissions, no more obtrusive alerts. You can redirect to phone account settings from your app.

API (Android only)

static checkPhoneAccountEnabled(): Promise<boolean>
static registerPhoneAccount(): void
  • 0 crashes when you call backToForeground() in headless mode

  • new, better headless mode. You can wake killed app on Android and pass parameters like callUUID API (Android only)

static openAppFromHeadlessMode(callUUID: string): void
static getExtrasFromHeadlessMode(): Promise<HeadlessExtras>
  • render custom UI over locked screen (you don't need to unlock your phone)

API (Android only):

static showOnLockedScreen(): void
static hideFromLockedScreen(): void
  • better TypeScript typings - no more @ts-ignore

Credits

Full credits goes to original maintainers of react-native-callkeep repo

License

This work is dual-licensed under ISC and MIT. Previous work done by @ianlin on iOS is on ISC Licence. We choose MIT for the rest of the project.

About

iOS CallKit framework and Android ConnectionService for React Native

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 49.5%
  • Objective-C 30.7%
  • JavaScript 16.1%
  • Starlark 2.0%
  • Ruby 1.7%