
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
react-native-paymob
Advanced tools
react native paymob sdk
yarn add https://github.com/a-eid/react-native-paymob
IOS installation is almost automatic, the one thing you need to do is to create an empty Swift file in your project.


file name does not matter ( I think )

choose create bridging header.

there should be a swift file and a bridging header in your project.

1- in AndroidManifest.xml
xmlns:tools="http://schemas.android.com/tools" to manifest tagapplication tag
android:supportsRtl="false"
tools:replace="android:supportsRtl, android:allowBackup"android/app/res/values/colors.xml ( create the file if you don't have it already ) <resources>
<color name="white">#FFF</color>
<color name="colorPrimary">#6200EE</color>
<color name="colorPrimaryDark">#03DAC5</color>
<color name="colorAccent">#03DAC5</color>
<color name="ThemeColor"> #FF0000 </color>
</resources>
import { Paymob, useDidDismissPaymob } from 'react-native-paymob';
useDidDismissPaymob(
// make sure to not use destruction here to get proper typing.
// & use React.useCallback
React.useCallback((data) => {
console.log(data);
}, [])
);
// some event handler
Paymob.presentPayVC({
billingData: {
apartment: 'NA',
email: 'NA',
floor: 'NA',
first_namae: 'NA',
street: 'NA',
building: 'NA',
phone_number: 'NA',
shipping_method: 'NA',
postal_code: 'NA',
city: 'NA',
country: 'NA',
last_name: 'NA',
state: 'NA',
},
paymentKey: "your payment key",
saveCardDefault: false,
showSaveCard: false,
showAlerts: false,
isEnglish: true,
showScanCardButton: false,
});
the library was created to cover our use case only, but we are open to adding more features if we have the time.
All Pull Requests are welcome See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
FAQs
react native paymob sdk
The npm package react-native-paymob receives a total of 20 weekly downloads. As such, react-native-paymob popularity was classified as not popular.
We found that react-native-paymob 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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.