Skip to content

Commit 8635ea8

Browse files
authored
chore: More changes
1 parent 2ff51d9 commit 8635ea8

File tree

1 file changed

+22
-18
lines changed

1 file changed

+22
-18
lines changed

doc/using-uno-resizetizer.md

+22-18
Original file line numberDiff line numberDiff line change
@@ -140,13 +140,13 @@ Next, some adjustments are needed on `Android`, `Windows`, `WebAssembly`, `mac-c
140140

141141
* 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:
142142

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+
```
150150

151151
> [!TIP]
152152
> 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
176176
> [!NOTE]
177177
> You will only need to configure this platform if you want to deploy it as a PWA.
178178

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:
180180

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+
```
189189

190190
> [!NOTE]
191191
> 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`.
192192
>
193193
> [!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.
195195

196-
# [**Apple**](#tab/Apple)
196+
# [**iOS**](#tab/iOS)
197197

198198
* 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`.
199199

@@ -294,6 +294,10 @@ Open the [`Package.appxmanifest` file](https://github.com/unoplatform/uno.resize
294294
</Applications>
295295
```
296296

297+
# [**Web Assembly (Wasm)**](#tab/Wasm)
298+
299+
No additional adjustments are needed on Wasm.
300+
297301
# [**iOS**](#tab/iOS)
298302

299303
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

Comments
 (0)