react-native-keyboard-input
react-native-keyboard-input copied to clipboard
Can't build project with react-native-keyboard-input
I'm using RN 0.49.1
After installing and linking react-native-keyboard-input i can't build project. I've done all steps including the last one with proguard. First issue was
"error: method does not override or implement a method from a supertype"
and was fixed by deleting @Override in KeyboardInputPackage.java 43.
Then appeared another problem:
error: incompatible types: <anonymous ReactNativeHost> cannot be converted to Application
at the place i'm insert
new KeyboardInputPackage(this)
Are there any ways to fix it?
My Workaround: new KeyboardInputPackage(this.getApplication())
Hope this help.