Implement CommServicesAuthMetadataEmitter native event emitter on Android
Summary: This differential implements CommServicesAuthMetadataEmitter on Android in such a way that it callable from C++.
Test Plan:
- Apply this patch: https://gist.github.com/marcinwasowicz/7f04bd592dd4a800adbc96b720e200b7. It creates js code to subscribe for auth metadata events and sends this event from C++ upon each draft update (contents of the event are just dummy strings).
- Build Android app.
- Ensure that each time you write one letter you can see console.log with dummy auth metadata in native yarn dev terminal.
Reviewers: bartek, kamil, michal
Reviewed By: bartek
Subscribers: ashoat, tomek
Differential Revision: https://phab.comm.dev/D10335