{"action":"created","issue":{"url":"https://api.github.com/repos/reelyactive/ble-android-sdk/issues/1","repository_url":"https://api.github.com/repos/reelyactive/ble-android-sdk","labels_url":"https://api.github.com/repos/reelyactive/ble-android-sdk/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/reelyactive/ble-android-sdk/issues/1/comments","events_url":"https://api.github.com/repos/reelyactive/ble-android-sdk/issues/1/events","html_url":"https://github.com/reelyactive/ble-android-sdk/issues/1","id":144761861,"number":1,"title":"Could not find method android.bluetooth.BluetoothAdapter.isOffloadedFilteringSupported","user":{"login":"Lumbi","id":1648852,"avatar_url":"https://avatars.githubusercontent.com/u/1648852?v=3","gravatar_id":"","url":"https://api.github.com/users/Lumbi","html_url":"https://github.com/Lumbi","followers_url":"https://api.github.com/users/Lumbi/followers","following_url":"https://api.github.com/users/Lumbi/following{/other_user}","gists_url":"https://api.github.com/users/Lumbi/gists{/gist_id}","starred_url":"https://api.github.com/users/Lumbi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lumbi/subscriptions","organizations_url":"https://api.github.com/users/Lumbi/orgs","repos_url":"https://api.github.com/users/Lumbi/repos","events_url":"https://api.github.com/users/Lumbi/events{/privacy}","received_events_url":"https://api.github.com/users/Lumbi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-03-31T01:22:58Z","updated_at":"2016-04-01T03:03:25Z","closed_at":null,"body":"Getting this error when using `BluetoothLeScannerCompatProvider.getBluetoothLeScannerCompat()`\r\n\r\nAndroid version: 4.42\r\nminSdkVersion: 18\r\ntargetSdkVersion: 23\r\ncompile 'com.reelyactive:blesdk:0.5.7@aar'\r\n\r\nI'm using the scanner in a `IntentService` so that scanning can be done in background.\r\n`<service android:name=\".myawesomeservice\" android:exported=\"false\" />`\r\n```@Override\r\n    protected void onHandleIntent(Intent intent) {\r\n             [...]\r\n             BluetoothLeScannerCompatProvider.getBluetoothLeScannerCompat(getApplicationContext())\r\n             [...]\r\n    }\r\n```\r\n\r\nSeems like the `Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP` check didn't work?\r\nThough I logged `Build.VERSION.SDK_INT` in my service and it returned **19** and `Build.VERSION_CODES.LOLLIPOP` returned **21**."},"comment":{"url":"https://api.github.com/repos/reelyactive/ble-android-sdk/issues/comments/204223875","html_url":"https://github.com/reelyactive/ble-android-sdk/issues/1#issuecomment-204223875","issue_url":"https://api.github.com/repos/reelyactive/ble-android-sdk/issues/1","id":204223875,"user":{"login":"Lumbi","id":1648852,"avatar_url":"https://avatars.githubusercontent.com/u/1648852?v=3","gravatar_id":"","url":"https://api.github.com/users/Lumbi","html_url":"https://github.com/Lumbi","followers_url":"https://api.github.com/users/Lumbi/followers","following_url":"https://api.github.com/users/Lumbi/following{/other_user}","gists_url":"https://api.github.com/users/Lumbi/gists{/gist_id}","starred_url":"https://api.github.com/users/Lumbi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lumbi/subscriptions","organizations_url":"https://api.github.com/users/Lumbi/orgs","repos_url":"https://api.github.com/users/Lumbi/repos","events_url":"https://api.github.com/users/Lumbi/events{/privacy}","received_events_url":"https://api.github.com/users/Lumbi/received_events","type":"User","site_admin":false},"created_at":"2016-04-01T03:03:24Z","updated_at":"2016-04-01T03:03:24Z","body":"**Device**\r\nModel number: SM-G900F\r\nAndroid version 4.4.2\r\n\r\n**Code Here**\r\nhttp://pastebin.com/2gyZMj9R\r\n\r\nI stepped in the SDK's code in the debugger and it didn't take the path calling `areHardwareFeaturesSupported`. It's using the `JbBluetoothLeScannerCompat` scanner. \r\nIt might be that there's no issue with `isOffloadedFilteringSupported` after all. Might just be a warning.\r\n\r\nWhat about this log? What does it mean?\r\n`I/BleScanCompatLib: Scan : No clients left, canceling alarm.`"}}