1#import "RNCSafeAreaUtils.h"
2
3#import <React/RCTUIManager.h>
4
5NSString *const RNCSafeAreaDidChange = @"RNCSafeAreaDidChange";
6
7BOOL UIEdgeInsetsEqualToEdgeInsetsWithThreshold(UIEdgeInsets insets1, UIEdgeInsets insets2, CGFloat threshold)
8{
9  return ABS(insets1.left - insets2.left) <= threshold && ABS(insets1.right - insets2.right) <= threshold &&
10      ABS(insets1.top - insets2.top) <= threshold && ABS(insets1.bottom - insets2.bottom) <= threshold;
11}
12