Skip to content

Instantly share code, notes, and snippets.

@codercampos
Last active August 28, 2018 18:03
Show Gist options
  • Save codercampos/6cd717847fef999f3d583d06189aa394 to your computer and use it in GitHub Desktop.
Save codercampos/6cd717847fef999f3d583d06189aa394 to your computer and use it in GitHub Desktop.
This is an example of how to implement the OnRequestPermissionsResult on your MainActivity.cs while using the ZXing.Net.Mobile library
public override void OnRequestPermissionsResult(int requestCode, string[] permissions, Permission[] grantResults)
{
global::ZXing.Net.Mobile.Android.PermissionsHandler.OnRequestPermissionsResult(requestCode, permissions, grantResults);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment