Closed vladas3000 closed 1 week ago
Do you have the jcenter() repository added to the android project?
Facing the same issue and this is my build.gradle file
repositories {
jcenter()
maven {
url "${rootDir}/../../android/local/repo"
}
maven {
url "${rootDir}/../node_modules/ondato-sdk-react-native/android/local/repo"
}
maven {
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
url(new File(['node', '--print', "require.resolve('react-native/package.json')"].execute(null, rootDir).text.trim(), '../android'))
}
maven {
// Android JSC is installed from npm
url(new File(['node', '--print', "require.resolve('jsc-android/package.json')"].execute(null, rootDir).text.trim(), '../dist'))
}
google()
mavenCentral()
maven { url 'https://www.jitpack.io' }
}
}```
@edgaras-simanavicius No, I don't have jcenter(), it's replaced with mavenCentral()
For anyone using expo, I was able to successfully write a config plugin to help with the installation process here => https://www.npmjs.com/package/ondato-expo-config-plugin
@vladas3000 please confirm if the 2.5.6 version resolves the issue
@vladas3000 please confirm if the 2.5.6 version resolves the issue
Hi. At 2.5.6 version its working, but can't launch app. This is what I got
2.5.10 fixed the issue
Hey! I have an issue while building ondato on android
React native: 73.5 Ondato: 2.5.4
Indeed no such file in node_modules