This is a PoC that will be later a PR to react-native-view-snapshot to implement the feature for Android.
We still need to wait React Native to have the addUIBlock feature provided by this PR.
Also, I'll wait react-native-view-snapshot to implement the same API as the current RN takeSnapshot on iOS allowing the options.
import {NativeModules, findNodeHandle} from "react-native";