-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
feat(android): parity for keyboardframechanged and keyboardVisible #13726
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
Conversation
simplescreenrecorder-2023-01-21_13.43.59.mp4 |
|
Could this be changed to finally bring parity for https://titaniumsdk.com/api/titanium/app.html#properties_keyboardvisible and https://titaniumsdk.com/api/titanium/app.html#events_keyboardframechanged ? |
|
I can trigger that event and use the |
|
Yep, great parity already! |
|
It's not in the
|
android/titanium/src/java/org/appcelerator/titanium/TiBaseActivity.java
Outdated
Show resolved
Hide resolved
android/titanium/src/java/org/appcelerator/titanium/TiBaseActivity.java
Outdated
Show resolved
Hide resolved
|
Still, the |
|
I meant the Java callback invocation and construct of the kroll dict, sorry for the confusion |
|
exposed the fec7cc7#diff-6f50b13a3f7b68de5485b38155383cdbd1ec15887ad7fd84573b826d79154790R772 |
android/titanium/src/java/org/appcelerator/titanium/TiBaseActivity.java
Outdated
Show resolved
Hide resolved
android/titanium/src/java/org/appcelerator/titanium/view/TiActivitySafeAreaMonitor.java
Outdated
Show resolved
Hide resolved
|
Thanks for all the adjustments! Sorry for being so picky..but I think it's worth to double-check the calls before it's getting an issue in production. We should be ready to go here..if someone else can verify the fix, we can merge. |
hansemannn
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code-review approved, waiting for functional testing.
|
@m1ga Any external testing done? Maybe the users that requested this can help. This can always be the way to fast-lane changes. |
|
Since this is a Android 11+ fix it wasn't useful for the user (Android 8.1 device) so I don't know the current status. I don't have any use for it so I didn't implement it in a client app at the moment |
…30121_keyboard_hide_event
…/titanium-sdk into 230121_keyboard_hide_event
|
Tested on Android 14 (Pixel 9) and Android 15 (Emulator) again, working fine. Event is fired and keyboardVisible value is correct |
android/titanium/src/java/org/appcelerator/titanium/TiBaseActivity.java
Outdated
Show resolved
Hide resolved
android/titanium/src/java/org/appcelerator/titanium/view/TiActivitySafeAreaMonitor.java
Outdated
Show resolved
Hide resolved
Co-authored-by: Hans Knöchel <[email protected]>
Co-authored-by: Hans Knöchel <[email protected]>
|
fixed all suggestions, thanks for check 👍 |


Add Android parity for
keyboardframechangedevent andTi.App.keyboardVisibleto Ti.App: