Security News
How Threat Actors are Abusing GitHub’s File Upload Feature to Host Malware
GitHub is susceptible to a CDN flaw that allows attackers to host malware on any public repository.
react-native-wallet-manager
Advanced tools
Changelog
v0.0.2
Readme
Provides some Apple Wallet's functionality, like adding passes, removing passes and checking passises for existing.
yarn add react-native-wallet-manager
or
npm install react-native-wallet-manager
Add Wallet module to capabilities in Xcode.
Don't forget to run pod install
!
import WalletManager from 'react-native-wallet-manager';
// ...
try {
const result = await WalletManager.addPassFromUrl(
'https://github.com/dev-family/react-native-wallet-manager/blob/main/example/resources/test.pkpass?raw=true'
);
console.log(result);
// true
} catch (e) {
console.log(e);
}
try {
const result = await WalletManager.hasPass(
'pass.family.dev.stage.beerpoint-master',
'serial-xxx'
);
console.log(result);
} catch (e) {
console.log(e);
}
First argument is pass identifier. You can pass second argument (optional) to specify pass serial number.
try {
const result = await WalletManager.removePass(
'pass.family.dev.stage.beerpoint-master',
'serial-xxx'
);
console.log(result);
} catch (e) {
console.log(e);
}
First argument is pass identifier. You can pass second argument (optional) to specify pass serial number.
Project inspired by react-native-wallet
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
FAQs
Provides some Apple Wallet's functionality, like adding passes, removing passes and checking passises for existing.
The npm package react-native-wallet-manager receives a total of 1,341 weekly downloads. As such, react-native-wallet-manager popularity was classified as popular.
We found that react-native-wallet-manager demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 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
GitHub is susceptible to a CDN flaw that allows attackers to host malware on any public repository.
Security News
At Node Congress, Socket CEO Feross Aboukhadijeh uncovers the darker aspects of open source, where applications that rely heavily on third-party dependencies can be exploited in supply chain attacks.
Research
Security News
The Socket Research team found this npm package includes code for collecting sensitive developer information, including your operating system username, Git username, and Git email.