While initializing the SDK, we are facing an error that says "Cannot read property 'sendEvent' of null" . Does anyone know about this issue? We are following the github repository https://github.com/adobe/aepsdk-react-native#installation
Solved! Go to Solution.
Views
Replies
Total Likes
Hello @jaishal ,
The error message "Cannot read property 'sendEvent' of null" indicates that your code is trying to call the sendEvent
method on an object that is null
.
Please ensure that the Adobe AEP SDK is correctly imported and that you are calling sendEvent
only after the SDK has been fully initialized.
Kind regards,
Parvesh
Hello @jaishal ,
The error message "Cannot read property 'sendEvent' of null" indicates that your code is trying to call the sendEvent
method on an object that is null
.
Please ensure that the Adobe AEP SDK is correctly imported and that you are calling sendEvent
only after the SDK has been fully initialized.
Kind regards,
Parvesh
@jaishal Did you find the suggestion helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies