expo-app-icon 1.1.0 → 1.2.0

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.
package/README.md CHANGED
@@ -31,15 +31,14 @@ Add the plugin to your `app.json` config and declare your icons. Each icon is ju
31
31
  }
32
32
  ```
33
33
 
34
- The same image is used for both platforms. To use a different image per platform (or mark an iOS icon as prerendered), pass an object instead:
34
+ The same image is used for both platforms. To use a different image per platform, pass an object instead:
35
35
 
36
36
  ```json
37
37
  {
38
38
  "red": "./assets/icons/red.png",
39
39
  "blue": {
40
40
  "ios": "./assets/icons/blue-ios.png",
41
- "android": "./assets/icons/blue-android.png",
42
- "prerendered": true
41
+ "android": "./assets/icons/blue-android.png"
43
42
  }
44
43
  }
45
44
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-app-icon",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "description": "Programmatically change the app icon at runtime in Expo, with Android adaptive-icon support.",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -74,7 +74,6 @@ const withAppleAlternateIcons = (config, props) => {
74
74
  return;
75
75
  const entry = {
76
76
  CFBundleIconFiles: [(0, icons_1.appleIconBaseName)(iconKey, variant)],
77
- UIPrerenderedIcon: !!icon.prerendered,
78
77
  };
79
78
  if (variant.target) {
80
79
  (iconsByTarget[variant.target] ??= {})[iconKey] = entry;
@@ -10,10 +10,6 @@ export type IconConfig = {
10
10
  * Path to the Android source image.
11
11
  */
12
12
  android?: string;
13
- /**
14
- * Whether iOS should treat the icon as already rendered (no gloss).
15
- */
16
- prerendered?: boolean;
17
13
  };
18
14
  /**
19
15
  * Map of icon key → icon config, as used everywhere internally (always the