walterholohan / react-native-crisp-chat-sdk

React-Native bridge for Crisp Chat iOS and Android SDK's
MIT License
70 stars 26 forks source link

[RN 0.68] Compilation issue on iOS #67

Closed mlecoq closed 2 years ago

mlecoq commented 2 years ago

Hi,

After migration to RN 0.68, I have a compilation issue:

AppDelegate.mm:35:2: use of undeclared identifier 'CrispSDK'

AppDelegate.m has been replaced with AppDelegate.mm

So I have added #import <Crisp/Crisp.h> and [CrispSDK configureWithWebsiteID:...] AppDelegate.mm as done before in AppDelegate.m

Is there any extra step on RN 0.68 ?

Thanks !

mlecoq commented 2 years ago

fixed by replacing #import <Crisp/Crisp.h> with #import <Crisp/Crisp-Swift.h>