Socket
Socket
Sign inDemoInstall

expo-application

Package Overview
Dependencies
Maintainers
17
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

expo-application - npm Package Compare versions

Comparing version 2.0.0 to 2.1.0

ios/EXApplication/EXProvisioningProfile.h

10

build/Application.d.ts

@@ -8,3 +8,13 @@ export declare const nativeApplicationVersion: string | null;

export declare function getIosIdForVendorAsync(): Promise<string>;
export declare enum ApplicationReleaseType {
UNKNOWN = 0,
SIMULATOR = 1,
ENTERPRISE = 2,
DEVELOPMENT = 3,
AD_HOC = 4,
APP_STORE = 5
}
export declare function getIosApplicationReleaseTypeAsync(): Promise<ApplicationReleaseType>;
export declare function getIosPushNotificationServiceEnvironmentAsync(): Promise<string>;
export declare function getInstallationTimeAsync(): Promise<Date>;
export declare function getLastUpdateTimeAsync(): Promise<Date>;

@@ -28,2 +28,23 @@ import { UnavailabilityError } from '@unimodules/core';

}
export var ApplicationReleaseType;
(function (ApplicationReleaseType) {
ApplicationReleaseType[ApplicationReleaseType["UNKNOWN"] = 0] = "UNKNOWN";
ApplicationReleaseType[ApplicationReleaseType["SIMULATOR"] = 1] = "SIMULATOR";
ApplicationReleaseType[ApplicationReleaseType["ENTERPRISE"] = 2] = "ENTERPRISE";
ApplicationReleaseType[ApplicationReleaseType["DEVELOPMENT"] = 3] = "DEVELOPMENT";
ApplicationReleaseType[ApplicationReleaseType["AD_HOC"] = 4] = "AD_HOC";
ApplicationReleaseType[ApplicationReleaseType["APP_STORE"] = 5] = "APP_STORE";
})(ApplicationReleaseType || (ApplicationReleaseType = {}));
export async function getIosApplicationReleaseTypeAsync() {
if (!ExpoApplication.getApplicationReleaseTypeAsync) {
throw new UnavailabilityError('expo-application', 'getApplicationReleaseTypeAsync');
}
return await ExpoApplication.getApplicationReleaseTypeAsync();
}
export async function getIosPushNotificationServiceEnvironmentAsync() {
if (!ExpoApplication.getPushNotificationServiceEnvironmentAsync) {
throw new UnavailabilityError('expo-application', 'getPushNotificationServiceEnvironmentAsync');
}
return await ExpoApplication.getPushNotificationServiceEnvironmentAsync();
}
export async function getInstallationTimeAsync() {

@@ -30,0 +51,0 @@ if (!ExpoApplication.getInstallationTimeAsync) {

6

build/ExpoApplication.d.ts

@@ -1,6 +0,2 @@

declare const _default: {
[propertyName: string]: any;
addListener: (eventName: string) => void;
removeListeners: (count: number) => void;
};
declare const _default: import("@unimodules/core").ProxyNativeModule;
export default _default;
{
"name": "expo-application",
"version": "2.0.0",
"version": "2.1.0",
"description": "A universal module that gets native application information such as its ID, app name, and build version at runtime",

@@ -33,3 +33,3 @@ "main": "build/Application.js",

"devDependencies": {
"expo-module-scripts": "~1.1.1"
"expo-module-scripts": "~1.2.0"
},

@@ -39,3 +39,3 @@ "peerDependencies": {

},
"gitHead": "ec7878b9ce54f2537721218ae0fe4017e4004806"
"gitHead": "3ad68bbd9847ebc8a55272c263b17d998a92f64f"
}

@@ -33,2 +33,25 @@ import { UnavailabilityError } from '@unimodules/core';

export enum ApplicationReleaseType {
UNKNOWN = 0,
SIMULATOR = 1,
ENTERPRISE = 2,
DEVELOPMENT = 3,
AD_HOC = 4,
APP_STORE = 5,
}
export async function getIosApplicationReleaseTypeAsync(): Promise<ApplicationReleaseType> {
if (!ExpoApplication.getApplicationReleaseTypeAsync) {
throw new UnavailabilityError('expo-application', 'getApplicationReleaseTypeAsync');
}
return await ExpoApplication.getApplicationReleaseTypeAsync();
}
export async function getIosPushNotificationServiceEnvironmentAsync(): Promise<string> {
if (!ExpoApplication.getPushNotificationServiceEnvironmentAsync) {
throw new UnavailabilityError('expo-application', 'getPushNotificationServiceEnvironmentAsync');
}
return await ExpoApplication.getPushNotificationServiceEnvironmentAsync();
}
export async function getInstallationTimeAsync(): Promise<Date> {

@@ -35,0 +58,0 @@ if (!ExpoApplication.getInstallationTimeAsync) {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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