
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-launch-image
Advanced tools
Only iOS was supported. (for native iOS launch image)
For both iOS&Android support, maybe you can use rn-splash-screen, which provides a extra view to contain launch image.
Notice: You should not keep launch image more than 5 seconds, which may cause your app got killed by iOS. To do long-time work(like http request, which may fail or tooks long), you should first render a react native page, then hide launch image before work, or set a timeout, hide launch image even if request is still waiting.
$ npm install react-native-launch-image --save
$ react-native link react-native-launch-image
Libraries ➜ Add Files to [your project's name]node_modules ➜ react-native-launch-image and add RNLaunchImage.xcodeprojlibRNLaunchImage.a to your project's Build Phases ➜ Link Binary With LibrariesCmd+R)<You should add following code to AppDelegate.m for keeping launch image:
#import "AppDelegate.h"
#import "RCTRootView.h"
#import "RNLaunchImage.h" // <-- Add this line.
@implementation AppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
// ...other code
[RNLaunchImage wait]; // <-- Add this line. This line MUST be the last line of this method.
return YES;
}
@end
Use RNLaunchImage.hide() to hide launch image manually.
import * as launchImage from 'react-native-launch-image';
class App extends React.Component {
async componentDidMount(){
// do anything while launch image keeps, use await to wait for an async task.
launchImage.hide();
}
}
FAQs
Only iOS was supported. (for native iOS launch image)
We found that react-native-launch-image 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
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.