analytics-react-native icon indicating copy to clipboard operation
analytics-react-native copied to clipboard

No exports for createLogger and SovranStorage

Open stereodenis opened this issue 8 months ago • 0 comments

Hi! 👋

Firstly, thanks for your work on this project! 🙂

Today I used patch-package to patch @segment/[email protected] for the project I'm working on.

Here is the diff that solved my problem:

diff --git a/node_modules/@segment/analytics-react-native/src/index.ts b/node_modules/@segment/analytics-react-native/src/index.ts
index 8263f16..439dde9 100644
--- a/node_modules/@segment/analytics-react-native/src/index.ts
+++ b/node_modules/@segment/analytics-react-native/src/index.ts
@@ -2,6 +2,8 @@ export { defaultConfig } from './constants';
 export * from './client';
 export * from './plugin';
 export * from './types';
+export * from './logger';
+export * from './storage';
 export * from './mapTransform';
 export {
   getNativeModule,

This issue body was partially generated by patch-package.

stereodenis avatar Mar 26 '25 12:03 stereodenis