VIA.Umi
1.4.2
See the version list below for details.
Requires NuGet 2.8.1 or higher.
dotnet add package VIA.Umi --version 1.4.2
NuGet\Install-Package VIA.Umi -Version 1.4.2
<PackageReference Include="VIA.Umi" Version="1.4.2" />
paket add VIA.Umi --version 1.4.2
#r "nuget: VIA.Umi, 1.4.2"
// Install VIA.Umi as a Cake Addin #addin nuget:?package=VIA.Umi&version=1.4.2 // Install VIA.Umi as a Cake Tool #tool nuget:?package=VIA.Umi&version=1.4.2
Introduction
Umi wrapper for Xamarin.Forms. Get started immediately or check out the demo first.
Related projects
- Umi - Web version and demo projects
- Umi Android - Android wrapper
- Umi iOS - Swift wrapper
Requirements
Installation
- Install VIA.Umi
- Install VIA.Umi.iOS
- Install VIA.Umi.Android
Initialize iOS
Go to appDelegate.cs
in your iOS project and initialize the HybridWebViewRenderer with HybridWebViewRenderer.Initialize();
.
public override bool FinishedLaunching(UIApplication app, NSDictionary options)
{
// Init.
HybridWebViewRenderer.Initialize();
global::Xamarin.Forms.Forms.Init();
LoadApplication(new App());
return base.FinishedLaunching(app, options);
}
Initialize Android
Go to MainActivity.cs
in your Android project and initialize the HybridWebViewRenderer with HybridWebViewRenderer.Initialize();
.
protected override void OnCreate(Bundle savedInstanceState)
{
TabLayoutResource = Resource.Layout.Tabbar;
ToolbarResource = Resource.Layout.Toolbar;
base.OnCreate(savedInstanceState);
HybridWebViewRenderer.Initialize();
Xamarin.Essentials.Platform.Init(this, savedInstanceState);
global::Xamarin.Forms.Forms.Init(this, savedInstanceState);
LoadApplication(new App());
}
Basic usage
Contribute
Build project with CLI
Navigate to this repository.
cd ${repositoryPath}
<br/>
Run Nuget.sh
sh Nuget.sh
Option 1: Use DLL's
Are build and ready to be referenced.
- Forms:
${repositoryPath}/bin/Release/netstandard2.0/Umi.dll
- Forms.iOS:
${repositoryPath}/bin/Release/Umi.iOS.dll
- Forms.Android:
${repositoryPath}/bin/Release/VIA.Umi.Android.dll
Option 2: Use Local NuGet
<b>Note:</b> Local NuGets are cached so when using them run
nuget locals all -clear
nuget restore ${projectName}.sln
first. Else chances are you are not using the latest NuGet.
License
FAQ
https://medium.com/@lukaszlawicki/lets-make-a-net-standard-package-logbook-2-78cfe457e236
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
- Xamarin.Forms (>= 5.0.0.2012)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on VIA.Umi:
Package | Downloads |
---|---|
VIA.Umi.Android
v1.5.0 release. |
|
VIA.Umi.iOS
v1.5.0 release. |
GitHub repositories
This package is not used by any popular GitHub repositories.
[1.4.2.0]
- Serializer Fix