How to use ShinyStartup in Xamarin.Forms?

Viewed 364

I'm trying to setup a Bluetooth device manager. I came across this tutorial(https://www.xamboy.com/2020/04/20/bluetooth-printing-in-xamarin-forms-using-shiny/) that uses a the Shiny Nuget. I Keep getting the following error: 'function1' does not implement inherited abstract member 'function2'. My code is shown bellow.

using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Extensions.DependencyInjection;
using Shiny;

namespace BTShin
{
    public class ShinyAppStartup : ShinyStartup
    { 
        public override void ConfigureServices(IServiceCollection services)
        {
            services.UseBleCentral();
            services.UseBlePeripherals();
        }
    }
}
1 Answers
Related