New:Microsoft Teams Notifications Are Now Available in Socket.Learn more
Get Started

rnww-plugin-screen-pinning

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rnww-plugin-screen-pinning

React Native WebView Screen Pinning Plugin with Expo support (Android Only)

latest
npmnpm
Version
1.1.0
Version published
Maintainers
1
Created
Source

RNWW Plugin Screen Pinning

React Native와 WebView 간 화면 고정(Screen Pinning) 기능을 연결하는 플러그인입니다. (Android 전용)

설치

npm install rnww-plugin-screen-pinning
# or
yarn add rnww-plugin-screen-pinning

기능

  • 앱 고정(Screen Pinning / Lock Task Mode) 시작 및 해제
  • 앱 고정 상태 확인
  • Android 전용 (API Level 21+)

브릿지 핸들러

다음 이벤트 핸들러가 등록됩니다:

  • getScreenPinning - 앱 고정 상태 확인
  • startScreenPinning - 앱 고정 시작
  • stopScreenPinning - 앱 고정 해제

사용법

앱 고정 시작

bridge.send('startScreenPinning', {}, (response) => {
  if (response.success) {
    console.log('Screen pinning started');
  }
});

앱 고정 해제

bridge.send('stopScreenPinning', {}, (response) => {
  if (response.success) {
    console.log('Screen pinning stopped');
  }
});

앱 고정 상태 확인

bridge.send('getScreenPinning', {}, (response) => {
  console.log('Is pinned:', response.isPinned);
  console.log('Lock task mode state:', response.lockTaskModeState);
});

라이선스

MIT

Keywords

react-native

FAQs

Package last updated on 28 Dec 2025

Related posts