-
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(module): parse apiversions to integer before comparing
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
- Loading branch information
1 parent
37e5f90
commit 2974e52
Showing
3 changed files
with
41 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
test/resources/timodule5/modules/android/ti.map/3.1.0/manifest
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# | ||
# this is your module manifest and used by Titanium | ||
# during compilation, packaging, distribution, etc. | ||
# | ||
version: 3.1.0 | ||
apiversion: 2 | ||
architectures: arm64-v8a armeabi-v7a x86 | ||
description: External version of Map module | ||
author: Jeff Haynie, Jon Alter, Pedro Enrique, Hans Knöchel, Vijay Singh | ||
license: Apache Public License v2 | ||
copyright: Copyright (c) 2013-present by Axway Appcelerator | ||
|
||
# these should not be edited | ||
name: map | ||
moduleid: ti.map | ||
guid: fee93b77-8eb3-418c-8f04-013664c4af83 | ||
platform: android | ||
minsdk: 6.2.2.GA |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters