question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Compatibility with Xamarin 5

See original GitHub issue

Question

Is it possible to use the plugin with Xamarin 5? I tried, but without success.

What I have tried

I tried to integrate in a new project.

  • Opened Visual Studio 2019 and selected blank Xamarin.Forms app;
  • Added version 3.7.1 via nuget to common project, android and ios;
  • Tried to add the line to Android, but gave me the error:
    Plugin.InputKit.Platforms.Droid.Config.Init(this,savedInstanceState);

Error CS0234 The type or namespace name ‘Platforms’ does not exist in the namespace ‘Plugin.InputKit’ (are you missing an assembly reference?) App1.Android C:\vsprojects\App1\App1\App1\App1.Android\MainActivity.cs 22 Active

  • Saw that the sample doesn’t have that line, so I tried without it. Also, I added:
            CrossCurrentActivity.Current.Init(this, savedInstanceState);
  • Result: The projects compile, however, the radiobuttons don’t render. Only the checkboxes render correctly.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
gil-rodriguescommented, Apr 23, 2021

@enisn Thank you, you saved my life. I already tested in Android with success.

0reactions
enisncommented, Apr 23, 2021

@gil-rodrigues, The issue is resolved at v3.7.2,

There was missing Android 11 compiler directives (https://github.com/enisn/Xamarin.Forms.InputKit/commit/77c084003e3cc956ea0cbc5f58cd7fcfc6d60415)

Feel free to reopen this issue if problem continues

Read more comments on GitHub >

github_iconTop Results From Across the Web

Xamarin.Forms supported platforms
Xamarin.Forms apps for iOS, Android, and the Universal Windows Platform (UWP) can be built in Visual Studio. However, a networked Mac is ...
Read more >
Xamarin.Forms 5.0.0.2612 (5.0.0) Release Notes
Forms 5 brings to stable release several new controls and features including App Themes (Dark Mode), Brushes, CarouselView, RadioButton, Shapes ...
Read more >
Compatibility for Xamarin
Mono 5.4 and newer; Xamarin.Android 8.0 and newer; Xamarin.Mac 3.8 and newer; Xamarin.iOS 10.14 and newer; Universal Windows Platform 10.0.16299 and newer.
Read more >
Xamarin Versus .NET MAUI | Syncfusion Blogs
The main difference in platform support between Xamarin and .NET MAUI is in their support for Windows. Xamarin supports UWP, whereas .
Read more >
New Xamarin.Forms 5 Drops Visual Studio 2017 Support
Microsoft announced Xamarin.Forms 5.0, a major release chock full of new functionality and features, but no official support for Visual ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found