
Security News
Package Maintainers Call for Improvements to GitHub’s New npm Security Plan
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
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
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
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.