
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
@angoralabs/angora-react-native
Advanced tools
React Native SDK
npm install @angoralabs/angora-react-native
or
yarn add @angoralabs/angora-react-native
Angora's React Native SDK uses react-native-device-info.
After installing Angora's React Native SDK, you should also install react-native-device-info.
At the index.js
, import angora
from @angoralabs/angora-react-native
and call the init
function.
import {AppRegistry} from 'react-native';
import App from './App';
import {name as appName} from './app.json';
import {version as appVersion} from './package.json';
import {angora} from '@angoralabs/angora-react-native';
angora.init({
token:
'OGIyZTJmNGEtMzc4OS01NGE3LTg4ZTctZGJjMmVkZDU1MjdjOjIxODE4NzhmOGExNWEyM2YxOTI4MzFiMGEwYzRjZmUzZDFhNjIxNDM=',
appName,
appVersion,
});
AppRegistry.registerComponent(appName, () => App);
The init
function expects and object containing:
Angora needs access to the AppState
. At your root component, probably the App.js
, add the AngoraAppState
component, if it's a class component or just call the useAngoraAppState
hooks, if it's a function component.
import React, {useEffect} from 'react';
import {useAngoraAppState} from '@angoralabs/angora-react-native';
const App = () => {
useAngoraAppState();
return (
// ...
);
};
export default App;
import React, {Component} from 'react';
import {AngoraAppState} from '@angoralabs/angora-react-native';
class App extends Component {
render() {
return (
<AngoraAppState />
// ...
);
}
};
export default App;
Without AngoraAppState
or useAngoraAppState
, the Angora React Native SDK won't be able to track sessions events.
Not available yet.
MIT
FAQs
Angora SDK React Native
The npm package @angoralabs/angora-react-native receives a total of 0 weekly downloads. As such, @angoralabs/angora-react-native popularity was classified as not popular.
We found that @angoralabs/angora-react-native demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.