
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
tru-sdk-react-native
Advanced tools
React Native package for tru.ID
npm install tru-sdk-react-native
For Android, add the following to your application's build.gradle
:
maven {
url "https://gitlab.com/api/v4/projects/22035475/packages/maven"
}
Note: we'll begin publishing our Android SDK to Maven central shortly.
import TruSdkReactNative from "tru-sdk-react-native";
// ...
// Make a GET request using the cellular connection to the check URL
await TruSdkReactNative.openCheckUrl(checkUrl);
// Make a GET request using the cellular connection supplied URL
// Expects a JSON response and the value for the key identified by the second parameter
// will be returned. e.g. "ip_address" in the example below.
const ipAddress = await TruSdkReactNative.getJsonPropertyValue(
`https://${BASE_URL}/my-ip`,
'ip_address'
);
The SDK contains an embedded example to make building and testing the SDK bridge easier.
ANDROID_HOME
environment variable (ie export ANDROID_HOME=~/Library/Android/sdk
). Although $ANDROID_HOME
is apparently deprecated it is still required.$ANDROID_HOME/tools/bin/sdkmanager --licenses
or $ANDROID_SDK_ROOT/tools/bin/sdkmanager --licenses
yarn bootstrap && cd examples
yarn android
yarn ios
See the contributing guide to learn how to contribute to the repository and the development workflow.
Update CHANGELOG.md
and finesse.
$ yarn run changelog
Commit the changes:
$ git commit -m 'chore(release): v{version}'
Tag:
$ git tag v{version}
Publish a new canary build to test.
$ yarn run publish:canary
Publish a full version:
$ yarn run publish:latest
Distributed under the MIT license. See LICENSE
for more information.
FAQs
React Native SDK for tru.ID
The npm package tru-sdk-react-native receives a total of 2 weekly downloads. As such, tru-sdk-react-native popularity was classified as not popular.
We found that tru-sdk-react-native demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.