
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
@plaza-app/react-native
Advanced tools
Plaza React Native Web3 login (Beta)
This library currently only works with Expo-managed workflows.
See the docs for more information, or reach out to us in our Discord for help.
Apple: iOS 12+ Android: Custom Tab support
npm install @plazaapp/react-native
For this library to work you will need to install this library's peer dependencies (tested with the latest stable version of each):
crypto-browserify
, stream-browserify
, events
, expo-constants
, expo-linking
, expo-web-browser
,
Inside your metro.config.js, add the polyfills:
const path = require("path");
module.exports = {
transformer: {
getTransformOptions: async () => ({
transform: {
experimentalImportSupport: false,
inlineRequires: true,
},
extraNodeModules: {
...{
stream: path.join(__dirname, "node_modules", "stream-browserify"),
crypto: path.join(__dirname, "node_modules", "crypto-browserify"),
events: path.join(__dirname, "node_modules", "events"),
},
},
}),
},
};
import { Plaza } from '@plaza-app/react-native';
// ...
const plaza = new Plaza("<YOUR PUBLIC API KEY>")
return (
// ...
<Button
title="Log in"
onPress={async () => {
const { walletAddress, email } = await plaza.login();
}}
/>
)
If you export your Expo app, you will need to register your app's custom linking scheme for the authentication flow to work:
import { Plaza } from '@plaza-app/react-native'
const Plaza = new Plaza("<YOUR PUBLIC API KEY>", "myapp")
This corresponds to your app's Expo config (app.json / app.config.js):
{
"expo": {
"scheme": "myapp"
}
}
FAQs
test
We found that @plaza-app/react-native demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.