Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
@zettabrasil/react-native-searchbar
Advanced tools
Search Bar for iOS & Android with voice and history features
Search Bar for iOS & Android with voice and history features for React Native.
npm i -S @zettabrasil/react-native-searchbar
We will need to install first the following libraries to get this working well:
npm i -S @react-native-community/voice
Need to include permissions for NSMicrophoneUsageDescription
and NSSpeechRecognitionUsageDescription
inside Info.plist for iOS. See the included VoiceTest
for how to handle these cases.
<dict>
...
<key>NSMicrophoneUsageDescription</key>
<string>Description of why you require the use of the microphone</string>
<key>NSSpeechRecognitionUsageDescription</key>
<string>Description of why you require the use of the speech recognition</string>
...
</dict>
npm i -S @react-native-community/async-storage
Link the iOS package
npx pod-install
Checkout the example
This library depends on react-native-root-siblings to work properly. So, it is necessary to make the following configuration in the root app component:
import { SearchBarWrapper } from '@zettabrasil/react-native-searchbar';
export default function App() {
return (
<SearchBarWrapper>
<View>
{ /* app content */ }
</View>
</SearchBarWrapper>
);
}
FAQs
Search Bar for iOS & Android with voice and history features
The npm package @zettabrasil/react-native-searchbar receives a total of 1 weekly downloads. As such, @zettabrasil/react-native-searchbar popularity was classified as not popular.
We found that @zettabrasil/react-native-searchbar demonstrated a not healthy version release cadence and project activity because the last version was released 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 removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.