Forum Xamarin.Forms
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

BlinkID Implementation using Xamarin.Forms in an iOS Project.

toyinstoyins USMember ✭✭✭

I tried implementing the BlinkID using Xamarin.Forms. However when I run the a project from iOS, it generates an error.
I did set the Linker behavior to "Link All".
When I comment out the initialization code for BlinkID in FinishedLaunching it compiles.
Code below

public override bool FinishedLaunching(UIApplication app, NSDictionary options)
    {

        //Xamarin.Forms.DependencyService.Register<Microblink.Forms.iOS.MicroblinkScannerFactoryImplementation>();

        global::Xamarin.Forms.Forms.Init();


        LoadApplication(new App());

        return base.FinishedLaunching(app, options);
    }

It works well in Android but not in iOS.

The error message I get talks about MTouch, when I uncomment this line Xamarin.Forms.DependencyService.Register<Microblink.Forms.iOS.MicroblinkScannerFactoryImplementation>();
Any Ideas anyone?

Answers

Sign In or Register to comment.