Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation needs updating #29

Open
ilibilibom opened this issue Feb 7, 2020 · 1 comment
Open

Documentation needs updating #29

ilibilibom opened this issue Feb 7, 2020 · 1 comment

Comments

@ilibilibom
Copy link

Hi
The documentation is not updated with the latest RN version.
there is no getPackages() method in MainActivity.java

Thanks for this awesome package

@akbari6776
Copy link

You must set this config to MainApplication.java in your project

Document is wrong

Import the package

+ import net.zubricky.AndroidKeyboardAdjust.AndroidKeyboardAdjustPackage;

Add the package to the getPackages method

@Override
protected List<ReactPackage> getPackages() {
    return Arrays.<ReactPackage>asList(
        ...
+        new AndroidKeyboardAdjustPackage()
    );
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants