Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix inconsistensies in module detection #171

Merged
merged 3 commits into from Jul 2, 2019

Conversation

ewanharris
Copy link
Contributor

c670fc5 TIMOB-27203 - iOS: no apiversion validation performed on application build

2974e52 TIMOB-27204 - CLI: apiversion validation always fails for native modules installed via npm

Commits should be structured so this can be "Rebase and merged"

manifest apiversions and sdk provided apiversions are passed through as strings, apiversions from npm installed modules are provided as integers, by parsing everything to an integer before comparison we ensure we're comparing the same type always

Fixes TIMOB-27204
If we cant find iOS moduleAPIVersion in the provided object fallback to using iphone as that is the current value in the SDK, by only falling back if we dont find it we provide ourselves an easier path to using ios as the standard in future

Fixes TIMOB-27203
Copy link
Contributor

@sgtcoolguy sgtcoolguy left a comment

Choose a reason for hiding this comment

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

LGTM

@sgtcoolguy sgtcoolguy merged commit bc3a5e0 into tidev:master Jul 2, 2019
@ewanharris ewanharris deleted the fix_inconsistensies branch December 4, 2019 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants