diff --git a/android/build.gradle b/android/build.gradle index d3e97b1..b0287c6 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -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" } diff --git a/example/android/app/build.gradle b/example/android/app/build.gradle index e396b04..c09c1e2 100644 --- a/example/android/app/build.gradle +++ b/example/android/app/build.gradle @@ -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") diff --git a/example/android/build.gradle b/example/android/build.gradle index d2b6f07..cd1e052 100644 --- a/example/android/build.gradle +++ b/example/android/build.gradle @@ -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") } } } diff --git a/example/src/App.tsx b/example/src/App.tsx index 835c67a..862ce86 100644 --- a/example/src/App.tsx +++ b/example/src/App.tsx @@ -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() { diff --git a/tsconfig.json b/tsconfig.json index 93126af..27cd0bb 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,7 +2,7 @@ "compilerOptions": { "rootDir": ".", "paths": { - "react-native-getivy-sdk": ["./src/index"] + "@getivy/react-native-getivy-sdk": ["./src/index"] }, "allowUnreachableCode": false, "allowUnusedLabels": false,