Skip to content

Conversation

@LuuNguyen0811
Copy link
Contributor

@LuuNguyen0811 LuuNguyen0811 commented Aug 27, 2025

Summary

closes #1002

Test Plan

What's required for testing (prerequisites)?

What are the steps to reproduce (after prerequisites)?

Compatibility

OS Implemented
iOS ✅ ❌
Android ✅ ❌

Checklist

  • I have tested this on a device and a simulator
  • I added the documentation in README.md
  • I updated the typed files (TS and Flow)
  • I added a sample use of the API in the example project (example/App.js)
  • I have added automated tests, either in JS or e2e tests, as applicable

Copy link
Member

@vonovak vonovak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there are activity getters in Java code too, I think, which should be updated too (they use deprecated activity getter). Can you do that? Thank you!

@RohovDmytro
Copy link

@vonovak can we fix it for Kotlin and fix it for Java in a separate PR?

@vonovak
Copy link
Member

vonovak commented Sep 13, 2025

@vonovak can we fix it for Kotlin and fix it for Java in a separate PR?

Would you open the PR for that? 😉
Thank you 🙏

@vonovak vonovak merged commit f4b046a into react-native-datetimepicker:master Sep 13, 2025
5 checks passed
vonovak pushed a commit that referenced this pull request Sep 13, 2025
## [8.4.5](v8.4.4...v8.4.5) (2025-09-13)

### Bug Fixes

* **android:** remove deprecated activity getter ([#1003](#1003)) ([f4b046a](f4b046a))
@vonovak
Copy link
Member

vonovak commented Sep 13, 2025

🎉 This issue has been resolved in version 8.4.5 🎉

If this package helps you, consider sponsoring us! 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Android Build Error: Unresolved reference 'currentActivity' in RN 0.81.0 with new arch enabled

3 participants