diff --git a/README.md b/README.md index 26ee28ac..362663ac 100644 --- a/README.md +++ b/README.md @@ -54,8 +54,8 @@ pod 'lottie-react-native', :path => '../node_modules/lottie-react-native' If you're not using CocoaPods on iOS, you can use `react-native link`: ```bash -react-native link lottie-react-native react-native link lottie-ios +react-native link lottie-react-native/ ``` For android, you can `react-native link` as well: diff --git a/example/android/app/src/main/java/com/example/MainApplication.java b/example/android/app/src/main/java/com/example/MainApplication.java index cf8ded1a..8d269e16 100644 --- a/example/android/app/src/main/java/com/example/MainApplication.java +++ b/example/android/app/src/main/java/com/example/MainApplication.java @@ -18,7 +18,7 @@ public class MainApplication extends Application implements ReactApplication { private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) { @Override - protected boolean getUseDeveloperSupport() { + public boolean getUseDeveloperSupport() { return BuildConfig.DEBUG; } diff --git a/package.json b/package.json index 1ad402a2..10bc5a99 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ "dependencies": { "invariant": "^2.2.2", "react-native-safe-module": "^1.1.0", - "lottie-ios": "^1.0.0" + "lottie-ios": "^1.0.2" }, "devDependencies": { "babel-eslint": "^6.1.2",