Compatibility with Xamarin 5
See original GitHub issueQuestion
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:
- Created 2 years ago
- Comments:6 (4 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@enisn Thank you, you saved my life. I already tested in Android with success.
@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