Closed mohammadfahad112 closed 2 months ago
@mohammadfahad112 should be resolved now. Can you check if you still face the issue?
@Svaike I'll be implementing it today. Will definitely share outcome.
Updates yarn add https://github.com/ondato/ondato-sdk-react-native/releases/tag/2.4.1 or npm install https://github.com/ondato/ondato-sdk-react-native/releases/tag/2.4.1
Getting npm ERR! code TAR_BAD_ARCHIVE npm ERR! TAR_BAD_ARCHIVE: Unrecognized archive format
npm ERR! A complete log of this run can be found in: /Users/dev/.npm/_logs/2024-02-22T14_06_27_953Z-debug-0.log
also after trying with latest release on android i face this issue
FAILURE: Build failed with an exception.
What went wrong: Could not determine the dependencies of task ':app:processDebugResources'.
Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'. Could not find com.kyc.ondato:sdk:2.5.2. Searched in the following locations:
- file:/Users/dev/fiver/android/local/repo/com/kyc/ondato/sdk/2.5.2/sdk-2.5.2.pom
- https://oss.sonatype.org/content/repositories/snapshots/com/kyc/ondato/sdk/2.5.2/sdk-2.5.2.pom
- https://repo.maven.apache.org/maven2/com/kyc/ondato/sdk/2.5.2/sdk-2.5.2.pom
- file:/Users/dev/fiver/triangle-app/node_modules/jsc-android/dist/com/kyc/ondato/sdk/2.5.2/sdk-2.5.2.pom
- https://dl.google.com/dl/android/maven2/com/kyc/ondato/sdk/2.5.2/sdk-2.5.2.pom
- https://www.jitpack.io/com/kyc/ondato/sdk/2.5.2/sdk-2.5.2.pom Required by: project :app > project :ondato-sdk-react-native
Try:
@mohammadfahad112 can you check the latest build? The readme was updated with new instructions as well.
Added the example of the app to check the implementation: https://github.com/ondato/ondato-sdk-react-native/tree/main/example
Issue
Extracting tar content of undefined failed
Details
I am encountering an issue while attempting to install the Ondato SDK React Native package using either
yarn add
ornpm install
.Error Message
markdown Copy code
Heading
Extracting tar content of undefined failed
Details
I am encountering an issue while attempting to install the Ondato SDK React Native package using either
yarn add
ornpm install
.Error Message
error https://github.com/ondato/ondato-sdk-react-native/releases/tag/2.4.1: Extracting tar content of undefined failed, the file appears to be corrupt: "Invalid tar header. Maybe the tar is corrupted or it needs to be gunzipped?"
Steps to Reproduce
Execute the command yarn add https://github.com/ondato/ondato-sdk-react-native/releases/tag/2.4.1 or npm install https://github.com/ondato/ondato-sdk-react-native/releases/tag/2.4.1. Observe the error message mentioned above. Expected Behavior The SDK package should be successfully installed without any errors.
Additional Information I have verified the integrity of the downloaded file and it appears to be intact. This issue occurs consistently across different environments. It is recommended to investigate the root cause of the tar extraction failure to ensure smooth installation of the SDK package.
Complete Logs
Manual Approach
Downloaded source code (tar.gz) and navigated into my react native project directory and ran
npm i ondato-sdk-react-native-2.4.1.tar.gz
Package got installed. Initially I faced few cocopoads related errors after resolving them. I ranpod install
. It failed with this errorError
My Specs
Android Build (Manual Installation)