npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

react-native-system-applications

v2.0.0

Published

A simple multi-purpose module for performing various activities on android phones

Downloads

17

Readme

react-native-system-applications

  • Record audio and video
  • Take pictures
  • Call a number
  • Send SMS
  • Get or print call logs
  • Get or print contacts
  • Schedule an alarm notification.
  • Download , upload or open files
  • Control device settings.

Media | Device | Settings | Phone :---------------:| :------------:| :----------------: | :---------------: Audio | Files | Bluetooth | Contacts Video | Alarm | Wifi | Calls Image | Brightness | Volume | Sms

The links to the above components lead to the documentation for each module. The documentation contains detailed information about the usage and required configurations of each module. If you find going through all the documentation is time consuming, you can also find a brief summary in just one page here.

Getting Started

Installation

Using npm

$ npm install react-native-system-applications --save

Using yarn

$ yarn add react-native-system-applications

Linking

There are two options for linking:
1. Automatic

react-native link react-native-system-applications

2. Manual

If the automatic linking fails for some reason, you can do the linking manually as follows:

  • add the following to yourAppName/android/settings.gradle file:
	include ':react-native-system-applications'
	project(':react-native-system-applications').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-system-applications/android')
  • add the following inside the dependencies closure of yourAppName/android/app/build.gradle file:
	implementation project(':react-native-system-applications')
  • add the following to your MainApplication.java file:
	import com.sysapps.SysappsPackage;

and also,

   @Override
   protected List<ReactPackage> getPackages() {
   	return Arrays.<ReactPackage>asList(
   		new MainReactPackage(),
   		....
   		new SysappsPackage()    <== Add this
   	);
   }

Usage

The module is simple to use. Just import the component that you want to work with and invoke the available functions for that component. For instance, the Files component is imported like so:

import { Files } from 'react-native-system-applications';

Then, if you want to pick a file with a file picker, you can invoke the pick() function on the Files object as follows:

Files.pick();

For versions below 2.0.0, you can achieve the same outcome as above using:

import Sysapps from 'react-native-system-applications';

Sysapps.files.pick()

This approach is still feasible with the recent versions and there is no issue regarding backward compatibility.

Issues or suggestions?

In some cases, the module might work only for devices with higher API levels. You might have issues if you are working with older API levels. For such and other issues or if you want to suggest something , you can write it here.