@expo/config-plugins 7.2.4 → 7.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  import { ExpoConfig } from '@expo/config-types';
2
2
  import { AndroidManifest } from './Manifest';
3
- export declare const withAllowBackup: import("..").ConfigPlugin<void>;
3
+ export declare const withAllowBackup: import("..").ConfigPlugin;
4
4
  export declare function getAllowBackup(config: Pick<ExpoConfig, 'android'>): boolean;
5
5
  export declare function setAllowBackup(config: Pick<ExpoConfig, 'android'>, androidManifest: AndroidManifest): AndroidManifest;
6
6
  export declare function getAllowBackupFromManifest(androidManifest: AndroidManifest): boolean | null;
@@ -1,5 +1,5 @@
1
1
  import { ExpoConfig } from '@expo/config-types';
2
2
  import { AndroidManifest } from './Manifest';
3
- export declare const withGoogleMapsApiKey: import("..").ConfigPlugin<void>;
3
+ export declare const withGoogleMapsApiKey: import("..").ConfigPlugin;
4
4
  export declare function getGoogleMapsApiKey(config: Pick<ExpoConfig, 'android'>): string | null;
5
5
  export declare function setGoogleMapsApiKey(config: Pick<ExpoConfig, 'android'>, androidManifest: AndroidManifest): AndroidManifest;
@@ -1,7 +1,7 @@
1
1
  import { Android, ExpoConfig } from '@expo/config-types';
2
2
  import { AndroidManifest, ManifestIntentFilter } from './Manifest';
3
3
  type AndroidIntentFilters = NonNullable<Android['intentFilters']>;
4
- export declare const withAndroidIntentFilters: import("..").ConfigPlugin<void>;
4
+ export declare const withAndroidIntentFilters: import("..").ConfigPlugin;
5
5
  export declare function getIntentFilters(config: Pick<ExpoConfig, 'android'>): AndroidIntentFilters;
6
6
  export declare function setAndroidIntentFilters(config: Pick<ExpoConfig, 'android'>, androidManifest: AndroidManifest): AndroidManifest;
7
7
  export default function renderIntentFilters(intentFilters: AndroidIntentFilters): ManifestIntentFilter[];
@@ -8,7 +8,7 @@ import { ConfigPlugin } from '../Plugin.types';
8
8
  * @param name
9
9
  */
10
10
  export declare function sanitizeNameForGradle(name: string): string;
11
- export declare const withName: ConfigPlugin<void>;
11
+ export declare const withName: ConfigPlugin;
12
12
  export declare const withNameSettingsGradle: ConfigPlugin;
13
13
  export declare function getName(config: Pick<ExpoConfig, 'name'>): string | null;
14
14
  /**
@@ -1,6 +1,6 @@
1
1
  import { ExpoConfig } from '@expo/config-types';
2
2
  import { AndroidManifest } from './Manifest';
3
3
  export declare const SCREEN_ORIENTATION_ATTRIBUTE = "android:screenOrientation";
4
- export declare const withOrientation: import("..").ConfigPlugin<void>;
4
+ export declare const withOrientation: import("..").ConfigPlugin;
5
5
  export declare function getOrientation(config: Pick<ExpoConfig, 'orientation'>): "default" | "portrait" | "landscape" | null;
6
6
  export declare function setAndroidOrientation(config: Pick<ExpoConfig, 'orientation'>, androidManifest: AndroidManifest): AndroidManifest;
@@ -8,7 +8,7 @@ export type IntentFilterProps = {
8
8
  host?: string;
9
9
  }[];
10
10
  };
11
- export declare const withScheme: import("..").ConfigPlugin<void>;
11
+ export declare const withScheme: import("..").ConfigPlugin;
12
12
  export declare function getScheme(config: {
13
13
  scheme?: string | string[];
14
14
  }): string[];
@@ -1,6 +1,6 @@
1
1
  import { ExpoConfig } from '@expo/config-types';
2
2
  import { JSONObject } from '@expo/json-file';
3
- export declare const withAssociatedDomains: import("..").ConfigPlugin<void>;
3
+ export declare const withAssociatedDomains: import("..").ConfigPlugin;
4
4
  export declare function setAssociatedDomains(config: ExpoConfig, { 'com.apple.developer.associated-domains': _, ...entitlementsPlist }: JSONObject): JSONObject;
5
5
  export declare function getEntitlementsPath(projectRoot: string, { targetName, buildConfiguration, }?: {
6
6
  targetName?: string;
@@ -2,8 +2,8 @@ import { ExpoConfig } from '@expo/config-types';
2
2
  import { XcodeProject } from 'xcode';
3
3
  import { ConfigPlugin } from '../Plugin.types';
4
4
  import { InfoPlist } from './IosConfig.types';
5
- export declare const withDisplayName: ConfigPlugin<void>;
6
- export declare const withName: ConfigPlugin<void>;
5
+ export declare const withDisplayName: ConfigPlugin;
6
+ export declare const withName: ConfigPlugin;
7
7
  /** Set the PRODUCT_NAME variable in the xcproj file based on the app.json name property. */
8
8
  export declare const withProductName: ConfigPlugin;
9
9
  export declare function getName(config: Pick<ExpoConfig, 'name'>): string | null;
@@ -1,6 +1,6 @@
1
1
  import { ExpoConfig } from '@expo/config-types';
2
2
  import { InfoPlist, InterfaceOrientation } from './IosConfig.types';
3
- export declare const withOrientation: import("..").ConfigPlugin<void>;
3
+ export declare const withOrientation: import("..").ConfigPlugin;
4
4
  export declare function getOrientation(config: Pick<ExpoConfig, 'orientation'>): "default" | "portrait" | "landscape" | null;
5
5
  export declare const PORTRAIT_ORIENTATIONS: InterfaceOrientation[];
6
6
  export declare const LANDSCAPE_ORIENTATIONS: InterfaceOrientation[];
@@ -1,5 +1,5 @@
1
1
  import { ExpoConfig } from '@expo/config-types';
2
2
  import { InfoPlist } from './IosConfig.types';
3
- export declare const withRequiresFullScreen: import("..").ConfigPlugin<void>;
3
+ export declare const withRequiresFullScreen: import("..").ConfigPlugin;
4
4
  export declare function getRequiresFullScreen(config: Pick<ExpoConfig, 'ios' | 'sdkVersion'>): boolean;
5
5
  export declare function setRequiresFullScreen(config: Pick<ExpoConfig, 'ios'>, infoPlist: InfoPlist): InfoPlist;
@@ -1,6 +1,6 @@
1
1
  import { ExpoConfig } from '@expo/config-types';
2
2
  import { InfoPlist } from './IosConfig.types';
3
- export declare const withScheme: import("..").ConfigPlugin<void>;
3
+ export declare const withScheme: import("..").ConfigPlugin;
4
4
  export declare function getScheme(config: {
5
5
  scheme?: string | string[];
6
6
  }): string[];
@@ -1,5 +1,5 @@
1
1
  import { ExpoConfig } from '@expo/config-types';
2
2
  import { InfoPlist } from './IosConfig.types';
3
- export declare const withUsesNonExemptEncryption: import("..").ConfigPlugin<void>;
3
+ export declare const withUsesNonExemptEncryption: import("..").ConfigPlugin;
4
4
  export declare function getUsesNonExemptEncryption(config: Pick<ExpoConfig, 'ios'>): boolean | null;
5
5
  export declare function setUsesNonExemptEncryption(config: Pick<ExpoConfig, 'ios'>, { ITSAppUsesNonExemptEncryption, ...infoPlist }: InfoPlist): InfoPlist;
@@ -1,7 +1,7 @@
1
1
  import { ExpoConfig } from '@expo/config-types';
2
2
  import { InfoPlist } from './IosConfig.types';
3
- export declare const withVersion: import("..").ConfigPlugin<void>;
4
- export declare const withBuildNumber: import("..").ConfigPlugin<void>;
3
+ export declare const withVersion: import("..").ConfigPlugin;
4
+ export declare const withBuildNumber: import("..").ConfigPlugin;
5
5
  export declare function getVersion(config: Pick<ExpoConfig, 'version'>): string;
6
6
  export declare function setVersion(config: Pick<ExpoConfig, 'version'>, infoPlist: InfoPlist): InfoPlist;
7
7
  export declare function getBuildNumber(config: Pick<ExpoConfig, 'ios'>): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@expo/config-plugins",
3
- "version": "7.2.4",
3
+ "version": "7.2.5",
4
4
  "description": "A library for Expo config plugins",
5
5
  "main": "build/index.js",
6
6
  "scripts": {
@@ -56,5 +56,5 @@
56
56
  "publishConfig": {
57
57
  "access": "public"
58
58
  },
59
- "gitHead": "554e8b88a1a5d7f54c67cdb66e928a0adfb8731d"
59
+ "gitHead": "cf90d5c30c2a08a6493ebfa8aa3791aa70666759"
60
60
  }