Closed Joels-code closed 1 week ago
yes we forgot to export it unfortunately we will fix in next release
hi @Joels-code - we did forget to add it to the declaration file, so it's it not found by auto-complete.
please try typing it out and running the app. to clarify, the API's name is sendClickAnalytic and not sendClickAnalytics
As Michael said, we will also add it to the declaration file in our next release for easier use.
@randmaayan Could you please update the api docs too? I see now that the method is sendClickAnalytic, but it's listed as sendClickAnalytics here.
@Joels-code done. thanks!
Platform + Version iOS and Android
SDK Version 3.3.2
Framework React Native using React Navigation
Describe the bug The API's documentation mentions a sendClickAnalytics method. However, trying to call this method results in an error. I can see in the node_modules rn-pendo-sdk pkg that it is not an exported method in the index.d.ts file.
To Reproduce Steps to reproduce the behavior:
Expected behavior The method is available for use as described in the API documentation.
Sample Code