Skip to content

Suggestion: Implement wrapper to avoid crashes on other platforms #17

Description

@blaues0cke

I just added the following code in my RN app that runs on iOS and Android:

AndroidKeyboardAdjust.setAdjustPan();

But to make it work on iOS I have to check if AndroidKeyboardAdjust

if (AndroidKeyboardAdjust) {
    AndroidKeyboardAdjust.setAdjustPan();
}

Would be nice to get this wrapped so that

AndroidKeyboardAdjust.setAdjustPan();

just does nothing (without crashing) on iOS.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions