Android lifecycle listeners and sending events to javascript #24741

Hello :wave:

Wondering if anyone can help.

I’m trying to create a module (Expo Modules API: Get started - Expo Documentation) that listens for onConfigurationChanged and sends the locale value to javascript land.
My goal is something similar to this: React Native: Handling language changes on Android the right way | by Ferran Negre | Callstack Engineers | Medium

I’ve found out about android lifecycle listeners (Android lifecycle listeners - Expo Documentation) but I’m not sure how to send an event inside onConfigurationChanged :thinking:.

Can anyone help me?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.