Skip to content

Commit

Permalink
🚀 v0.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
xinthink committed Oct 25, 2015
1 parent 81516f3 commit 8ec152f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ A set of UI components, in the purpose of introducing [Material Design][md] to a

[npm-badge]: https://img.shields.io/npm/v/react-native-material-kit.svg
[npm]: https://www.npmjs.com/package/react-native-material-kit
[rn-badge]: https://img.shields.io/badge/react--native-v0.12.x-05A5D1.svg
[rn-badge]: https://img.shields.io/badge/react--native-v0.13.x-05A5D1.svg
[rn]: https://facebook.github.io/react-native
[md]: http://www.google.com/design/spec/material-design/introduction.html
[license-badge]: https://img.shields.io/dub/l/vibe-d.svg
Expand Down Expand Up @@ -51,8 +51,7 @@ Now run `pod install`. This will create an Xcode workspace containing all necess
```
1. Add `compile project(':RNMaterialKit')` to your `android/app/build.gradle`
1. Add `import com.github.xinthink.rnmk.ReactMaterialKitPackage; ` in `MainActivity.java` imports
1. Add `ReactMaterialKitPackage` to your `ReactInstanceManager` instance, in your `MainActivity`:
1. Import `com.github.xinthink.rnmk.ReactMaterialKitPackage` and register it to the `ReactInstanceManager`, in your `MainActivity` (or equivalent):
```java
mReactInstanceManager = ReactInstanceManager.builder()
.setApplication(getApplication())
Expand Down
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ repositories {
}

dependencies {
provided 'com.facebook.react:react-native:0.12.+'
provided 'com.facebook.react:react-native:0.13.+'
//compile 'com.android.support:design:23.0.1'
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-material-kit",
"version": "0.2.1",
"version": "0.2.2",
"description": "Bringing Material Design to React Native",
"main": "lib/index.js",
"author": "Yingxin Wu <yingxinwu.g@gmail.com>",
Expand All @@ -26,7 +26,7 @@
"url": "git://github.com/xinthink/react-native-material-kit.git"
},
"peerDependencies": {
"react-native": ">=0.12.0 <1.0.0"
"react-native": ">=0.13.0 <1.0.0"
},
"devDependencies": {
"babel-eslint": "^4.0.10",
Expand Down
2 changes: 1 addition & 1 deletion react-native-material-kit.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "react-native-material-kit"
s.version = "0.2.1"
s.version = "0.2.2"
s.summary = "Introducing Material Design to apps built with React Native."
s.requires_arc = true
s.author = { 'xinthink' => 'yingxinwu.g@gmail.com' }
Expand Down

0 comments on commit 8ec152f

Please sign in to comment.