
Security News
Deno 2.6 + Socket: Supply Chain Defense In Your CLI
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.
react-native-immersive
Advanced tools
Add Toggle for Android Immersive FullScreen Layout
Note: this project is Android only, and Immersive Full-Screen Mode is first introduced since Android 4.4 (API Level 19)
npm install react-native-immersive --save
Edit android/settings.gradle:
+ include ':react-native-immersive'
+ project(':react-native-immersive').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-immersive/android')
Edit android/app/build.gradle:
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile "com.android.support:appcompat-v7:23.0.1"
compile "com.facebook.react:react-native:+"
+ compile project(':react-native-zip-archive')
}
Edit your android/app/src/main/java/.../MainActivity.java:
+ import com.rnziparchive.RNZipArchivePackage;
@Override
protected List<ReactPackage> getPackages() {
return Arrays.<ReactPackage>asList(
new MainReactPackage(),
+ new RNZipArchivePackage()
);
}
import Immersive from 'react-native-immersive';
// or
import {Immersive} from 'react-native-immersive';
// or
const Immersive = require('react-native-immersive');
// methods (Android Only, don't call on iOS)
Immersive.on();
Immersive.setImmersive(true);
Immersive.off();
Immersive.setImmersive(false);
FAQs
Add Toggle for Android Immersive FullScreen Layout
The npm package react-native-immersive receives a total of 3,463 weekly downloads. As such, react-native-immersive popularity was classified as popular.
We found that react-native-immersive demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 10 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
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.

Security News
New DoS and source code exposure bugs in React Server Components and Next.js: what’s affected and how to update safely.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.