Calling getLayer("MylayerID") throws the error "TypeError: Cannot read property 'identifier' of null" when the layer doesn't exists. My config: iOS: 15.4 iPhone 12 (emulated) NS: 8.2.3 ui-mapbox: 6.2.15