message: fix: Check that performance is available before calling it in RN
diff: @@ -271,6 +271,9 @@ const performanceFallback: CrossPlatformPerformance = {
  * Performance wrapper for react native as performance.now() has been found to start off with an unusual offset.
  */
  function getReactNativePerformanceWrapper(): CrossPlatformPerformance {
  + // Performance only available >= RN 0.63
  + const { performance } = getGlobalObject<Window>();
  + if (performance && typeof performance.now === 'function') {
  const INITIAL_OFFSET = performance.now();
  return {
  @@ -280,6 +283,8 @@ function getReactNativePerformanceWrapper(): CrossPlatformPerformance {
  timeOrigin: INITIAL_TIME,
  };
  }
  + return performanceFallback;
  +}
  export const crossPlatformPerformance: CrossPlatformPerformance = ((): CrossPlatformPerformance => {
  // React Native's performance.now() starts with a gigantic offset, so we need to wrap it.
  