Skip to content

Commit

Permalink
chore: update dev dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
pshoniuk committed Oct 23, 2023
1 parent 151782d commit 64a17ed
Show file tree
Hide file tree
Showing 7 changed files with 3,083 additions and 2,009 deletions.
8 changes: 3 additions & 5 deletions e2e/utils/elementActions.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
export async function getElWidth(el: Detox.NativeElement | Detox.IndexableNativeElement) {
const attrs = await el.getAttributes()

if ('elements' in attrs) {
return attrs.elements[0]?.frame?.width
} else if ('frame' in attrs) {
const allAttrs = await el.getAttributes()
const attrs = 'elements' in allAttrs ? allAttrs.elements[0] : allAttrs
if ('frame' in attrs) {
return attrs.frame.width
}
return attrs.width
Expand Down
15 changes: 15 additions & 0 deletions example/ios/GiphyReactNativeSdkExample.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -581,6 +581,7 @@
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION,
);
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
Expand All @@ -606,6 +607,11 @@
"$(inherited)",
" ",
);
OTHER_LDFLAGS = (
"$(inherited)",
"-Wl",
"-ld_classic",
);
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
SDKROOT = iphoneos;
};
Expand Down Expand Up @@ -647,6 +653,10 @@
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = i386;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_NO_COMMON_BLOCKS = YES;
GCC_PREPROCESSOR_DEFINITIONS = (
"$(inherited)",
_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION,
);
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
Expand All @@ -669,6 +679,11 @@
"$(inherited)",
" ",
);
OTHER_LDFLAGS = (
"$(inherited)",
"-Wl",
"-ld_classic",
);
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
SDKROOT = iphoneos;
VALIDATE_PRODUCT = YES;
Expand Down
Loading

0 comments on commit 64a17ed

Please sign in to comment.