react-native-webrtc / react-native-callkit

#deprecated iOS 10 new CallKit framework for React Native

Repository from Github https://github.comreact-native-webrtc/react-native-callkitRepository from Github https://github.comreact-native-webrtc/react-native-callkit

Using imageName

bsiddiqui opened this issue · comments

I've tried using the imageName property but I can't get it to display on an incoming call.

I've tried using an image name in my react-native bundle as well as an image in Images.xcassets. Would you mind elaborating on how one would add an image to the bundle?

Hi, what I did is make sure the image file (e.g. my_pic.png) is in Xcode's Build Phases -> Copy Bundle Resources, and specify the filename only when setup RNCallkit.

In this case:

{
  appName: 'MyApp',
  imageName: 'my_pic',
}

Hope it helps!