Security News
PyPI Introduces Digital Attestations to Strengthen Python Package Security
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
expo-application
Advanced tools
A universal module that gets native application information such as its ID, app name, and build version at runtime
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.
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);
The react-native-device-info package provides device and application information for React Native apps. It offers a broader range of device-specific information compared to expo-application, such as device model, manufacturer, and unique IDs.
The expo-constants package provides system information that remains constant throughout the lifecycle of the app. It includes some overlapping features with expo-application, such as app ownership and manifest details, but also includes additional constants like device year class and platform-specific information.
Gets native application information such as its ID, app name, and build version at runtime.
For managed Expo projects, please follow the installation instructions in the API documentation for the latest stable release.
For bare React Native projects, you must ensure that you have installed and configured the expo
package before continuing.
npx expo install expo-application
Contributions are very welcome! Please refer to guidelines described in the contributing guide.
FAQs
A universal module that gets native application information such as its ID, app name, and build version at runtime
The npm package expo-application receives a total of 284,401 weekly downloads. As such, expo-application popularity was classified as popular.
We found that expo-application demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 36 open source maintainers collaborating on the project.
Did you know?
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.
Security News
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.