
Research
/Security News
Malicious npm Packages Target WhatsApp Developers with Remote Kill Switch
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.
@callstack/react-native-brownfield
Advanced tools
Set of helpers to make your brownfield integration smooth and easy.
npm install @callstack/react-native-brownfield
or
yarn add @callstack/react-native-brownfield
Add the following to your android/gradle.properties
:
# Enable new architecture
newArchEnabled=true
Install cocoapods with the flag:
RCT_NEW_ARCH_ENABLED=1 pod install
[!NOTE] New Architecture is enabled by default from React Native 0.76
React Native Brownfield library works with all major native programming languages. Majority of its API is exposed on the native side. Click on the logo to choose the one that interests you:
![]() Objective-C | ![]() Swift | ![]() Java | ![]() Kotlin |
---|
Besides native components, we are exposing JavaScript functions to control the behavior of those components.
To use the module, simply import it:
import ReactNativeBrownfield from '@callstack/react-native-brownfield';
setNativeBackGestureAndButtonEnabled(enabled: boolean)
A method used to toggle iOS native back gesture and Android hardware back button.
ReactNativeBrownfield.setNativeBackGestureAndButtonEnabled(true);
popToNative(animated[iOS only]: boolean)
A method to pop to native screen used to push React Native experience.
ReactNativeBrownfield.popToNative(true);
NOTE: Those methods works only with native components provided by this library.
React Native Brownfield is an open source project and will always remain free to use. If you think it's cool, please star it 🌟. Callstack is a group of React and React Native geeks, contact us at hello@callstack.com if you need any help with these or just want to say hi!
Like the project? ⚛️ Join the team who does amazing stuff for clients and drives React Native Open Source! 🔥
Thanks goes to these wonderful people (emoji key):
Michał Chudziak 💻 📖 🤔 | Piotr Drapich 💻 🤔 |
---|
This project follows the all-contributors specification. Contributions of any kind welcome!
FAQs
Brownfield helpers for React Native
The npm package @callstack/react-native-brownfield receives a total of 1,575 weekly downloads. As such, @callstack/react-native-brownfield popularity was classified as popular.
We found that @callstack/react-native-brownfield demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.
Research
/Security News
Socket uncovered 11 malicious Go packages using obfuscated loaders to fetch and execute second-stage payloads via C2 domains.
Security News
TC39 advances 11 JavaScript proposals, with two moving to Stage 4, bringing better math, binary APIs, and more features one step closer to the ECMAScript spec.