You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: doc/using-uno-resizetizer.md
+22-18
Original file line number
Diff line number
Diff line change
@@ -140,13 +140,13 @@ Next, some adjustments are needed on `Android`, `Windows`, `WebAssembly`, `mac-c
140
140
141
141
* Open the [`Main.Android.cs` file](https://github.com/unoplatform/uno.resizetizer/blob/main/samples/NewTemplate/Resizetizer.Extensions.Sample.Mobile/Android/Main.Android.cs) (or the file that has the `Android.App.ApplicationAttribute`), and change the `Icon` property, in that attribute, to be the name of the file used in the `Include` property of `UnoIcon`, in our case will be:
142
142
143
-
```csharp
144
-
[global::Android.App.ApplicationAttribute(
145
-
Label="@string/ApplicationName",
146
-
Icon="@mipmap/iconapp",
147
-
//...
148
-
)]
149
-
```
143
+
```csharp
144
+
[global::Android.App.ApplicationAttribute(
145
+
Label="@string/ApplicationName",
146
+
Icon="@mipmap/iconapp",
147
+
//...
148
+
)]
149
+
```
150
150
151
151
> [!TIP]
152
152
> You can remove the old assets related to the app icon from the `Android` project.
@@ -176,24 +176,24 @@ Next, some adjustments are needed on `Android`, `Windows`, `WebAssembly`, `mac-c
176
176
> [!NOTE]
177
177
> You will only need to configure this platform if you want to deploy it as a PWA.
178
178
179
-
Open the [`manifest.webmanifest` file](https://github.com/unoplatform/uno.resizetizer/blob/main/samples/NewTemplate/Resizetizer.Extensions.Sample.Wasm/manifest.json) and look for the `icons` tag and remove all the values inside it. You should be seeing an empty array like this:
179
+
* Open the [`manifest.webmanifest` file](https://github.com/unoplatform/uno.resizetizer/blob/main/samples/NewTemplate/Resizetizer.Extensions.Sample.Wasm/manifest.json) and look for the `icons` tag and remove all the values inside it. You should be seeing an empty array like this:
180
180
181
-
```json
182
-
{
183
-
"background_color": "#ffffff",
184
-
"description": "UnoResApp1",
185
-
"display": "standalone",
186
-
"icons": [ ],
187
-
}
188
-
```
181
+
```json
182
+
{
183
+
"background_color": "#ffffff",
184
+
"description": "UnoResApp1",
185
+
"display": "standalone",
186
+
"icons": [ ],
187
+
}
188
+
```
189
189
190
190
> [!NOTE]
191
191
> In some projects, the file is named `manifest.json` instead of `manifest.webmanifest`. If so, you can either adjust your project to use `manifest.webmanifest` or keep it as `manifest.json`.
192
192
>
193
193
> [!NOTE]
194
-
> Uno.Resizetizer will support comments on your json file, but they will ignored on the final generated file.
194
+
> Uno.Resizetizer will support comments on your json file, but they will be ignored on the final generated file.
195
195
196
-
# [**Apple**](#tab/Apple)
196
+
# [**iOS**](#tab/iOS)
197
197
198
198
* For `mac-catalyst` and `iOS`, open the [`info.plist` file](https://github.com/unoplatform/uno.resizetizer/blob/main/samples/NewTemplate/Resizetizer.Extensions.Sample.Mobile/iOS/Info.plist), find the `XSAppIconAsset` key, and change its value to `Assets.xcassets/iconapp.appiconset`.
199
199
@@ -294,6 +294,10 @@ Open the [`Package.appxmanifest` file](https://github.com/unoplatform/uno.resize
294
294
</Applications>
295
295
```
296
296
297
+
# [**Web Assembly (Wasm)**](#tab/Wasm)
298
+
299
+
No additional adjustments are needed on Wasm.
300
+
297
301
# [**iOS**](#tab/iOS)
298
302
299
303
Open the [`info.plist` file](https://github.com/unoplatform/uno.resizetizer/blob/main/samples/NewTemplate/Resizetizer.Extensions.Sample.Mobile/iOS/Info.plist) and look for the `UILaunchStoryboardName` key, delete it and its value.
0 commit comments