Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
react-native-social-buttons
Advanced tools
Since the library is a JS-based solution, to install the latest version of rtg-rn-social-buttons
you only need to run:
npm install --save rtg-rn-social-buttons
Just Import and use Component in your react-native expo as well as ejected apps a basic example is as below
import React from "react";
import { View ,Alert} from "react-native";
import SocialButton from "rtg-rn-social-buttons";
alertme=()=>{
Alert.alert('action');
}
export default class App extends React.Component {
render() {
return (
<View>
<SocialButton type='facebook' text='Login With Facebook' opacity={0.5} height={40} width={220} action={this.alertme}/>
</View>
);
}
}
You can Pass these types of props to your App
Property | Default | In Message Object | Description |
---|---|---|---|
type | none | Yes | Controls Buttton Type like facebook ,google ,twitter ,github ,microsoft ,linkedin ,amazon |
text | none | Yes | Display Text on the Button |
height | none | Yes | Adjust height of the button |
width | none | Yes | Display width of the button |
opacity | none | Yes | Controls the opacity of the button |
action | none | Yes | Contains Action performed on the button |
|
You can try out the rtg-rn-social-Button Playground app to get a tease of the functionalities of this lib.
More details and usages will coming soo
##Screenshots
FAQs
Declarative social button components for React Native.
The npm package react-native-social-buttons receives a total of 197 weekly downloads. As such, react-native-social-buttons popularity was classified as not popular.
We found that react-native-social-buttons demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.