Skip to content

fix: remove java-package prefix from ClippingScrollViewDecoratorViewManager class to avoid compilation errors - #1587

Merged
kirillzyusko merged 1 commit into
mainfrom
fix/java-prefix-for-clipping-scroll-view-causes-compilation-errors
Aug 8, 2026
Merged

fix: remove java-package prefix from ClippingScrollViewDecoratorViewManager class to avoid compilation errors#1587
kirillzyusko merged 1 commit into
mainfrom
fix/java-prefix-for-clipping-scroll-view-causes-compilation-errors

Conversation

@kirillzyusko

@kirillzyusko kirillzyusko commented Aug 7, 2026

Copy link
Copy Markdown
Owner

📜 Description

Fix compilation for RN < 0.74 and library version 1.21.x 🤞

💡 Motivation and Context

I think at early prototype stage I created file in Android Studio and it automatically added java prefix and additional import in base package.

I didn't notice it until #1585 has been raised. In fact we don't need that java prefix (see how other managers are organized). So in this PR I removed unnecessary java prefix + removed unnecessary import in base package 🤞 It should fix compilation error on old RN versions that are using turbo-package variant.

Closes #1585

📢 Changelog

Android

  • remove java from ClippingScrollViewDecoratorManager in package declaration;
  • remove unnecessary java.com.reactnativekeyboardcontroller.ClippingScrollViewDecoratorViewManager import in base package.

🤔 How Has This Been Tested?

Tested via this PR. If something would be broken CI would fail for this PR too.

📸 Screenshots (if appropriate):

image

📝 Checklist

  • CI successfully passed
  • I added new mocks and corresponding unit-tests if library API was changed

…ewManager` class to avoid compilation errors
@kirillzyusko kirillzyusko self-assigned this Aug 7, 2026
@kirillzyusko kirillzyusko added 🤖 android Android specific KeyboardAwareScrollView 📜 Anything related to KeyboardAwareScrollView component build error ❌ Anything that triggers build errors and prevent this library from being used KeyboardChatScrollView 💬 Anything about chat functionality labels Aug 7, 2026
@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

📊 Package size report

Current size Target Size Difference
334259 bytes 334277 bytes -18 bytes 📉

@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

LGTM

@kirillzyusko
kirillzyusko merged commit c1032dd into main Aug 8, 2026
17 checks passed
@kirillzyusko
kirillzyusko deleted the fix/java-prefix-for-clipping-scroll-view-causes-compilation-errors branch August 8, 2026 04:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🤖 android Android specific build error ❌ Anything that triggers build errors and prevent this library from being used KeyboardAwareScrollView 📜 Anything related to KeyboardAwareScrollView component KeyboardChatScrollView 💬 Anything about chat functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Android] compileReleaseKotlin fails on RN < 0.74 since 1.21.0: Unresolved reference ClippingScrollViewDecoratorViewManager (wrong package declaration)

1 participant