Supporting Magnetic Stripe Reader In Xamarin Application for iOS, Android and Windows
I am trying to implement the support of Magnetic Stripe Reader in the Xamarin-based application. I have already found the references for the support on the UWP part not sure about how things get implemented for the Android and iOS platforms.
Is there a Xamarin library that can help me with the implementation, Please let me know if there is any documentation related to that.
I cannot find these plugins in Xamarin.Forms, but you can use the native platform libraries. Then you can bind these native libraries, after that, you can use these libraries in Xamarin.Forms.
For android, you can use binding a .JAR.
For iOS, you can use binding iOS Libraries
Sign in to comment
Can we use the MSR(Magnetic Stripe Reader) as a Keyed input device for all the platforms?
I have found that for UWP we can use Window.Current.CoreWindow.KeyDown event and for Android we can override the OnKeyDown method in the MainActivity.cs class and capture the scanning data.
I have not found any Method or Event for Xamarin.ios that we can override or subscribe to in the AppDelegate.cs class. Can you please confirm whether there is any method or event available for this purpose?