Skip to content

Commit

Permalink
fix: module not found on Android
Browse files Browse the repository at this point in the history
  • Loading branch information
mariuskurgonasativy committed Feb 23, 2024
1 parent e72f130 commit d25300f
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ dependencies {
// For < 0.71, this will be from the local maven repo
// For > 0.71, this will be replaced by `com.facebook.react:react-android:$version` by react gradle plugin
//noinspection GradleDynamicVersion
implementation 'io.getivy:sdk:1.0.1'
implementation 'io.getivy:sdk:2.0.0'
implementation "com.facebook.react:react-native:+"
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
}
Expand Down
2 changes: 1 addition & 1 deletion example/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ android {

dependencies {
// The version of react-native is set by the React Native Gradle Plugin
implementation 'io.getivy:sdk:1.0.1'
implementation 'io.getivy:sdk:2.0.0'
implementation("com.facebook.react:react-android")
implementation("com.facebook.react:flipper-integration")

Expand Down
4 changes: 2 additions & 2 deletions example/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ allprojects {
name = "GitHub"
url = uri("https://maven.pkg.github.com/getivy/android-sdk-public")
credentials {
username = "mariuskurgonasativy"
password = "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"
username = System.getenv("GETIVY_GITHUB_USER")
password = System.getenv("GETIVY_GITHUB_TOKEN")
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion example/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import {
openSDK,
initializeDataSession,
eventsEmitter,
} from 'react-native-getivy-sdk';
} from '@getivy/react-native-getivy-sdk';
import useApiService from './hooks/useApiService';

export default function App() {
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"compilerOptions": {
"rootDir": ".",
"paths": {
"react-native-getivy-sdk": ["./src/index"]
"@getivy/react-native-getivy-sdk": ["./src/index"]
},
"allowUnreachableCode": false,
"allowUnusedLabels": false,
Expand Down

0 comments on commit d25300f

Please sign in to comment.