Installing Adobe AEP SDK using react native getting errors | Community
Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Parvesh_Parmar

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

2 replies

Parvesh_Parmar
Community Advisor
Parvesh_ParmarCommunity AdvisorAccepted solution
Community Advisor
October 10, 2024

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

Parvesh Parmar – Adobe Community Advisor https://www.linkedin.com/in/parvesh-parmar/
kautuk_sahni
Community Manager
Community Manager
October 16, 2024

@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!

Kautuk Sahni