Open abisalde opened 2 months ago
@abisalde So I created a new react native project using the command npx react-native init exampleproject --version 0.74.5
and installed CleverTap 2.2.1.
Both of the following import statements work fine.
#import <CleverTap-iOS-SDK/CleverTap.h>
#import <clevertap-react-native/CleverTapReactManager.h>
OR
#import "CleverTap.h"
#import "CleverTapReactManager.h"
The project builds up and runs on the simulator. I have uploaded the project at https://drive.google.com/file/d/1URNhE3pU5ZHkkVHzQr18GdqJqupfs5HP/view?usp=sharing . Could you take a look at the AppDelegate, package.json and Podfile and compare it with yours?
@akashvercetti
Thank you for your prompt response
#import "CleverTap.h"
#import "CleverTapReactManager.h"
👆🏽The above works and builds perfectly with no issues
🔻 The below doesn't work and keeps throwing the error
#import <CleverTap-iOS-SDK/CleverTap.h>
#import <clevertap-react-native/CleverTapReactManager.h>
After upgrading our project to
react-native-version
0.74.5
from0.71.14
. I get this issue. I tried to upgrade to clevertap-react-native version2.1.1
error remains the same as version1.1.1