Skip to content

Commit

Permalink
docs: Updated README.
Browse files Browse the repository at this point in the history
  • Loading branch information
HavenDV committed Dec 11, 2023
1 parent 0db93fc commit be0c714
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion Maui.Android.InAppUpdates.sln
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Maui.Android.InAppUpdates",
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "sample", "sample", "{4746EB5B-E37C-40F0-8CA6-7D03185F5370}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Maui.Android.InAppUpdates", "sample\Maui.Android.InAppUpdates.csproj", "{542C62E2-8E4A-4FA0-8052-6DCF4A9C7B1A}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Maui.Android.InAppUpdates.SampleApp", "sample\Maui.Android.InAppUpdates.SampleApp.csproj", "{542C62E2-8E4A-4FA0-8052-6DCF4A9C7B1A}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "workflows", "workflows", "{8DEF204E-ED5E-45A8-B021-47F6588890F4}"
ProjectSection(SolutionItems) = preProject
Expand Down
21 changes: 10 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,21 @@
# Maui.Android.InAppUpdates
Sample application and NuGet package that implementing Android In-App Updates
within a MAUI application with debugging capabilities.
NuGet package that implementing Android In-App Updates for MAUI with debugging capabilities.

# Usage
- Add NuGet package to your project:
```xml
<PackageReference Include="Maui.Android.InAppUpdates" Version="1.0.0" />
<PackageReference Include="Oscore.Maui.Android.InAppUpdates" Version="1.0.0" />
```
- Add the following to your `MauiProgram.cs` `CreateMauiApp` method:
```diff
builder
.UseMauiApp<App>()
+ .UseAndroidInAppUpdates()
.ConfigureFonts(fonts =>
{
fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular");
fonts.AddFont("OpenSans-Semibold.ttf", "OpenSansSemibold");
});
builder
.UseMauiApp<App>()
+ .UseAndroidInAppUpdates()
.ConfigureFonts(fonts =>
{
fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular");
fonts.AddFont("OpenSans-Semibold.ttf", "OpenSansSemibold");
});
```

# Links
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.2.2" />
<PackageReference Include="Microsoft.Maui.Controls" Version="$(MauiVersion)" />
<PackageReference Include="Microsoft.Maui.Controls.Compatibility" Version="$(MauiVersion)" />
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="8.0.0" />
Expand Down
2 changes: 1 addition & 1 deletion sample/Platforms/Tizen/tizen-manifest.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest package="maui-application-id-placeholder" version="0.0.0" api-version="7" xmlns="http:https://tizen.org/ns/packages">
<profile name="common" />
<ui-application appid="maui-application-id-placeholder" exec="Maui.Android.InAppUpdates.dll" multiple="false" nodisplay="false" taskmanage="true" type="dotnet" launch_mode="single">
<ui-application appid="maui-application-id-placeholder" exec="Maui.Android.InAppUpdates.SampleApp.dll" multiple="false" nodisplay="false" taskmanage="true" type="dotnet" launch_mode="single">
<label>maui-application-title-placeholder</label>
<icon>maui-appicon-placeholder</icon>
<metadata key="http:https://tizen.org/metadata/prefer_dotnet_aot" value="true" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

<PropertyGroup Label="NuGet">
<PackageId>Oscore.$(AssemblyName)</PackageId>
<Description>Sample application and NuGet package that implementing Android In-App Updates within a MAUI application with debugging capabilities</Description>
<Description>NuGet package that implementing Android In-App Updates for MAUI with debugging capabilities.</Description>
<PackageTags>maui;android;in-app-updates;updates;in-app;net8;dotnet;csharp</PackageTags>
</PropertyGroup>

Expand Down

0 comments on commit be0c714

Please sign in to comment.