Skip to content

Commit

Permalink
Merge pull request #59 from alibaba/develop
Browse files Browse the repository at this point in the history
Fix : compatible compiler sdk 1.0.3
  • Loading branch information
zhi1ong authored Mar 16, 2017
2 parents f11fb76 + e495ef8 commit 5ca6778
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,8 @@ private static void setValue(Postcard postcard, Integer typeDef, String key, Str
// TODO : How to description parcelable value with string?
} else if (typeDef == TypeKind.OBJECT.ordinal()) {
postcard.withString(key, value);
} else { // Compatible compiler sdk 1.0.3, in that version, the string type = 18
postcard.withString(key, value);
}
} else {
postcard.withString(key, value);
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ MIN_SDK_VERSION=12
TARGET_SDK_VERSION=25

arouter_compiler_version=1.0.4
arouter_api_version=1.0.8
arouter_api_version=1.0.9
arouter_annotation_version=1.0.3

bintrayRepo=maven
Expand Down

0 comments on commit 5ca6778

Please sign in to comment.