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!