use Context Resources Screen Resolution
fun useContextResourcesScreenResolution(useContextResourcesScreenResolution: Boolean): SubjectConfiguration
Set this flag to true to define the default screen resolution (at tracker initialization) based on the context's Resources display metrics, rather than the deprecated WindowManager. NB: the height value will be smaller using Resources as it doesn't include the menu bar. Defaults to false.