Skip to content

Commit

Permalink
chore: sdk version bump (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
0x7061 authored Feb 14, 2025
2 parents 3495198 + aedf3a9 commit f6f77f1
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 14 deletions.
2 changes: 1 addition & 1 deletion abrevva-react-native.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Pod::Spec.new do |s|

s.dependency "CocoaMQTT"
s.dependency "CryptoSwift"
s.dependency "AbrevvaSDK", '3.0.4'
s.dependency "AbrevvaSDK", '3.0.5'

# Use install_modules_dependencies helper to install the dependencies if React Native version >=0.71.0.
# See https://github.com/facebook/react-native/blob/febf6b7f33fdb4904669f99d795eba4c0f95d7bf/scripts/cocoapods/new_architecture.rb#L79.
Expand Down
10 changes: 8 additions & 2 deletions example/ios/ExampleAppExample.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,10 @@
"-DFOLLY_CFG_NO_COROUTINES=1",
"-DFOLLY_HAVE_CLOCK_GETTIME=1",
);
OTHER_LDFLAGS = "$(inherited) ";
OTHER_LDFLAGS = (
"$(inherited)",
" ",
);
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
SDKROOT = iphoneos;
USE_HERMES = true;
Expand Down Expand Up @@ -712,7 +715,10 @@
"-DFOLLY_CFG_NO_COROUTINES=1",
"-DFOLLY_HAVE_CLOCK_GETTIME=1",
);
OTHER_LDFLAGS = "$(inherited) ";
OTHER_LDFLAGS = (
"$(inherited)",
" ",
);
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
SDKROOT = iphoneos;
USE_HERMES = true;
Expand Down
12 changes: 6 additions & 6 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
PODS:
- abrevva-react-native (3.0.0):
- AbrevvaSDK (= 3.0.4)
- abrevva-react-native (4.0.0):
- AbrevvaSDK (= 3.0.5)
- CocoaMQTT
- CryptoSwift
- DoubleConversion
Expand All @@ -23,7 +23,7 @@ PODS:
- ReactCommon/turbomodule/bridging
- ReactCommon/turbomodule/core
- Yoga
- AbrevvaSDK (3.0.4):
- AbrevvaSDK (3.0.5):
- CocoaMQTT
- CryptoSwift
- boost (1.83.0)
Expand Down Expand Up @@ -1446,8 +1446,8 @@ EXTERNAL SOURCES:
:path: "../node_modules/react-native/ReactCommon/yoga"

SPEC CHECKSUMS:
abrevva-react-native: 7ca56c1e4a3234e18ae34e385022b546f92190c0
AbrevvaSDK: 23cf514f40b2fc3ec7b03eb41a455131bb380a32
abrevva-react-native: b3f650593cbe8c23340b36df61b943e4f0e4aa0f
AbrevvaSDK: 4596dce6e36cce39c23a6a66efeaf257ac2ec147
boost: d3f49c53809116a5d38da093a8aa78bf551aed09
CocoaMQTT: 1f206228b29318eabdacad0c2e4e88575922c27a
CryptoSwift: e64e11850ede528a02a0f3e768cec8e9d92ecb90
Expand Down Expand Up @@ -1520,6 +1520,6 @@ SPEC CHECKSUMS:
SwiftLint: c1de071d9d08c8aba837545f6254315bc900e211
Yoga: bd92064a0d558be92786820514d74fc4dddd1233

PODFILE CHECKSUM: 4b7b9745bd3069b0dfcee04d1901c81317f4fcf9
PODFILE CHECKSUM: 0909d207adaecfc8c6a9a5c300bf5084f055e51f

COCOAPODS: 1.14.3
8 changes: 3 additions & 5 deletions example/src/BleScreenComponents.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,9 @@ const ScanResults = ({ props }) => {
const setScanNotification = props.setScanNotification;

const scanRequestCallback = (data: BleDevice) => {
if (data.advertisementData?.manufacturerData?.companyIdentifier === 2153) {
setDeviceList((prevDeviceList) => {
return [data, ...prevDeviceList];
});
}
setDeviceList((prevDeviceList) => {
return [data, ...prevDeviceList];
});
};

const onRefresh = async () => {
Expand Down

0 comments on commit f6f77f1

Please sign in to comment.