Skip to content

Commit 254d62a

Browse files
authored
Merge pull request #6 from Scode-Njnjas/fix/crash-on-android-and-missing-type-definitions-module-exports
fix: add type definitions module exports and change the package because it makes crashes on Android
2 parents af56aca + 8d24583 commit 254d62a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,6 @@ dependencies {
9595
//noinspection GradleDynamicVersion
9696
implementation "com.facebook.react:react-native:+"
9797
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
98-
implementation "com.github.convertedin:android-pixel-sdk:1.4.3"
98+
implementation 'com.github.Scode-Njnjas:android-pixel-sdk:v1.0.1'
9999
}
100100

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@
55
"source": "src/index.ts",
66
"main": "lib/commonjs/index.js",
77
"module": "lib/module/index.js",
8-
"types": "src/index.d.ts",
8+
"types": "./src/index.d.ts",
99
"exports": {
1010
".": {
11+
"types": "./src/index.d.ts",
1112
"import": "./lib/module/index.js",
1213
"require": "./lib/commonjs/index.js"
1314
}

0 commit comments

Comments
 (0)