Expand my Community achievements bar.

Join us on September 25th for a must-attend webinar featuring Adobe Experience Maker winner Anish Raul. Discover how leading enterprises are adopting AI into their workflows securely, responsibly, and at scale.
SOLVED

Installing Adobe AEP SDK using react native getting errors

Avatar

Level 4

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

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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/

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

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/

Avatar

Administrator

@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