@applicaster/quick-brick-core 15.0.0-alpha.2239032089 → 15.0.0-alpha.2349550201

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.
@@ -42,12 +42,17 @@ const defaultBottomOffset = platformSelect({
42
42
  android: 0,
43
43
  });
44
44
 
45
+ const SAFE_AREA_BREAKING_API_VERSION = 35;
46
+
45
47
  const getSheetHeight = ({ height, bottomOffset, maxHeight }) => {
46
48
  return platformSelect({
47
49
  ios: height - bottomOffset,
48
50
  default:
49
51
  (height || maxHeight) -
50
- (isAndroidPlatform() && !isAndroidVersionAtLeast(35) ? bottomOffset : 0),
52
+ (isAndroidPlatform() &&
53
+ !isAndroidVersionAtLeast(SAFE_AREA_BREAKING_API_VERSION)
54
+ ? bottomOffset
55
+ : 0),
51
56
  });
52
57
  };
53
58
 
@@ -1,3 +1,3 @@
1
- import { View } from "react-native";
1
+ import { Fragment } from "react";
2
2
 
3
- export const ZappAppWrapper = View;
3
+ export const ZappAppWrapper = Fragment;
package/const/index.ts CHANGED
@@ -44,5 +44,3 @@ export const QUICK_BRICK_NAVBAR_SECTIONS = {
44
44
  menu: "navbar-items",
45
45
  left: "nav-bar-left",
46
46
  };
47
-
48
- export const QUICK_BRICK_TOP_CONTAINER = "quick-brick-top-container";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applicaster/quick-brick-core",
3
- "version": "15.0.0-alpha.2239032089",
3
+ "version": "15.0.0-alpha.2349550201",
4
4
  "description": "Core package for Applicaster's Quick Brick App",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -28,13 +28,13 @@
28
28
  },
29
29
  "homepage": "https://github.com/applicaster/quickbrick#readme",
30
30
  "dependencies": {
31
- "@applicaster/applicaster-types": "15.0.0-alpha.2239032089",
32
- "@applicaster/quick-brick-core-plugins": "15.0.0-alpha.2239032089",
33
- "@applicaster/zapp-pipes-v2-client": "15.0.0-alpha.2239032089",
34
- "@applicaster/zapp-react-native-bridge": "15.0.0-alpha.2239032089",
35
- "@applicaster/zapp-react-native-redux": "15.0.0-alpha.2239032089",
36
- "@applicaster/zapp-react-native-ui-components": "15.0.0-alpha.2239032089",
37
- "@applicaster/zapp-react-native-utils": "15.0.0-alpha.2239032089",
31
+ "@applicaster/applicaster-types": "15.0.0-alpha.2349550201",
32
+ "@applicaster/quick-brick-core-plugins": "15.0.0-alpha.2349550201",
33
+ "@applicaster/zapp-pipes-v2-client": "15.0.0-alpha.2349550201",
34
+ "@applicaster/zapp-react-native-bridge": "15.0.0-alpha.2349550201",
35
+ "@applicaster/zapp-react-native-redux": "15.0.0-alpha.2349550201",
36
+ "@applicaster/zapp-react-native-ui-components": "15.0.0-alpha.2349550201",
37
+ "@applicaster/zapp-react-native-utils": "15.0.0-alpha.2349550201",
38
38
  "atob": "^2.1.2",
39
39
  "axios": "^0.28.0",
40
40
  "btoa": "^1.2.1",