Skip to content

fix: do not use emitDeviceEvent directly - #1282

Merged
kirillzyusko merged 1 commit into
mainfrom
fix/do-not-use-emit-device-event-directly
Jan 23, 2026
Merged

kirillzyusko merged 1 commit into
mainfrom
fix/do-not-use-emit-device-event-directly

Conversation

@kirillzyusko

@kirillzyusko kirillzyusko commented Jan 23, 2026 •

Copy link
Copy Markdown
Owner

📜 Description

Fixed compilation error on RN 0.70

💡 Motivation and Context

emitDeviceEvent is available only on RN 0.72+ Similar changes were made here: #475

Closes #1281

📢 Changelog

Android

  • use emitEvent extension method instead of emitDeviceEvent;

🤔 How Has This Been Tested?

Tested manually via this PR.

📝 Checklist

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

@kirillzyusko kirillzyusko self-assigned this Jan 23, 2026
@kirillzyusko kirillzyusko added 🤖 android Android specific build error ❌ Anything that triggers build errors and prevent this library from being used labels Jan 23, 2026
@github-actions

Copy link
Copy Markdown
Contributor

📊 Package size report

Current size Target Size Difference
230443 bytes 230450 bytes -7 bytes 📉

@kirillzyusko
kirillzyusko marked this pull request as ready for review January 23, 2026 13:14
@kirillzyusko
kirillzyusko merged commit 3589930 into main Jan 23, 2026
17 checks passed
@kirillzyusko
kirillzyusko deleted the fix/do-not-use-emit-device-event-directly branch January 23, 2026 14:15
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GradleKotlinCompilerWorkAction Unresolved reference: emitDeviceEvent

1 participant