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

react-native-macos-app-opener

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-macos-app-opener

React Native macOS utility for launching an application on macOS.

  • 0.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6
increased by500%
Maintainers
1
Weekly downloads
 
Created
Source

React Native macOS App Opener

Utility that allows you to open other installed apps from within your React Native macOS application.

React Native macOS

React Native macOS is a very young implementation of React Native with support for macOS systems. Because of that, the library is not yet stable. There have been no successes for real-world applications built with react-native-macos yet. Proceed at your own risk.

Installation

Install component and save to dependencies:

npm i react-native-macos-app-opener --save

Link native modules to your project automatically with:

react-native-macos link

Or you can follow the same pattern seen in React Native iOS Library Linking.

Details

The utility leverages NSWorkspace to launch an application passed through a parameter to AppOpener. If the application is already opened, the system will bring it to the front. If the application is closed, it will launch it.

Usage

import AppOpener from 'react-native-macos-app-opener';

AppOpener.openApp('Finder');

Contribution

Please contribute! PRs are welcome and I'll do my best to extend and improve this utility.

Keywords

FAQs

Package last updated on 03 Feb 2017

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