@lodev09/react-native-true-sheet 3.11.15 → 3.11.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -76,6 +76,7 @@ android {
76
76
  minSdkVersion getExtOrIntegerDefault("minSdkVersion")
77
77
  targetSdkVersion getExtOrIntegerDefault("targetSdkVersion")
78
78
  buildConfigField "boolean", "EDGE_TO_EDGE_ENABLED", "${getEdgeToEdgeEnabled()}"
79
+ consumerProguardFiles "proguard-rules.pro"
79
80
  }
80
81
 
81
82
  buildTypes {
@@ -0,0 +1,3 @@
1
+ # Matched by class name in RNScreensEventObserver and TrueSheetCoordinatorLayout
2
+ -keepnames class com.swmansion.rnscreens.Screen
3
+ -keepnames class com.swmansion.gesturehandler.react.RNGestureHandlerRootView
@@ -1135,7 +1135,8 @@ static char TrueSheetAccessibilityWindowPreviousElementsKey;
1135
1135
 
1136
1136
  #if RNTS_IPHONE_OS_VERSION_AVAILABLE(26_1) && !TARGET_OS_MACCATALYST
1137
1137
  if (@available(iOS 26.1, *)) {
1138
- if (!self.isDesignCompatibilityMode) {
1138
+ // Some 26.1 builds ship `_UIFormSheetPresentationController` without this setter
1139
+ if (!self.isDesignCompatibilityMode && [self.sheet respondsToSelector:@selector(setBackgroundEffect:)]) {
1139
1140
  if (self.backgroundColor || hasBlur) {
1140
1141
  self.sheet.backgroundEffect = [UIColorEffect effectWithColor:[UIColor clearColor]];
1141
1142
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lodev09/react-native-true-sheet",
3
- "version": "3.11.15",
3
+ "version": "3.11.17",
4
4
  "description": "The true native bottom sheet experience for your React Native Apps.",
5
5
  "source": "./src/index.ts",
6
6
  "main": "./lib/module/index.js",