Closed KristianDD closed 7 years ago
:broken_heart:
:broken_heart:
:broken_heart:
:broken_heart:
:broken_heart:
:broken_heart:
:broken_heart:
:broken_heart:
:broken_heart:
:broken_heart:
:broken_heart:
Recomendation: Because these options: { shouldReturnImmediateResult: false, platform: platform }
are passed on several places, maybe we can do a getDefaultSearchOptions()
or something.
:broken_heart:
:broken_heart:
This PR is part of the resolution of https://github.com/NativeScript/nativescript-cli/issues/2361. The device discovery services didn't check the platform parameter before performing the validations needed for the specified platform.
The resolution is to always pass platform parameter to the device discovery services if specified and add a platform check inside each device discovery service.