diff --git a/README.md b/README.md index f98ad45..85f0b51 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ import com.wix.reactnativekeyboardinput.KeyboardInputPackage; protected List getPackages() { return Arrays.asList( // Add this package: - new KeyboardInputPackage(this) // (this = Android application object) + new KeyboardInputPackage(getApplication()) ); } ```