Add ReactMarkerConstants.CONTENT_APPEARED support on Android
Summary:
Add the ReactMarkerConstants.CONTENT_APPEARED support on Android in bridgeless mode. This is an important marker for TTI measurement.
Changelog:
[ANDROID] [ADDED] - Add the ReactMarkerConstants.CONTENT_APPEARED support on Android in bridgeless mode.
Test Plan:
adding this on RNTesterActivity to see if the log is executed
ReactMarker.addListener { name, tag, instanceKey ->
if (name == ReactMarkerConstants.CONTENT_APPEARED) {
Log.i("XXX", "XXX")
}
}
| Platform | Engine | Arch | Size (bytes) | Diff |
|---|---|---|---|---|
| android | hermes | arm64-v8a | 19,385,117 | +1 |
| android | hermes | armeabi-v7a | n/a | -- |
| android | hermes | x86 | n/a | -- |
| android | hermes | x86_64 | n/a | -- |
| android | jsc | arm64-v8a | 22,760,082 | -1 |
| android | jsc | armeabi-v7a | n/a | -- |
| android | jsc | x86 | n/a | -- |
| android | jsc | x86_64 | n/a | -- |
Base commit: 44d59ea6f9a1705487314e33de52f7056651ba25 Branch: main
appreciated if @cortinico could take a look for this pr.
cc @rubennorte
rebase main to fix conflict
much appreciated if @rubennorte could help to take a look for this pr