Socket
Socket
Sign inDemoInstall

expo-application

Package Overview
Dependencies
0
Maintainers
24
Versions
71
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

expo-application


Version published
Maintainers
24
Created

Package description

What is expo-application?

The expo-application package provides access to system and application information for an Expo app. This includes details such as the app's name, version, build number, and more.

What are expo-application's main functionalities?

Get Application Name

This feature allows you to retrieve the name of the application.

import * as Application from 'expo-application';

console.log(Application.applicationName);

Get Application Version

This feature allows you to get the version of the application.

import * as Application from 'expo-application';

console.log(Application.nativeApplicationVersion);

Get Build Number

This feature allows you to retrieve the build number of the application.

import * as Application from 'expo-application';

console.log(Application.nativeBuildVersion);

Get Installation Time

This feature allows you to get the installation time of the application.

import * as Application from 'expo-application';

Application.getInstallationTimeAsync().then(time => console.log(time));

Get Application ID

This feature allows you to retrieve the application ID.

import * as Application from 'expo-application';

console.log(Application.applicationId);

Other packages similar to expo-application

Readme

Source

expo-application

Gets native application information such as its ID, app name, and build version at runtime.

API documentation

  • Documentation for the master branch

Installation in managed Expo projects

For managed managed Expo projects, please follow the installation instructions in the API documentation for the latest stable release.

Installation in bare React Native projects

For bare React Native projects, you must ensure that you have installed and configured the react-native-unimodules package before continuing.

Add the package to your npm dependencies

expo install expo-application

Contributing

Contributions are very welcome! Please refer to guidelines described in the contributing guide.

Keywords

FAQs

Last updated on 09 Apr 2021

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc