{"action":"created","issue":{"url":"https://api.github.com/repos/smstuebe/xamarin-fingerprint/issues/33","repository_url":"https://api.github.com/repos/smstuebe/xamarin-fingerprint","labels_url":"https://api.github.com/repos/smstuebe/xamarin-fingerprint/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/smstuebe/xamarin-fingerprint/issues/33/comments","events_url":"https://api.github.com/repos/smstuebe/xamarin-fingerprint/issues/33/events","html_url":"https://github.com/smstuebe/xamarin-fingerprint/issues/33","id":192501456,"number":33,"title":"GetAvailabilityAsync() is not returning any enum value running upon device with nosensor.","user":{"login":"ranjitrock","id":448039,"avatar_url":"https://avatars.githubusercontent.com/u/448039?v=3","gravatar_id":"","url":"https://api.github.com/users/ranjitrock","html_url":"https://github.com/ranjitrock","followers_url":"https://api.github.com/users/ranjitrock/followers","following_url":"https://api.github.com/users/ranjitrock/following{/other_user}","gists_url":"https://api.github.com/users/ranjitrock/gists{/gist_id}","starred_url":"https://api.github.com/users/ranjitrock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ranjitrock/subscriptions","organizations_url":"https://api.github.com/users/ranjitrock/orgs","repos_url":"https://api.github.com/users/ranjitrock/repos","events_url":"https://api.github.com/users/ranjitrock/events{/privacy}","received_events_url":"https://api.github.com/users/ranjitrock/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-11-30T08:13:54Z","updated_at":"2016-11-30T10:29:16Z","closed_at":null,"body":"I am running the sample code (GetAvailabilityAsync) to check behavior on device with no fingerprint sensor.\r\nIt is throwing me exception rather than returning me enum value as **NoSensor** .\r\n\r\n**Exception:**\r\n[SamsungFingerprintImplementation] com.samsung.android.sdk.SsdkUnsupportedException: This device does not provide FingerprintService.\r\n[SamsungFingerprintImplementation] \tat com.samsung.android.sdk.pass.Spass.initialize(Unknown Source)\r\n\r\n**Code:**\r\n`public async Task FingerPrintAuthentication()\r\n{\r\n\tvar availability = await CrossFingerprint.Current.GetAvailabilityAsync();  \r\n}` \r\n\r\n\r\n`Task.Run(async () =>\r\n{\r\n\tawait FingerPrintAuthentication();\r\n});`\r\n\r\n **Manifest:**\r\n`<uses-sdk android:minSdkVersion=\"16\" />\r\n<uses-permission android:name=\"android.permission.USE_FINGERPRINT\" />\r\n<uses-permission android:name=\"com.samsung.android.providers.context.permission.WRITE_USE_APP_FEATURE_SURVEY\" />`\r\n\r\n**Device details:**\r\nDevice name: Samsung Galaxy S4(GT-19500)\r\nOS : 5.0.1\r\nSensor : No\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/smstuebe/xamarin-fingerprint/issues/comments/263838363","html_url":"https://github.com/smstuebe/xamarin-fingerprint/issues/33#issuecomment-263838363","issue_url":"https://api.github.com/repos/smstuebe/xamarin-fingerprint/issues/33","id":263838363,"user":{"login":"ranjitrock","id":448039,"avatar_url":"https://avatars.githubusercontent.com/u/448039?v=3","gravatar_id":"","url":"https://api.github.com/users/ranjitrock","html_url":"https://github.com/ranjitrock","followers_url":"https://api.github.com/users/ranjitrock/followers","following_url":"https://api.github.com/users/ranjitrock/following{/other_user}","gists_url":"https://api.github.com/users/ranjitrock/gists{/gist_id}","starred_url":"https://api.github.com/users/ranjitrock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ranjitrock/subscriptions","organizations_url":"https://api.github.com/users/ranjitrock/orgs","repos_url":"https://api.github.com/users/ranjitrock/repos","events_url":"https://api.github.com/users/ranjitrock/events{/privacy}","received_events_url":"https://api.github.com/users/ranjitrock/received_events","type":"User","site_admin":false},"created_at":"2016-11-30T10:29:16Z","updated_at":"2016-11-30T10:29:16Z","body":"I have solved the linker error - I had to modify the build settings but still i am not getting any enum from GetAvailabilityAsync() from my android application."}}
{"actor":{"display_login":"ranjitrock"}}