VIA.Umi.Android 1.4.2

There is a newer version of this package available.
See the version list below for details.

Requires NuGet 2.8.1 or higher.

dotnet add package VIA.Umi.Android --version 1.4.2                
NuGet\Install-Package VIA.Umi.Android -Version 1.4.2                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="VIA.Umi.Android" Version="1.4.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add VIA.Umi.Android --version 1.4.2                
#r "nuget: VIA.Umi.Android, 1.4.2"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install VIA.Umi.Android as a Cake Addin
#addin nuget:?package=VIA.Umi.Android&version=1.4.2

// Install VIA.Umi.Android as a Cake Tool
#tool nuget:?package=VIA.Umi.Android&version=1.4.2                

Introduction

Umi wrapper for Xamarin.Forms. Get started immediately or check out the demo first.

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

DLL Example on OSX

Option 2: Use Local NuGet

Local NuGet Example on OSX

<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 Compatible and additional computed target framework versions.
MonoAndroid monoandroid70 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.5.0 379 8/26/2021
1.4.2 349 7/22/2021
1.3.0 382 1/21/2021
1.2.0 362 1/14/2021
1.0.7.1 382 12/1/2020
1.0.7 417 12/1/2020
1.0.6 426 12/1/2020
1.0.5 424 12/1/2020
1.0.4 432 12/1/2020
1.0.3 408 12/1/2020
1.0.2 419 12/1/2020

[1.4.2]
       - Serializer Fix