react-native-webrtc / react-native-callkit

#deprecated iOS 10 new CallKit framework for React Native
ISC License
122 stars 67 forks source link

Feature / Check if phone is busy #39

Closed aarkalyk closed 6 years ago

aarkalyk commented 6 years ago

Method for checking if there are any active calls on the device. Pretty convenient to use with the async/await syntax.

async () => {
   const isBusy = await RNCallKit.checkIfBusy();
   if (isBusy) {
      // handle accordingly 
   }
}
aarkalyk commented 6 years ago

Hey, @ianlin ! Can you, please, review this one?

ianlin commented 6 years ago

Hi @aarkalyk can you please have a look on my review? Cheers.

aarkalyk commented 6 years ago

Hey, @ianlin ! Thanks for the feedback! Can you please take one more look at the PR?:)

ianlin commented 6 years ago

Thanks!