diff --git a/examples/AmazonKepler/buildinfo.json b/examples/AmazonKepler/buildinfo.json new file mode 100644 index 00000000..e9f082c6 --- /dev/null +++ b/examples/AmazonKepler/buildinfo.json @@ -0,0 +1 @@ +{"armv7":{"lib":"/Users/obazaldua/goprojs/src/github.com/segmentio/analytics-react-native/examples/AmazonKepler/build/private/vega/armv7/Debug/libamazonkepler.so","vpkg":"/Users/obazaldua/goprojs/src/github.com/segmentio/analytics-react-native/examples/AmazonKepler/build/private/kepler/amazonkepler/0.1/armv7/Debug/amazonkepler_armv7.vpkg"},"x86_64":{"lib":"/Users/obazaldua/goprojs/src/github.com/segmentio/analytics-react-native/examples/AmazonKepler/build/private/vega/x86_64/Debug/libamazonkepler.so","vpkg":"/Users/obazaldua/goprojs/src/github.com/segmentio/analytics-react-native/examples/AmazonKepler/build/private/kepler/amazonkepler/0.1/x86_64/Debug/amazonkepler_x86_64.vpkg"},"aarch64":{"lib":"/Users/obazaldua/goprojs/src/github.com/segmentio/analytics-react-native/examples/AmazonKepler/build/private/vega/aarch64/Debug/libamazonkepler.so","vpkg":"/Users/obazaldua/goprojs/src/github.com/segmentio/analytics-react-native/examples/AmazonKepler/build/private/kepler/amazonkepler/0.1/aarch64/Debug/amazonkepler_aarch64.vpkg"}} \ No newline at end of file diff --git a/examples/E2E-73/android/app/src/main/java/com/analyticsreactnativee2e73/MainApplication.kt b/examples/E2E-73/android/app/src/main/java/com/analyticsreactnativee2e73/MainApplication.kt index aa951176..475e1e12 100644 --- a/examples/E2E-73/android/app/src/main/java/com/analyticsreactnativee2e73/MainApplication.kt +++ b/examples/E2E-73/android/app/src/main/java/com/analyticsreactnativee2e73/MainApplication.kt @@ -20,6 +20,7 @@ class MainApplication : Application(), ReactApplication { object : DefaultReactNativeHost(this) { override fun getPackages(): List { // Packages that cannot be autolinked yet can be added manually here, for example: + // packages.add(new MyReactNativePackage()); return PackageList(this).packages } diff --git a/examples/README.md b/examples/README.md index e43563cf..fd37b3a7 100644 --- a/examples/README.md +++ b/examples/README.md @@ -23,7 +23,7 @@ We have a helper to grab all the data to link the packages to metro, native modu That said you still have to setup some files to make it work. -First create a file (e.g. `workspace.js`, but naming doesn't matter) to initialize the helper. The `getLinkedData` function receives an array of relative paths (from the `packages` directory) to link. e.g. `core`, `sovran` or for specific plugins `plugins/plugin-idfa`. +First create a file (e.g. `workspace.js`, but naming doesn't matter) to initialize the helper. The `getLinkedData` function receives an array of relative paths (from the `packages` directory) to link. e.g. `core` or for specific plugins `plugins/plugin-idfa`. _NOTE: These are NOT the module names. Nor only the directory name, but the relative path. Be careful with nested packages_ diff --git a/packages/core/tsconfig.linter.json b/packages/core/tsconfig.linter.json index 2f122935..cc1884b3 100644 --- a/packages/core/tsconfig.linter.json +++ b/packages/core/tsconfig.linter.json @@ -6,6 +6,5 @@ "baseUrl": "." }, "include": ["src/**/*", "types.d.ts"], - "exclude": ["**/__fixtures__/**/*", "**/__snapshots__/**/*"], - "references": [{ "path": "../sovran" }] // Add refereneces to any packages you require + "exclude": ["**/__fixtures__/**/*", "**/__snapshots__/**/*"] } diff --git a/packages/shared/__mocks__/react-native.ts b/packages/shared/__mocks__/react-native.ts index d79bdb32..c9843c7f 100644 --- a/packages/shared/__mocks__/react-native.ts +++ b/packages/shared/__mocks__/react-native.ts @@ -33,11 +33,6 @@ export const NativeModules = { deviceType: 'phone', }), }, - Sovran: { - getConstants: () => ({ - ON_STORE_ACTION: 'ON_STORE_ACTION', - }), - }, }; export const Platform = { diff --git a/yarn.lock b/yarn.lock index c2ebde2c..35e2f451 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3348,7 +3348,6 @@ __metadata: dependencies: "@segment/analytics-react-native": "npm:^2.18.0" "@segment/analytics-rn-shared": "workspace:^" - "@segment/sovran-react-native": "npm:^1.1.0" jest: "npm:^29.7.0" react-native-adjust: "npm:^4.33.0" react-native-builder-bob: "npm:^0.23.1" @@ -3366,7 +3365,6 @@ __metadata: dependencies: "@segment/analytics-react-native": "npm:^2.18.0" "@segment/analytics-rn-shared": "workspace:^" - "@segment/sovran-react-native": "npm:^1.1.0" jest: "npm:^29.7.0" react-native-builder-bob: "npm:^0.23.1" rimraf: "npm:^5.0.5" @@ -3382,7 +3380,6 @@ __metadata: dependencies: "@segment/analytics-react-native": "npm:^2.18.0" "@segment/analytics-rn-shared": "workspace:^" - "@segment/sovran-react-native": "npm:^1.1.0" "@types/jest": "npm:^29.5.8" rimraf: "npm:^5.0.5" ts-jest: "npm:^29.1.1" @@ -3398,7 +3395,6 @@ __metadata: dependencies: "@segment/analytics-react-native": "npm:^2.18.0" "@segment/analytics-rn-shared": "workspace:^" - "@segment/sovran-react-native": "npm:^1.1.0" jest: "npm:^29.7.0" react-native-appsflyer: "npm:^6.9.4" react-native-builder-bob: "npm:^0.23.1" @@ -3417,7 +3413,6 @@ __metadata: dependencies: "@segment/analytics-react-native": "npm:^2.18.0" "@segment/analytics-rn-shared": "workspace:^" - "@segment/sovran-react-native": "npm:^1.1.0" jest: "npm:^29.7.0" react-native-branch: "npm:^5.6.0" react-native-builder-bob: "npm:^0.23.1" @@ -3436,7 +3431,6 @@ __metadata: dependencies: "@segment/analytics-react-native": "npm:^2.18.0" "@segment/analytics-rn-shared": "workspace:^" - "@segment/sovran-react-native": "npm:^1.1.0" jest: "npm:^29.7.0" react-native-builder-bob: "npm:^0.23.1" rimraf: "npm:^5.0.5" @@ -3453,7 +3447,6 @@ __metadata: "@braze/react-native-sdk": "npm:^5.x" "@segment/analytics-react-native": "npm:^2.18.0" "@segment/analytics-rn-shared": "workspace:^" - "@segment/sovran-react-native": "npm:^1.1.0" jest: "npm:^29.7.0" react-native-builder-bob: "npm:^0.23.1" rimraf: "npm:^5.0.5" @@ -3470,7 +3463,6 @@ __metadata: dependencies: "@segment/analytics-react-native": "npm:^2.18.0" "@segment/analytics-rn-shared": "workspace:^" - "@segment/sovran-react-native": "npm:^1.1.0" clevertap-react-native: "npm:^1.0.0" jest: "npm:^29.7.0" react-native-builder-bob: "npm:^0.23.1" @@ -3488,7 +3480,6 @@ __metadata: dependencies: "@segment/analytics-react-native": "npm:^2.18.0" "@segment/analytics-rn-shared": "workspace:^" - "@segment/sovran-react-native": "npm:^1.1.0" "@segment/tsub": "npm:^2" "@types/clone": "npm:^2.1.1" clone: "npm:^2.1.2" @@ -3498,7 +3489,6 @@ __metadata: typescript: "npm:^5.2.2" peerDependencies: "@segment/analytics-react-native": ^2.18.0 - "@segment/sovran-react-native": "*" languageName: unknown linkType: soft @@ -3510,7 +3500,6 @@ __metadata: "@react-native-firebase/messaging": "npm:^17.3.2" "@segment/analytics-react-native": "npm:^2.18.0" "@segment/analytics-rn-shared": "workspace:^" - "@segment/sovran-react-native": "npm:^1.1.0" jest: "npm:^29.7.0" react-native-builder-bob: "npm:^0.23.1" rimraf: "npm:^5.0.5" @@ -3529,7 +3518,6 @@ __metadata: dependencies: "@segment/analytics-react-native": "npm:^2.18.0" "@segment/analytics-rn-shared": "workspace:^" - "@segment/sovran-react-native": "npm:^1.1.0" jest: "npm:^29.7.0" react-native-builder-bob: "npm:^0.23.1" react-native-fbsdk-next: "npm:^12" @@ -3549,7 +3537,6 @@ __metadata: "@react-native-firebase/app": "npm:^18.4.0" "@segment/analytics-react-native": "npm:^2.18.0" "@segment/analytics-rn-shared": "workspace:^" - "@segment/sovran-react-native": "npm:^1.1.0" jest: "npm:^29.7.0" react-native-builder-bob: "npm:^0.23.1" rimraf: "npm:^5.0.5" @@ -3567,7 +3554,6 @@ __metadata: dependencies: "@segment/analytics-react-native": "npm:^2.18.0" "@segment/analytics-rn-shared": "workspace:^" - "@segment/sovran-react-native": "npm:^1.1.0" jest: "npm:^29.7.0" react-native-builder-bob: "npm:^0.23.1" rimraf: "npm:^5.0.5" @@ -3583,7 +3569,6 @@ __metadata: dependencies: "@segment/analytics-react-native": "npm:^2.18.0" "@segment/analytics-rn-shared": "workspace:^" - "@segment/sovran-react-native": "npm:^1.1.0" jest: "npm:^29.7.0" mixpanel-react-native: "npm:^2.1.0" react-native-builder-bob: "npm:^0.23.1" @@ -3601,7 +3586,6 @@ __metadata: dependencies: "@segment/analytics-react-native": "npm:^2.18.0" "@segment/analytics-rn-shared": "workspace:^" - "@segment/sovran-react-native": "npm:^1.1.0" jest: "npm:^29.7.0" on-change: "npm:^3.0.2" react-native-builder-bob: "npm:^0.23.1" @@ -3610,7 +3594,6 @@ __metadata: typescript: "npm:^5.2.2" peerDependencies: "@segment/analytics-react-native": ^2.18.0 - "@segment/sovran-react-native": "*" react-native-onetrust-cmp: ^202308.2.0 languageName: unknown linkType: soft @@ -3651,24 +3634,6 @@ __metadata: languageName: unknown linkType: soft -"@segment/sovran-react-native@npm:^1.1.0": - version: 1.1.0 - resolution: "@segment/sovran-react-native@npm:1.1.0" - dependencies: - ansi-regex: "npm:5.0.1" - deepmerge: "npm:^4.2.2" - shell-quote: "npm:1.8.0" - peerDependencies: - "@react-native-async-storage/async-storage": 1.x - react: "*" - react-native: "*" - peerDependenciesMeta: - "@react-native-async-storage/async-storage": - optional: true - checksum: 10c0/3ad9ee883e87c45b8737be42ee5ebb9e710e48b3d921149bc7ee02687cde603cc996889a362beb44106103bd7a318d453e279e72b46d6d2f4f8c47a826e46308 - languageName: node - linkType: hard - "@segment/tsub@npm:^2": version: 2.0.0 resolution: "@segment/tsub@npm:2.0.0" @@ -5704,13 +5669,6 @@ __metadata: languageName: node linkType: hard -"ansi-regex@npm:5.0.1, ansi-regex@npm:^5.0.0, ansi-regex@npm:^5.0.1": - version: 5.0.1 - resolution: "ansi-regex@npm:5.0.1" - checksum: 10c0/9a64bb8627b434ba9327b60c027742e5d17ac69277960d041898596271d992d4d52ba7267a63ca10232e29f6107fc8a835f6ce8d719b88c5f8493f8254813737 - languageName: node - linkType: hard - "ansi-regex@npm:^4.1.0": version: 4.1.1 resolution: "ansi-regex@npm:4.1.1" @@ -5718,6 +5676,13 @@ __metadata: languageName: node linkType: hard +"ansi-regex@npm:^5.0.0, ansi-regex@npm:^5.0.1": + version: 5.0.1 + resolution: "ansi-regex@npm:5.0.1" + checksum: 10c0/9a64bb8627b434ba9327b60c027742e5d17ac69277960d041898596271d992d4d52ba7267a63ca10232e29f6107fc8a835f6ce8d719b88c5f8493f8254813737 + languageName: node + linkType: hard + "ansi-regex@npm:^6.0.1": version: 6.0.1 resolution: "ansi-regex@npm:6.0.1" @@ -13952,13 +13917,6 @@ __metadata: languageName: node linkType: hard -"shell-quote@npm:1.8.0": - version: 1.8.0 - resolution: "shell-quote@npm:1.8.0" - checksum: 10c0/651a201a1af981d49326fac8c005bbe2af97bc56fcabded0b22944c08eea0ba3bccfa497168d4bcb70508ca5802fe1cb83ca89a7e121eb0701d4c8b1d6c71a5d - languageName: node - linkType: hard - "shell-quote@npm:^1.6.1, shell-quote@npm:^1.7.3": version: 1.8.1 resolution: "shell-quote@npm:1.8.1"