Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-native-giga-full-screen

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-giga-full-screen

## Getting started

  • 1.0.3
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

react-native-giga-full-screen

Getting started

$ npm install react-native-giga-full-screen --save

Mostly automatic installation

$ react-native link react-native-giga-full-screen

Manual installation

Android

(Step 1 -> 3 only do when your react-native version doesn't support automatically link)

  1. Open up android/app/src/main/java/[...]/MainActivity.java
  • Add import com.reactlibrary.RNGigaFullScreenPackage; to the imports at the top of the file
  • Add new RNGigaFullScreenPackage() to the list returned by the getPackages() method
  1. Append the following lines to android/settings.gradle:
    include ':react-native-giga-full-screen'
    project(':react-native-giga-full-screen').projectDir = new File(rootProject.projectDir, 	'../node_modules/react-native-giga-full-screen/android')
    
  2. Insert the following lines inside the dependencies block in android/app/build.gradle:
      compile project(':react-native-giga-full-screen')
    
  3. In MainApplication.java add this method:
       @Override
       public void onWindowFocusChanged(boolean hasFocus) {
         super.onWindowFocusChanged(hasFocus);
         Intent intent = new Intent("onFocus");
         this.sendBroadcast(intent);
       }
    

Usage

import RNGigaFullScreen from 'react-native-giga-full-screen';

// TODO: What to do with the module?
RNGigaFullScreen;

Keywords

FAQs

Package last updated on 04 Aug 2020

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc