From ca52784f57cb4e1bd1a58ec7abcb7cabd079b0ed Mon Sep 17 00:00:00 2001 From: Jakub Grzywacz Date: Sat, 10 Jul 2021 13:09:42 +0200 Subject: [PATCH] fix: dependencies --- .../reactnativeemojikeyboard/MainActivity.java | 12 ------------ example/yarn.lock | 6 +++--- package.json | 6 +++--- yarn.lock | 6 +++--- 4 files changed, 9 insertions(+), 21 deletions(-) diff --git a/example/android/app/src/main/java/com/example/reactnativeemojikeyboard/MainActivity.java b/example/android/app/src/main/java/com/example/reactnativeemojikeyboard/MainActivity.java index bc44e0a..d7bc846 100644 --- a/example/android/app/src/main/java/com/example/reactnativeemojikeyboard/MainActivity.java +++ b/example/android/app/src/main/java/com/example/reactnativeemojikeyboard/MainActivity.java @@ -1,9 +1,6 @@ package com.example.reactnativeemojikeyboard; import com.facebook.react.ReactActivity; -import com.facebook.react.ReactActivityDelegate; -import com.facebook.react.ReactRootView; -import com.swmansion.gesturehandler.react.RNGestureHandlerEnabledRootView; public class MainActivity extends ReactActivity { @@ -15,13 +12,4 @@ public class MainActivity extends ReactActivity { protected String getMainComponentName() { return "EmojiKeyboardExample"; } - @Override - protected ReactActivityDelegate createReactActivityDelegate() { - return new ReactActivityDelegate(this, getMainComponentName()) { - @Override - protected ReactRootView createRootView() { - return new RNGestureHandlerEnabledRootView(MainActivity.this); - } - }; - } } diff --git a/example/yarn.lock b/example/yarn.lock index 6236c6a..cd0c6c4 100644 --- a/example/yarn.lock +++ b/example/yarn.lock @@ -868,9 +868,9 @@ wcwidth "^1.0.1" "@types/hammerjs@^2.0.36": - version "2.0.39" - resolved "https://registry.yarnpkg.com/@types/hammerjs/-/hammerjs-2.0.39.tgz#4be64bbacf3813c79c0dab895c6b0fdc7d5e513f" - integrity sha512-lYR2Y/tV2ujpk/WyUc7S0VLI0a9hrtVIN9EwnrNo5oSEJI2cK2/XrgwOQmXLL3eTulOESvh9qP6si9+DWM9cOA== + version "2.0.40" + resolved "https://registry.yarnpkg.com/@types/hammerjs/-/hammerjs-2.0.40.tgz#ded0240b6ea1ad7afc1e60374c49087aaea5dbd8" + integrity sha512-VbjwR1fhsn2h2KXAY4oy1fm7dCxaKy0D+deTb8Ilc3Eo3rc5+5eA4rfYmZaHgNJKxVyI0f6WIXzO2zLkVmQPHA== "@types/istanbul-lib-coverage@*", "@types/istanbul-lib-coverage@^2.0.0": version "2.0.3" diff --git a/package.json b/package.json index 51ebcf5..4beac5b 100644 --- a/package.json +++ b/package.json @@ -69,7 +69,9 @@ }, "peerDependencies": { "react": "*", - "react-native": "*" + "react-native": "*", + "react-native-gesture-handler": "^1.10.3", + "react-native-svg": "^12.1.1" }, "jest": { "preset": "react-native", @@ -151,8 +153,6 @@ ] }, "dependencies": { - "react-native-gesture-handler": "^1.10.3", - "react-native-svg": "^12.1.1", "unicode-emoji-json": "^0.2.1" } } diff --git a/yarn.lock b/yarn.lock index e7b75aa..8f95370 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1900,9 +1900,9 @@ "@types/node" "*" "@types/hammerjs@^2.0.36": - version "2.0.39" - resolved "https://registry.yarnpkg.com/@types/hammerjs/-/hammerjs-2.0.39.tgz#4be64bbacf3813c79c0dab895c6b0fdc7d5e513f" - integrity sha512-lYR2Y/tV2ujpk/WyUc7S0VLI0a9hrtVIN9EwnrNo5oSEJI2cK2/XrgwOQmXLL3eTulOESvh9qP6si9+DWM9cOA== + version "2.0.40" + resolved "https://registry.yarnpkg.com/@types/hammerjs/-/hammerjs-2.0.40.tgz#ded0240b6ea1ad7afc1e60374c49087aaea5dbd8" + integrity sha512-VbjwR1fhsn2h2KXAY4oy1fm7dCxaKy0D+deTb8Ilc3Eo3rc5+5eA4rfYmZaHgNJKxVyI0f6WIXzO2zLkVmQPHA== "@types/http-cache-semantics@*": version "4.0.0"