Skip to content
This repository was archived by the owner on May 13, 2018. It is now read-only.
This repository was archived by the owner on May 13, 2018. It is now read-only.

acceptAllDevices not working #2

Description

@aircable

using the library to scan for all devices throws a Typescript error. Filter work, though.

let scanfilter1 = {
options: {
acceptAllDevices: true
}
};

  this.webble
      // 1: discover devices
      .discover$( scanfilter1 );

ERROR:
Typescript Error
Argument of type '{ options: { acceptAllDevices: boolean; }; }' is not assignable to parameter of type 'RequestDeviceOptions'. Property 'filters' is missing in type '{ options: { acceptAllDevices: boolean; }; }'.

ON;
Ionic Framework: 3.0.1
Ionic App Scripts: 1.3.0
Angular Core: 4.0.0
Angular Compiler CLI: 4.0.0
Node: 7.8.0
OS Platform: macOS Sierra
Navigator Platform: MacIntel
User Agent: Mozilla/5.0 (Linux; Android 5.1.1; Nexus 6 Build/LYZ28E) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Mobile Safari/537.36

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions