Skip to content

Commit

Permalink
Updated android build env to match the version with rootProject.
Browse files Browse the repository at this point in the history
  • Loading branch information
hyochan committed Jul 15, 2018
1 parent d97035e commit bf7da27
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ Also there are some other methods that is not supported in ios and implemented i
Lastly, this module also supports types for typescript users from `0.2.5`.

## Changelogs
- **[1.2.5]**
+ Set android build version to that of `rootProject`'s to prevent from build failing cause of mismatched version.
- **[1.2.4]**
+ Implemented `canMakePayments` method in ios which is called in `prepare` method in the module. Related [issue](https://github.com/dooboolab/react-native-iap/pull/121).
- **[1.2.2]**
Expand Down
8 changes: 4 additions & 4 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ buildscript {
apply plugin: 'com.android.library'

android {
compileSdkVersion 26
buildToolsVersion "26.0.2"
compileSdkVersion rootProject.ext.compileSdkVersion
buildToolsVersion rootProject.ext.buildToolsVersion

defaultConfig {
minSdkVersion 16
targetSdkVersion 22
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 1
versionName "1.0"
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-iap",
"version": "1.2.4",
"version": "1.2.5",
"description": "React Native In App Purchase Module.",
"main": "index.js",
"types": "index.d.ts",
Expand Down

0 comments on commit bf7da27

Please sign in to comment.