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

@expo/config-plugins

Package Overview
Dependencies
Maintainers
24
Versions
167
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@expo/config-plugins - npm Package Compare versions

Comparing version 4.0.2 to 4.0.3

build/android/codeMod.d.ts

5

build/android/index.d.ts
import * as AllowBackup from './AllowBackup';
import * as Branch from './Branch';
import * as Colors from './Colors';
import * as EasBuild from './EasBuild';
import * as Facebook from './Facebook';
import * as GoogleMapsApiKey from './GoogleMapsApiKey';

@@ -29,2 +27,3 @@ import * as GoogleServices from './GoogleServices';

import * as WindowSoftInputMode from './WindowSoftInputMode';
export { AllowBackup, EasBuild, Manifest, Branch, Colors, Facebook, GoogleMapsApiKey, GoogleServices, IntentFilters, Name, NavigationBar, Orientation, Package, Paths, Permissions, PrimaryColor, Properties, Resources, RootViewBackgroundColor, Scheme, StatusBar, Strings, Styles, Updates, UserInterfaceStyle, Version, JsEngine, WindowSoftInputMode, };
export { Manifest, Colors, Paths, Permissions, Properties, Resources, Scheme, Strings, Styles };
export { AllowBackup, EasBuild, GoogleMapsApiKey, GoogleServices, IntentFilters, Name, NavigationBar, Orientation, Package, PrimaryColor, RootViewBackgroundColor, StatusBar, Updates, UserInterfaceStyle, Version, JsEngine, WindowSoftInputMode, };

36

build/android/index.js

@@ -6,3 +6,3 @@ "use strict";

});
exports.WindowSoftInputMode = exports.Version = exports.UserInterfaceStyle = exports.Updates = exports.Styles = exports.Strings = exports.StatusBar = exports.Scheme = exports.RootViewBackgroundColor = exports.Resources = exports.Properties = exports.PrimaryColor = exports.Permissions = exports.Paths = exports.Package = exports.Orientation = exports.NavigationBar = exports.Name = exports.Manifest = exports.JsEngine = exports.IntentFilters = exports.GoogleServices = exports.GoogleMapsApiKey = exports.Facebook = exports.EasBuild = exports.Colors = exports.Branch = exports.AllowBackup = void 0;
exports.WindowSoftInputMode = exports.Version = exports.UserInterfaceStyle = exports.Updates = exports.Styles = exports.Strings = exports.StatusBar = exports.Scheme = exports.RootViewBackgroundColor = exports.Resources = exports.Properties = exports.PrimaryColor = exports.Permissions = exports.Paths = exports.Package = exports.Orientation = exports.NavigationBar = exports.Name = exports.Manifest = exports.JsEngine = exports.IntentFilters = exports.GoogleServices = exports.GoogleMapsApiKey = exports.EasBuild = exports.Colors = exports.AllowBackup = void 0;

@@ -26,19 +26,2 @@ function AllowBackup() {

function Branch() {
const data = _interopRequireWildcard(require("./Branch"));
Branch = function () {
return data;
};
return data;
}
Object.defineProperty(exports, "Branch", {
enumerable: true,
get: function () {
return Branch();
}
});
function Colors() {

@@ -78,19 +61,2 @@ const data = _interopRequireWildcard(require("./Colors"));

function Facebook() {
const data = _interopRequireWildcard(require("./Facebook"));
Facebook = function () {
return data;
};
return data;
}
Object.defineProperty(exports, "Facebook", {
enumerable: true,
get: function () {
return Facebook();
}
});
function GoogleMapsApiKey() {

@@ -97,0 +63,0 @@ const data = _interopRequireWildcard(require("./GoogleMapsApiKey"));

@@ -1,3 +0,3 @@

import { ExpoConfig } from '@expo/config-types';
import { ConfigPlugin } from '../Plugin.types';
import { ExpoConfigUpdates } from '../utils/Updates';
import { AndroidManifest } from './Manifest';

@@ -21,9 +21,9 @@ export declare enum Config {

*/
export declare function getRuntimeVersionNullable(config: Pick<ExpoConfig, 'runtimeVersion'>): string | null;
export declare function getSDKVersion(config: Pick<ExpoConfig, 'sdkVersion'>): string | null;
export declare function getUpdatesEnabled(config: Pick<ExpoConfig, 'updates'>): boolean;
export declare function getUpdatesTimeout(config: Pick<ExpoConfig, 'updates'>): number;
export declare function getUpdatesCheckOnLaunch(config: Pick<ExpoConfig, 'updates'>): 'NEVER' | 'ALWAYS';
export declare function setUpdatesConfig(config: ExpoConfig, androidManifest: AndroidManifest, username: string | null): AndroidManifest;
export declare function setVersionsConfig(config: Pick<ExpoConfig, 'sdkVersion' | 'runtimeVersion'>, androidManifest: AndroidManifest): AndroidManifest;
export declare function getRuntimeVersionNullable(config: Pick<ExpoConfigUpdates, 'runtimeVersion'>): string | null;
export declare function getSDKVersion(config: Pick<ExpoConfigUpdates, 'sdkVersion'>): string | null;
export declare function getUpdatesEnabled(config: Pick<ExpoConfigUpdates, 'updates'>): boolean;
export declare function getUpdatesTimeout(config: Pick<ExpoConfigUpdates, 'updates'>): number;
export declare function getUpdatesCheckOnLaunch(config: Pick<ExpoConfigUpdates, 'updates'>): 'NEVER' | 'ALWAYS';
export declare function setUpdatesConfig(config: ExpoConfigUpdates, androidManifest: AndroidManifest, username: string | null): AndroidManifest;
export declare function setVersionsConfig(config: Pick<ExpoConfigUpdates, 'sdkVersion' | 'runtimeVersion'>, androidManifest: AndroidManifest): AndroidManifest;
export declare function ensureBuildGradleContainsConfigurationScript(projectRoot: string, buildGradleContents: string): string;

@@ -33,3 +33,3 @@ export declare function formatApplyLineForBuildGradle(projectRoot: string): string;

export declare function isMainApplicationMetaDataSet(androidManifest: AndroidManifest): boolean;
export declare function isMainApplicationMetaDataSynced(config: ExpoConfig, androidManifest: AndroidManifest, username: string | null): boolean;
export declare function areVersionsSynced(config: Pick<ExpoConfig, 'runtimeVersion' | 'sdkVersion'>, androidManifest: AndroidManifest): boolean;
export declare function isMainApplicationMetaDataSynced(config: ExpoConfigUpdates, androidManifest: AndroidManifest, username: string | null): boolean;
export declare function areVersionsSynced(config: Pick<ExpoConfigUpdates, 'runtimeVersion' | 'sdkVersion'>, androidManifest: AndroidManifest): boolean;

@@ -11,2 +11,1 @@ import { ExpoConfig } from '@expo/config-types';

export declare function addOnConfigurationChangedMainActivity(config: Pick<ExpoConfig, 'android' | 'userInterfaceStyle'>, mainActivity: string): string;
export declare function addJavaImports(javaSource: string, javaImports: string[], isJava: boolean): string;

@@ -9,3 +9,2 @@ "use strict";

exports.addOnConfigurationChangedMainActivity = addOnConfigurationChangedMainActivity;
exports.addJavaImports = addJavaImports;
exports.withUiModeMainActivity = exports.withUiModeManifest = exports.ON_CONFIGURATION_CHANGED = exports.CONFIG_CHANGES_ATTRIBUTE = void 0;

@@ -43,2 +42,12 @@

function _codeMod() {
const data = require("./codeMod");
_codeMod = function () {
return data;
};
return data;
}
const CONFIG_CHANGES_ATTRIBUTE = 'android:configChanges';

@@ -108,21 +117,6 @@ exports.CONFIG_CHANGES_ATTRIBUTE = CONFIG_CHANGES_ATTRIBUTE;

const MainActivityWithImports = addJavaImports(mainActivity, ['android.content.Intent', 'android.content.res.Configuration'], true);
const MainActivityWithImports = (0, _codeMod().addImports)(mainActivity, ['android.content.Intent', 'android.content.res.Configuration'], true);
const pattern = new RegExp(`public class MainActivity extends ReactActivity {`);
return MainActivityWithImports.replace(pattern, ON_CONFIGURATION_CHANGED);
} // TODO: we should have a generic utility for doing this
function addJavaImports(javaSource, javaImports, isJava) {
const lines = javaSource.split('\n');
const lineIndexWithPackageDeclaration = lines.findIndex(line => line.match(/^package .*;?$/));
for (const javaImport of javaImports) {
if (!javaSource.includes(javaImport)) {
const importStatement = `import ${javaImport}${isJava ? ';' : ''}`;
lines.splice(lineIndexWithPackageDeclaration + 1, 0, importStatement);
}
}
return lines.join('\n');
}
//# sourceMappingURL=UserInterfaceStyle.js.map

@@ -24,3 +24,3 @@ /**

export { withAppDelegate, withInfoPlist, withEntitlementsPlist, withExpoPlist, withXcodeProject, } from './plugins/ios-plugins';
export { withAndroidManifest, withStringsXml, withAndroidColors, withAndroidColorsNight, withAndroidStyles, withMainActivity, withProjectBuildGradle, withAppBuildGradle, withSettingsGradle, withGradleProperties, } from './plugins/android-plugins';
export { withAndroidManifest, withStringsXml, withAndroidColors, withAndroidColorsNight, withAndroidStyles, withMainActivity, withMainApplication, withProjectBuildGradle, withAppBuildGradle, withSettingsGradle, withGradleProperties, } from './plugins/android-plugins';
export { withStaticPlugin } from './plugins/withStaticPlugin';

@@ -27,0 +27,0 @@ export { compileModsAsync, withDefaultBaseMods, evalModsAsync } from './plugins/mod-compiler';

@@ -31,2 +31,3 @@ "use strict";

withMainActivity: true,
withMainApplication: true,
withProjectBuildGradle: true,

@@ -144,2 +145,8 @@ withAppBuildGradle: true,

});
Object.defineProperty(exports, "withMainApplication", {
enumerable: true,
get: function () {
return _androidPlugins().withMainApplication;
}
});
Object.defineProperty(exports, "withProjectBuildGradle", {

@@ -444,2 +451,3 @@ enumerable: true,

*/
// TODO: Remove

@@ -446,0 +454,0 @@ /**

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

import * as Branch from './Branch';
import * as BuildScheme from './BuildScheme';

@@ -6,3 +5,2 @@ import * as BundleIdentifier from './BundleIdentifier';

import * as Entitlements from './Entitlements';
import * as Facebook from './Facebook';
import * as Google from './Google';

@@ -29,2 +27,3 @@ import { ExpoPlist, InfoPlist } from './IosConfig.types';

import * as XcodeUtils from './utils/Xcodeproj';
export { Branch, BuildScheme, BundleIdentifier, DeviceFamily, Entitlements, Facebook, Google, Maps, Locales, InfoPlist, ExpoPlist, JsEngine, Name, Orientation, Paths, ProvisioningProfile, Permissions, RequiresFullScreen, RootViewBackgroundColor, Scheme, Swift, Target, Updates, UserInterfaceStyle, UsesNonExemptEncryption, Version, XcodeProjectFile, XcodeUtils, };
export { InfoPlist, ExpoPlist, Entitlements, Paths, Permissions, XcodeUtils };
export { BundleIdentifier, BuildScheme, DeviceFamily, Google, Maps, Locales, JsEngine, Name, Orientation, ProvisioningProfile, RequiresFullScreen, RootViewBackgroundColor, Scheme, Swift, Target, Updates, UserInterfaceStyle, UsesNonExemptEncryption, Version, XcodeProjectFile, };

@@ -18,21 +18,4 @@ "use strict";

});
exports.XcodeUtils = exports.XcodeProjectFile = exports.Version = exports.UsesNonExemptEncryption = exports.UserInterfaceStyle = exports.Updates = exports.Target = exports.Swift = exports.Scheme = exports.RootViewBackgroundColor = exports.RequiresFullScreen = exports.ProvisioningProfile = exports.Permissions = exports.Paths = exports.Orientation = exports.Name = exports.Maps = exports.Locales = exports.JsEngine = exports.Google = exports.Facebook = exports.Entitlements = exports.DeviceFamily = exports.BundleIdentifier = exports.BuildScheme = exports.Branch = void 0;
exports.XcodeUtils = exports.XcodeProjectFile = exports.Version = exports.UsesNonExemptEncryption = exports.UserInterfaceStyle = exports.Updates = exports.Target = exports.Swift = exports.Scheme = exports.RootViewBackgroundColor = exports.RequiresFullScreen = exports.ProvisioningProfile = exports.Permissions = exports.Paths = exports.Orientation = exports.Name = exports.Maps = exports.Locales = exports.JsEngine = exports.Google = exports.Entitlements = exports.DeviceFamily = exports.BundleIdentifier = exports.BuildScheme = void 0;
function Branch() {
const data = _interopRequireWildcard(require("./Branch"));
Branch = function () {
return data;
};
return data;
}
Object.defineProperty(exports, "Branch", {
enumerable: true,
get: function () {
return Branch();
}
});
function BuildScheme() {

@@ -106,19 +89,2 @@ const data = _interopRequireWildcard(require("./BuildScheme"));

function Facebook() {
const data = _interopRequireWildcard(require("./Facebook"));
Facebook = function () {
return data;
};
return data;
}
Object.defineProperty(exports, "Facebook", {
enumerable: true,
get: function () {
return Facebook();
}
});
function Google() {

@@ -125,0 +91,0 @@ const data = _interopRequireWildcard(require("./Google"));

@@ -78,2 +78,3 @@ "use strict";

// Match against `UMModuleRegistryAdapter` (unimodules), and React Native without unimodules (Expo Modules).
const MATCH_INIT = /(?:(self\.|_)(\w+)\s?=\s?\[\[UMModuleRegistryAdapter alloc\])|(?:RCTBridge\s?\*\s?(\w+)\s?=\s?\[\[RCTBridge alloc\])/g;

@@ -80,0 +81,0 @@ exports.MATCH_INIT = MATCH_INIT;

@@ -9,2 +9,3 @@ interface ProjectFile<L extends string = string> {

export declare function getAppDelegateFilePath(projectRoot: string): string;
export declare function getAppDelegateObjcHeaderFilePath(projectRoot: string): string;
export declare function getFileInfo(filePath: string): {

@@ -11,0 +12,0 @@ path: string;

@@ -8,2 +8,3 @@ "use strict";

exports.getAppDelegateFilePath = getAppDelegateFilePath;
exports.getAppDelegateObjcHeaderFilePath = getAppDelegateObjcHeaderFilePath;
exports.getFileInfo = getFileInfo;

@@ -129,2 +130,26 @@ exports.getAppDelegate = getAppDelegate;

function getAppDelegateObjcHeaderFilePath(projectRoot) {
const [using, ...extra] = (0, _glob().sync)('ios/*/AppDelegate.h', {
absolute: true,
cwd: projectRoot,
ignore: ignoredPaths
});
if (!using) {
throw new (_errors().UnexpectedError)(`Could not locate a valid AppDelegate.h at root: "${projectRoot}"`);
}
if (extra.length) {
warnMultipleFiles({
tag: 'app-delegate-objc-header',
fileName: 'AppDelegate.h',
projectRoot,
using,
extra
});
}
return using;
}
function getLanguage(filePath) {

@@ -131,0 +156,0 @@ const extension = path().extname(filePath);

@@ -1,4 +0,4 @@

import { ExpoConfig } from '@expo/config-types';
import xcode from 'xcode';
import { ConfigPlugin } from '../Plugin.types';
import { ExpoConfigUpdates } from '../utils/Updates';
import { ExpoPlist } from './IosConfig.types';

@@ -19,12 +19,12 @@ export declare enum Config {

*/
export declare function getRuntimeVersionNullable(config: Pick<ExpoConfig, 'runtimeVersion'>): string | null;
export declare function getSDKVersion(config: Pick<ExpoConfig, 'sdkVersion'>): string | null;
export declare function getUpdatesEnabled(config: Pick<ExpoConfig, 'updates'>): boolean;
export declare function getUpdatesTimeout(config: Pick<ExpoConfig, 'updates'>): number;
export declare function getUpdatesCheckOnLaunch(config: Pick<ExpoConfig, 'updates'>): 'NEVER' | 'ALWAYS';
export declare function getRuntimeVersionNullable(config: Pick<ExpoConfigUpdates, 'runtimeVersion'>): string | null;
export declare function getSDKVersion(config: Pick<ExpoConfigUpdates, 'sdkVersion'>): string | null;
export declare function getUpdatesEnabled(config: Pick<ExpoConfigUpdates, 'updates'>): boolean;
export declare function getUpdatesTimeout(config: Pick<ExpoConfigUpdates, 'updates'>): number;
export declare function getUpdatesCheckOnLaunch(config: Pick<ExpoConfigUpdates, 'updates'>): 'NEVER' | 'ALWAYS';
export declare const withUpdates: ConfigPlugin<{
expoUsername: string | null;
}>;
export declare function setUpdatesConfig(config: ExpoConfig, expoPlist: ExpoPlist, username: string | null): ExpoPlist;
export declare function setVersionsConfig(config: ExpoConfig, expoPlist: ExpoPlist): ExpoPlist;
export declare function setUpdatesConfig(config: ExpoConfigUpdates, expoPlist: ExpoPlist, username: string | null): ExpoPlist;
export declare function setVersionsConfig(config: ExpoConfigUpdates, expoPlist: ExpoPlist): ExpoPlist;
interface ShellScriptBuildPhase {

@@ -40,4 +40,4 @@ isa: 'PBXShellScriptBuildPhase';

export declare function isPlistConfigurationSet(expoPlist: ExpoPlist): boolean;
export declare function isPlistConfigurationSynced(config: ExpoConfig, expoPlist: ExpoPlist, username: string | null): boolean;
export declare function isPlistVersionConfigurationSynced(config: Pick<ExpoConfig, 'sdkVersion' | 'runtimeVersion'>, expoPlist: ExpoPlist): boolean;
export declare function isPlistConfigurationSynced(config: ExpoConfigUpdates, expoPlist: ExpoPlist, username: string | null): boolean;
export declare function isPlistVersionConfigurationSynced(config: Pick<ExpoConfigUpdates, 'sdkVersion' | 'runtimeVersion'>, expoPlist: ExpoPlist): boolean;
export {};

@@ -103,2 +103,6 @@ import { ExpoConfig } from '@expo/config-types';

/**
* Modify the `android/app/src/main/<package>/MainApplication.java` as a string.
*/
mainApplication?: Mod<AndroidPaths.ApplicationProjectFile>;
/**
* Modify the `android/app/build.gradle` as a string.

@@ -105,0 +109,0 @@ */

@@ -56,2 +56,9 @@ import { ExpoConfig } from '@expo/config-types';

/**
* Provides the project MainApplication for modification.
*
* @param config
* @param action
*/
export declare const withMainApplication: ConfigPlugin<Mod<Paths.ApplicationProjectFile>>;
/**
* Provides the project /build.gradle for modification.

@@ -58,0 +65,0 @@ *

@@ -8,3 +8,3 @@ "use strict";

exports.createStringsXmlPlugin = createStringsXmlPlugin;
exports.withGradleProperties = exports.withSettingsGradle = exports.withAppBuildGradle = exports.withProjectBuildGradle = exports.withMainActivity = exports.withAndroidStyles = exports.withAndroidColorsNight = exports.withAndroidColors = exports.withStringsXml = exports.withAndroidManifest = void 0;
exports.withGradleProperties = exports.withSettingsGradle = exports.withAppBuildGradle = exports.withProjectBuildGradle = exports.withMainApplication = exports.withMainActivity = exports.withAndroidStyles = exports.withAndroidColorsNight = exports.withAndroidColors = exports.withStringsXml = exports.withAndroidManifest = void 0;

@@ -156,3 +156,3 @@ function _withMod() {

/**
* Provides the project /build.gradle for modification.
* Provides the project MainApplication for modification.
*

@@ -166,2 +166,19 @@ * @param config

const withMainApplication = (config, action) => {
return (0, _withMod().withMod)(config, {
platform: 'android',
mod: 'mainApplication',
action
});
};
/**
* Provides the project /build.gradle for modification.
*
* @param config
* @param action
*/
exports.withMainApplication = withMainApplication;
const withProjectBuildGradle = (config, action) => {

@@ -168,0 +185,0 @@ return (0, _withMod().withMod)(config, {

@@ -1,7 +0,7 @@

import { ExpoConfig } from '@expo/config-types';
import { JSONObject } from '@expo/json-file';
import { XcodeProject } from 'xcode';
import { ConfigPlugin, Mod } from '../Plugin.types';
import { ExpoPlist, InfoPlist } from '../ios/IosConfig.types';
import { AppDelegateProjectFile } from '../ios/Paths';
import type { ExpoConfig } from '@expo/config-types';
import type { JSONObject } from '@expo/json-file';
import type { XcodeProject } from 'xcode';
import type { ConfigPlugin, Mod } from '../Plugin.types';
import type { ExpoPlist, InfoPlist } from '../ios/IosConfig.types';
import type { AppDelegateProjectFile } from '../ios/Paths';
declare type MutateInfoPlistAction = (expo: ExpoConfig, infoPlist: InfoPlist) => InfoPlist;

@@ -8,0 +8,0 @@ /**

@@ -18,2 +18,3 @@ import { ExportedConfig } from '../Plugin.types';

mainActivity: import("./createBaseMod").BaseModProviderMethods<Paths.ApplicationProjectFile, Partial<Pick<import("./withMod").BaseModOptions, "skipEmptyMod" | "saveToInternal">>>;
mainApplication: import("./createBaseMod").BaseModProviderMethods<Paths.ApplicationProjectFile, Partial<Pick<import("./withMod").BaseModOptions, "skipEmptyMod" | "saveToInternal">>>;
};

@@ -36,3 +37,4 @@ declare type AndroidDefaultProviders = typeof defaultProviders;

mainActivity: import("./createBaseMod").BaseModProviderMethods<Paths.ApplicationProjectFile, Partial<Pick<import("./withMod").BaseModOptions, "skipEmptyMod" | "saveToInternal">>>;
mainApplication: import("./createBaseMod").BaseModProviderMethods<Paths.ApplicationProjectFile, Partial<Pick<import("./withMod").BaseModOptions, "skipEmptyMod" | "saveToInternal">>>;
};
export {};

@@ -95,2 +95,12 @@ "use strict";

<!-- END OPTIONAL PERMISSIONS -->
<queries>
<!-- Support checking for http(s) links via the Linking API -->
<intent>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="https" />
</intent>
</queries>
<application

@@ -557,2 +567,24 @@ android:name=".MainApplication"

}),
mainApplication: (0, _createBaseMod().provider)({
getFilePath({
modRequest: {
projectRoot
}
}) {
return _android().Paths.getProjectFilePath(projectRoot, 'MainApplication');
},
async read(filePath) {
return _android().Paths.getFileInfo(filePath);
},
async write(filePath, {
modResults: {
contents
}
}) {
await writeFile(filePath, contents);
}
})

@@ -559,0 +591,0 @@ };

import { Android, ExpoConfig, IOS } from '@expo/config-types';
export declare function getUpdateUrl(config: Pick<ExpoConfig, 'owner' | 'slug' | 'updates'>, username: string | null): string | null;
export declare type ExpoConfigUpdates = Pick<ExpoConfig, 'sdkVersion' | 'owner' | 'runtimeVersion' | 'updates' | 'slug'>;
export declare function getUpdateUrl(config: Pick<ExpoConfigUpdates, 'owner' | 'slug' | 'updates'>, username: string | null): string | null;
export declare function getNativeVersion(config: Pick<ExpoConfig, 'version'> & {
android?: Pick<Android, 'versionCode' | 'runtimeVersion'>;
ios?: Pick<IOS, 'buildNumber' | 'runtimeVersion'>;
android?: Pick<Android, 'versionCode'>;
ios?: Pick<IOS, 'buildNumber'>;
}, platform: 'android' | 'ios'): string;

@@ -12,5 +13,5 @@ /**

export declare const withRuntimeVersion: (config: ExpoConfig) => ExpoConfig;
export declare function getRuntimeVersion(config: Pick<ExpoConfig, 'version' | 'sdkVersion' | 'runtimeVersion'> & {
export declare function getRuntimeVersion(config: Pick<ExpoConfig, 'version' | 'runtimeVersion' | 'sdkVersion'> & {
android?: Pick<Android, 'versionCode' | 'runtimeVersion'>;
ios?: Pick<IOS, 'buildNumber' | 'runtimeVersion'>;
}, platform: 'android' | 'ios'): string;

@@ -111,3 +111,3 @@ "use strict";

return runtimeVersion;
} else if (runtimeVersion.policy === 'nativeBuildVersion') {
} else if (runtimeVersion.policy === 'nativeVersion') {
return getNativeVersion(config, platform);

@@ -114,0 +114,0 @@ } else if (runtimeVersion.policy === 'sdkVersion') {

{
"name": "@expo/config-plugins",
"version": "4.0.2",
"version": "4.0.3",
"description": "A library for Expo config plugins",

@@ -49,3 +49,3 @@ "main": "build/index.js",

"xcode": "^3.0.1",
"xml2js": "^0.4.23"
"xml2js": "0.4.23"
},

@@ -52,0 +52,0 @@ "devDependencies": {

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

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

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

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

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