
Security News
Node.js Drops Bug Bounty Rewards After Funding Dries Up
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.
react-native-multitask-blur
Advanced tools
Blur screen on switch mode with specific screen
npm install react-native-multitask-blur
@implementation AppDelegate
...
NSNumber* blur = 0;
...
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
...
[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(receiveTestNotification:)
name:@"onBlur"
object:nil];
...
}
...
- (void) receiveTestNotification:(NSNotification *) notification
{
if ([[notification name] isEqualToString:@"onBlur"]){
NSDictionary* userInfo = notification.userInfo;
NSNumber* isBlur = (NSNumber*)userInfo[@"isBlur"];
blur = isBlur;
NSLog (@"%@", isBlur);
}
}
...
- (void)applicationWillResignActive:(UIApplication *)application{
...
if(blur.intValue == 1){
UIBlurEffect *blurEffect = [UIBlurEffect effectWithStyle:UIBlurEffectStyleDark];
UIVisualEffectView *blurEffectView = [[UIVisualEffectView alloc] initWithEffect:blurEffect];
//always fill the view
blurEffectView.frame = self.window.bounds;
blurEffectView.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
blurEffectView.tag = 181099;
[self.window addSubview:blurEffectView];
}
...
}
- (void)applicationDidBecomeActive:(UIApplication *)application{
...
[[self.window viewWithTag:181099] removeFromSuperview];
...
}
import MultitaskBlur from "react-native-multitask-blur";
// ...
MultitaskBlur.blur(); // For blur on multitask switch mode
MultitaskBlur.unBlur(); // For unblur on multitask switch mode
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
FAQs
Blur screen on switch mode with specific screen
We found that react-native-multitask-blur demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.