Skip to content
This repository was archived by the owner on Feb 2, 2021. It is now read-only.

Add check in iOS device discovery if platform is Android. #985

Merged
merged 3 commits into from
Jul 21, 2017

Conversation

KristianDD
Copy link
Contributor

@KristianDD KristianDD commented Jul 6, 2017

This PR is part of the resolution of NativeScript/nativescript-cli#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.

@KristianDD KristianDD self-assigned this Jul 6, 2017
@justcodebuilduser
Copy link

💔

@KristianDD KristianDD force-pushed the kddimitrov/fix-itunes-android-check branch from 4302fcf to c36888c Compare July 6, 2017 13:57
@justcodebuilduser
Copy link

💔

@KristianDD KristianDD force-pushed the kddimitrov/fix-itunes-android-check branch from c36888c to 1a769e9 Compare July 10, 2017 09:39
@justcodebuilduser
Copy link

💔

@rosen-vladimirov rosen-vladimirov self-requested a review July 10, 2017 09:41
@KristianDD KristianDD force-pushed the kddimitrov/fix-itunes-android-check branch from 1a769e9 to 592dbeb Compare July 10, 2017 12:53
@justcodebuilduser
Copy link

💔

Copy link
Collaborator

@rosen-vladimirov rosen-vladimirov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Current code is fine, but I believe we have to add the same check in android-device-discovery

@justcodebuilduser
Copy link

💔

Copy link
Collaborator

@rosen-vladimirov rosen-vladimirov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After rebasing and green build.

Great first contribution 👏

@justcodebuilduser
Copy link

💔

@KristianDD KristianDD force-pushed the kddimitrov/fix-itunes-android-check branch from e7c411d to b6cf2c2 Compare July 12, 2017 11:53
@justcodebuilduser
Copy link

💔

@KristianDD KristianDD force-pushed the kddimitrov/fix-itunes-android-check branch from b6cf2c2 to 95849d8 Compare July 12, 2017 12:04
@justcodebuilduser
Copy link

💔

@justcodebuilduser
Copy link

💔

@KristianDD KristianDD force-pushed the kddimitrov/fix-itunes-android-check branch from a0c0992 to 78e73ee Compare July 18, 2017 11:45
@justcodebuilduser
Copy link

💔

@KristianDD KristianDD force-pushed the kddimitrov/fix-itunes-android-check branch from 78e73ee to 9f5a60e Compare July 18, 2017 11:56
@justcodebuilduser
Copy link

💔

@Plamen5kov
Copy link
Contributor

Recomendation: Because these options: { shouldReturnImmediateResult: false, platform: platform } are passed on several places, maybe we can do a getDefaultSearchOptions() or something.

@justcodebuilduser
Copy link

💔

@Plamen5kov Plamen5kov self-requested a review July 20, 2017 13:57
@KristianDD KristianDD force-pushed the kddimitrov/fix-itunes-android-check branch from 3e8d759 to 0e58f9e Compare July 20, 2017 13:58
@justcodebuilduser
Copy link

💔

@KristianDD KristianDD merged commit 0ff4e5d into master Jul 21, 2017
@KristianDD KristianDD deleted the kddimitrov/fix-itunes-android-check branch July 21, 2017 08:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants