Created
December 27, 2024 16:29
-
-
Save jmont96/f660f023fbc5d5b1a774ae174be537b7 to your computer and use it in GitHub Desktop.
iOS Chargeback Protection
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commit 66b7881cc69bec222c3077cb6231863eeca9c92a | |
Author: Jake Montgomery <[email protected]> | |
Date: Tue Jun 25 16:56:04 2024 -0500 | |
nsure | |
diff --git a/apps/sweep-dfs/hooks/useNsure.js b/apps/sweep-dfs/hooks/useNsure.js | |
index 0ba51d9..5c6c546 100644 | |
--- a/apps/sweep-dfs/hooks/useNsure.js | |
+++ b/apps/sweep-dfs/hooks/useNsure.js | |
@@ -2,28 +2,26 @@ import { useEffect, useState } from "react"; | |
import { NativeModules, Platform } from "react-native"; | |
export function useNsure() { | |
- // const [deviceId, setDeviceId] = useState(""); | |
- // const nsureSDK = NativeModules.NSureSDK; | |
- // | |
- // useEffect(() => { | |
- // if (Platform.OS === "ios") { | |
- // console.log("ios"); | |
- // nsureSDK.sharedInstanceWithAppID( | |
- // "9JBW2RHC7JNJN8ZQ", | |
- // (nsure, _deviceId) => { | |
- // setDeviceId(_deviceId); | |
- // }, | |
- // ); | |
- // } else if (Platform.OS === "android") { | |
- // console.log("android"); | |
- // nsureSDK.getDeviceId("9JBW2RHC7JNJN8ZQ", (_deviceId) => { | |
- // setDeviceId(_deviceId); | |
- // }); | |
- // } | |
- // // eslint-disable-next-line react-hooks/exhaustive-deps | |
- // }, []); | |
+ const [deviceId, setDeviceId] = useState(""); | |
+ const nsureSDK = NativeModules.NSureSDK; | |
- const deviceId = ""; | |
+ useEffect(() => { | |
+ if (Platform.OS === "ios") { | |
+ console.log("ios"); | |
+ nsureSDK.sharedInstanceWithAppID( | |
+ "9JBW2RHC7JNJN8ZQ", | |
+ (nsure, _deviceId) => { | |
+ setDeviceId(_deviceId); | |
+ }, | |
+ ); | |
+ } else if (Platform.OS === "android") { | |
+ console.log("android"); | |
+ nsureSDK.getDeviceId("9JBW2RHC7JNJN8ZQ", (_deviceId) => { | |
+ setDeviceId(_deviceId); | |
+ }); | |
+ } | |
+ // eslint-disable-next-line react-hooks/exhaustive-deps | |
+ }, []); | |
return deviceId; | |
} | |
diff --git a/apps/sweep-dfs/ios/LocalPods/nSure/nSure.xcframework/Info.plist b/apps/sweep-dfs/ios/LocalPods/nSure/nSure.xcframework/Info.plist | |
new file mode 100644 | |
index 0000000..d37a87f | |
--- /dev/null | |
+++ b/apps/sweep-dfs/ios/LocalPods/nSure/nSure.xcframework/Info.plist | |
@@ -0,0 +1,40 @@ | |
+<?xml version="1.0" encoding="UTF-8"?> | |
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
+<plist version="1.0"> | |
+<dict> | |
+ <key>AvailableLibraries</key> | |
+ <array> | |
+ <dict> | |
+ <key>LibraryIdentifier</key> | |
+ <string>ios-arm64_x86_64-simulator</string> | |
+ <key>LibraryPath</key> | |
+ <string>nSure.framework</string> | |
+ <key>SupportedArchitectures</key> | |
+ <array> | |
+ <string>arm64</string> | |
+ <string>x86_64</string> | |
+ </array> | |
+ <key>SupportedPlatform</key> | |
+ <string>ios</string> | |
+ <key>SupportedPlatformVariant</key> | |
+ <string>simulator</string> | |
+ </dict> | |
+ <dict> | |
+ <key>LibraryIdentifier</key> | |
+ <string>ios-arm64</string> | |
+ <key>LibraryPath</key> | |
+ <string>nSure.framework</string> | |
+ <key>SupportedArchitectures</key> | |
+ <array> | |
+ <string>arm64</string> | |
+ </array> | |
+ <key>SupportedPlatform</key> | |
+ <string>ios</string> | |
+ </dict> | |
+ </array> | |
+ <key>CFBundlePackageType</key> | |
+ <string>XFWK</string> | |
+ <key>XCFrameworkFormatVersion</key> | |
+ <string>1.0</string> | |
+</dict> | |
+</plist> | |
diff --git a/apps/sweep-dfs/ios/LocalPods/nSure/nSure.xcframework/ios-arm64/nSure.framework/Headers/NSure.h b/apps/sweep-dfs/ios/LocalPods/nSure/nSure.xcframework/ios-arm64/nSure.framework/Headers/NSure.h | |
new file mode 100644 | |
index 0000000..b9fa6ae | |
--- /dev/null | |
+++ b/apps/sweep-dfs/ios/LocalPods/nSure/nSure.xcframework/ios-arm64/nSure.framework/Headers/NSure.h | |
@@ -0,0 +1,48 @@ | |
+// | |
+// NSure | |
+// | |
+// Copyright © 2021 nSure. All rights reserved. | |
+// | |
+ | |
+#import <UIKit/UIKit.h> | |
+ | |
+@interface NSure : NSObject | |
+ | |
+/*! | |
+ Returns (and creates, if needed) a singleton instance of the API. | |
+ | |
+ This method will return a singleton instance of the <code>nSure</code> class for | |
+ you using the given app ID. | |
+ | |
+ @param appId your app ID | |
+ @param partherID Optional parther ID | |
+ */ | |
++ (nonnull NSure*)sharedInstanceWithAppID:(NSString *_Nonnull)appId partherID:(NSString *_Nullable)partherID; | |
+ | |
+ | |
+/*! | |
+ Returns (and creates, if needed) a singleton instance of the API. | |
+ | |
+ This method will return a singleton instance of the <code>nSure</code> class for | |
+ you using the given app ID. | |
+ | |
+ @param appId your app ID | |
+ */ | |
++ (nonnull NSure*)sharedInstanceWithAppID:(NSString *_Nonnull)appId; | |
+ | |
+/*! | |
+ * Returns a previously instantiated singleton instance. | |
+ */ | |
++ (nullable NSure*)sharedInstance; | |
+ | |
+/** | |
+ * Returns the nSure device ID. | |
+ */ | |
+@property (nonatomic, strong, readonly) NSString * _Nonnull deviceId; | |
+ | |
+/*! | |
+ * Returns the nSure SDK version. | |
+ */ | |
+@property (nonatomic, readonly) NSString * _Nonnull version; | |
+ | |
+@end | |
diff --git a/apps/sweep-dfs/ios/LocalPods/nSure/nSure.xcframework/ios-arm64/nSure.framework/Info.plist b/apps/sweep-dfs/ios/LocalPods/nSure/nSure.xcframework/ios-arm64/nSure.framework/Info.plist | |
new file mode 100644 | |
index 0000000..bfc5d9b | |
Binary files /dev/null and b/apps/sweep-dfs/ios/LocalPods/nSure/nSure.xcframework/ios-arm64/nSure.framework/Info.plist differ | |
diff --git a/apps/sweep-dfs/ios/LocalPods/nSure/nSure.xcframework/ios-arm64/nSure.framework/Modules/module.modulemap b/apps/sweep-dfs/ios/LocalPods/nSure/nSure.xcframework/ios-arm64/nSure.framework/Modules/module.modulemap | |
new file mode 100644 | |
index 0000000..8515f0c | |
--- /dev/null | |
+++ b/apps/sweep-dfs/ios/LocalPods/nSure/nSure.xcframework/ios-arm64/nSure.framework/Modules/module.modulemap | |
@@ -0,0 +1,6 @@ | |
+framework module nSure { | |
+ umbrella header "NSure.h" | |
+ | |
+ export * | |
+ module * { export * } | |
+} | |
diff --git a/apps/sweep-dfs/ios/LocalPods/nSure/nSure.xcframework/ios-arm64/nSure.framework/nSure b/apps/sweep-dfs/ios/LocalPods/nSure/nSure.xcframework/ios-arm64/nSure.framework/nSure | |
new file mode 100755 | |
index 0000000..f91f9dc | |
Binary files /dev/null and b/apps/sweep-dfs/ios/LocalPods/nSure/nSure.xcframework/ios-arm64/nSure.framework/nSure differ | |
diff --git a/apps/sweep-dfs/ios/LocalPods/nSure/nSure.xcframework/ios-arm64_x86_64-simulator/nSure.framework/Headers/NSure.h b/apps/sweep-dfs/ios/LocalPods/nSure/nSure.xcframework/ios-arm64_x86_64-simulator/nSure.framework/Headers/NSure.h | |
new file mode 100644 | |
index 0000000..b9fa6ae | |
--- /dev/null | |
+++ b/apps/sweep-dfs/ios/LocalPods/nSure/nSure.xcframework/ios-arm64_x86_64-simulator/nSure.framework/Headers/NSure.h | |
@@ -0,0 +1,48 @@ | |
+// | |
+// NSure | |
+// | |
+// Copyright © 2021 nSure. All rights reserved. | |
+// | |
+ | |
+#import <UIKit/UIKit.h> | |
+ | |
+@interface NSure : NSObject | |
+ | |
+/*! | |
+ Returns (and creates, if needed) a singleton instance of the API. | |
+ | |
+ This method will return a singleton instance of the <code>nSure</code> class for | |
+ you using the given app ID. | |
+ | |
+ @param appId your app ID | |
+ @param partherID Optional parther ID | |
+ */ | |
++ (nonnull NSure*)sharedInstanceWithAppID:(NSString *_Nonnull)appId partherID:(NSString *_Nullable)partherID; | |
+ | |
+ | |
+/*! | |
+ Returns (and creates, if needed) a singleton instance of the API. | |
+ | |
+ This method will return a singleton instance of the <code>nSure</code> class for | |
+ you using the given app ID. | |
+ | |
+ @param appId your app ID | |
+ */ | |
++ (nonnull NSure*)sharedInstanceWithAppID:(NSString *_Nonnull)appId; | |
+ | |
+/*! | |
+ * Returns a previously instantiated singleton instance. | |
+ */ | |
++ (nullable NSure*)sharedInstance; | |
+ | |
+/** | |
+ * Returns the nSure device ID. | |
+ */ | |
+@property (nonatomic, strong, readonly) NSString * _Nonnull deviceId; | |
+ | |
+/*! | |
+ * Returns the nSure SDK version. | |
+ */ | |
+@property (nonatomic, readonly) NSString * _Nonnull version; | |
+ | |
+@end | |
diff --git a/apps/sweep-dfs/ios/LocalPods/nSure/nSure.xcframework/ios-arm64_x86_64-simulator/nSure.framework/Info.plist b/apps/sweep-dfs/ios/LocalPods/nSure/nSure.xcframework/ios-arm64_x86_64-simulator/nSure.framework/Info.plist | |
new file mode 100644 | |
index 0000000..ca2fd9e | |
Binary files /dev/null and b/apps/sweep-dfs/ios/LocalPods/nSure/nSure.xcframework/ios-arm64_x86_64-simulator/nSure.framework/Info.plist differ | |
diff --git a/apps/sweep-dfs/ios/LocalPods/nSure/nSure.xcframework/ios-arm64_x86_64-simulator/nSure.framework/Modules/module.modulemap b/apps/sweep-dfs/ios/LocalPods/nSure/nSure.xcframework/ios-arm64_x86_64-simulator/nSure.framework/Modules/module.modulemap | |
new file mode 100644 | |
index 0000000..8515f0c | |
--- /dev/null | |
+++ b/apps/sweep-dfs/ios/LocalPods/nSure/nSure.xcframework/ios-arm64_x86_64-simulator/nSure.framework/Modules/module.modulemap | |
@@ -0,0 +1,6 @@ | |
+framework module nSure { | |
+ umbrella header "NSure.h" | |
+ | |
+ export * | |
+ module * { export * } | |
+} | |
diff --git a/apps/sweep-dfs/ios/LocalPods/nSure/nSure.xcframework/ios-arm64_x86_64-simulator/nSure.framework/_CodeSignature/CodeResources b/apps/sweep-dfs/ios/LocalPods/nSure/nSure.xcframework/ios-arm64_x86_64-simulator/nSure.framework/_CodeSignature/CodeResources | |
new file mode 100644 | |
index 0000000..001cd20 | |
--- /dev/null | |
+++ b/apps/sweep-dfs/ios/LocalPods/nSure/nSure.xcframework/ios-arm64_x86_64-simulator/nSure.framework/_CodeSignature/CodeResources | |
@@ -0,0 +1,132 @@ | |
+<?xml version="1.0" encoding="UTF-8"?> | |
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
+<plist version="1.0"> | |
+<dict> | |
+ <key>files</key> | |
+ <dict> | |
+ <key>Headers/NSure.h</key> | |
+ <data> | |
+ hTK4+sBK026/FOMZDe4K7brZ60U= | |
+ </data> | |
+ <key>Info.plist</key> | |
+ <data> | |
+ 9Prx3K+0g7YXMNd1N8E+1Cxjpy8= | |
+ </data> | |
+ <key>Modules/module.modulemap</key> | |
+ <data> | |
+ No0YNykh3tfE26cXOtVidJtZmBo= | |
+ </data> | |
+ </dict> | |
+ <key>files2</key> | |
+ <dict> | |
+ <key>Headers/NSure.h</key> | |
+ <dict> | |
+ <key>hash</key> | |
+ <data> | |
+ hTK4+sBK026/FOMZDe4K7brZ60U= | |
+ </data> | |
+ <key>hash2</key> | |
+ <data> | |
+ upxA9bhYmHNlkYkt2ypgMZh6CZ0SHYoobPSIg3lSGc8= | |
+ </data> | |
+ </dict> | |
+ <key>Modules/module.modulemap</key> | |
+ <dict> | |
+ <key>hash</key> | |
+ <data> | |
+ No0YNykh3tfE26cXOtVidJtZmBo= | |
+ </data> | |
+ <key>hash2</key> | |
+ <data> | |
+ nt6/fsaycwTaqc+La0gl6+W2fvvbZV+KIEQFccoSWII= | |
+ </data> | |
+ </dict> | |
+ </dict> | |
+ <key>rules</key> | |
+ <dict> | |
+ <key>^.*</key> | |
+ <true/> | |
+ <key>^.*\.lproj/</key> | |
+ <dict> | |
+ <key>optional</key> | |
+ <true/> | |
+ <key>weight</key> | |
+ <real>1000</real> | |
+ </dict> | |
+ <key>^.*\.lproj/locversion.plist$</key> | |
+ <dict> | |
+ <key>omit</key> | |
+ <true/> | |
+ <key>weight</key> | |
+ <real>1100</real> | |
+ </dict> | |
+ <key>^Base\.lproj/</key> | |
+ <dict> | |
+ <key>weight</key> | |
+ <real>1010</real> | |
+ </dict> | |
+ <key>^version.plist$</key> | |
+ <true/> | |
+ </dict> | |
+ <key>rules2</key> | |
+ <dict> | |
+ <key>.*\.dSYM($|/)</key> | |
+ <dict> | |
+ <key>weight</key> | |
+ <real>11</real> | |
+ </dict> | |
+ <key>^(.*/)?\.DS_Store$</key> | |
+ <dict> | |
+ <key>omit</key> | |
+ <true/> | |
+ <key>weight</key> | |
+ <real>2000</real> | |
+ </dict> | |
+ <key>^.*</key> | |
+ <true/> | |
+ <key>^.*\.lproj/</key> | |
+ <dict> | |
+ <key>optional</key> | |
+ <true/> | |
+ <key>weight</key> | |
+ <real>1000</real> | |
+ </dict> | |
+ <key>^.*\.lproj/locversion.plist$</key> | |
+ <dict> | |
+ <key>omit</key> | |
+ <true/> | |
+ <key>weight</key> | |
+ <real>1100</real> | |
+ </dict> | |
+ <key>^Base\.lproj/</key> | |
+ <dict> | |
+ <key>weight</key> | |
+ <real>1010</real> | |
+ </dict> | |
+ <key>^Info\.plist$</key> | |
+ <dict> | |
+ <key>omit</key> | |
+ <true/> | |
+ <key>weight</key> | |
+ <real>20</real> | |
+ </dict> | |
+ <key>^PkgInfo$</key> | |
+ <dict> | |
+ <key>omit</key> | |
+ <true/> | |
+ <key>weight</key> | |
+ <real>20</real> | |
+ </dict> | |
+ <key>^embedded\.provisionprofile$</key> | |
+ <dict> | |
+ <key>weight</key> | |
+ <real>20</real> | |
+ </dict> | |
+ <key>^version\.plist$</key> | |
+ <dict> | |
+ <key>weight</key> | |
+ <real>20</real> | |
+ </dict> | |
+ </dict> | |
+</dict> | |
+</plist> | |
diff --git a/apps/sweep-dfs/ios/LocalPods/nSure/nSure.xcframework/ios-arm64_x86_64-simulator/nSure.framework/nSure b/apps/sweep-dfs/ios/LocalPods/nSure/nSure.xcframework/ios-arm64_x86_64-simulator/nSure.framework/nSure | |
new file mode 100755 | |
index 0000000..e563f12 | |
Binary files /dev/null and b/apps/sweep-dfs/ios/LocalPods/nSure/nSure.xcframework/ios-arm64_x86_64-simulator/nSure.framework/nSure differ | |
diff --git a/apps/sweep-dfs/ios/LocalPods/nSure/nsure.podspec b/apps/sweep-dfs/ios/LocalPods/nSure/nsure.podspec | |
new file mode 100644 | |
index 0000000..3c1f140 | |
--- /dev/null | |
+++ b/apps/sweep-dfs/ios/LocalPods/nSure/nsure.podspec | |
@@ -0,0 +1,12 @@ | |
+Pod::Spec.new do |s| | |
+ s.name = "nSure" | |
+ s.version = "1.0.0" | |
+ s.summary = "nSure framework" | |
+ s.authors = "nSure" | |
+ s.homepage = "www.nsure.ai" | |
+ s.ios.deployment_target = "9.0" | |
+ s.preserve_paths = 'nSure.xcframework/*' | |
+ s.source_files = 'nSure.xcframework/ios-arm64_armv7/nSure.framework/Headers/*.{h,m,swift}' | |
+ s.ios.vendored_frameworks = "nSure.xcframework" | |
+ s.source = { :git => "$HOME/MyFrameworkDistribution.git", :tag => "#{s.version}" } | |
+end | |
diff --git a/apps/sweep-dfs/ios/LocalPods/readme.txt b/apps/sweep-dfs/ios/LocalPods/readme.txt | |
new file mode 100644 | |
index 0000000..8afd026 | |
--- /dev/null | |
+++ b/apps/sweep-dfs/ios/LocalPods/readme.txt | |
@@ -0,0 +1,5 @@ | |
+1. Add LocalPod folder in Podfile folder level. | |
+2. Add following line in Podfile. | |
+3. do 'pod install' | |
+ | |
+pod 'nSure', :path => 'LocalPods/nSure' | |
diff --git a/apps/sweep-dfs/ios/NSureSDK.h b/apps/sweep-dfs/ios/NSureSDK.h | |
new file mode 100644 | |
index 0000000..58eb229 | |
--- /dev/null | |
+++ b/apps/sweep-dfs/ios/NSureSDK.h | |
@@ -0,0 +1,12 @@ | |
+// | |
+// NSureSDK.h | |
+// | |
+// Copyright © 2019 nSure. All rights reserved. | |
+// | |
+ | |
+#import <React/RCTBridgeModule.h> | |
+ | |
+ | |
+@interface NSureSDK : NSObject <RCTBridgeModule> | |
+ | |
+@end | |
diff --git a/apps/sweep-dfs/ios/NSureSDK.m b/apps/sweep-dfs/ios/NSureSDK.m | |
new file mode 100644 | |
index 0000000..cd800bb | |
--- /dev/null | |
+++ b/apps/sweep-dfs/ios/NSureSDK.m | |
@@ -0,0 +1,61 @@ | |
+// | |
+// NSureSDK.m | |
+// | |
+// Copyright © 2019 nSure. All rights reserved. | |
+// | |
+ | |
+#import "NSureSDK.h" | |
+#import <nSure/nSure.h> | |
+ | |
+@implementation NSureSDK | |
+ | |
+- (dispatch_queue_t)methodQueue | |
+{ | |
+ return dispatch_get_main_queue(); | |
+} | |
+ | |
+RCT_EXPORT_MODULE(); | |
+ | |
+/*! | |
+ Returns (and creates, if needed) a singleton instance of the API. | |
+ | |
+ This method will return a singleton instance of the <code>nSure</code> class for | |
+ you using the given app ID. If an instance does not exist, this method will create | |
+ one using <code>initWithToken:launchOptions:andFlushInterval:</code>. | |
+ | |
+ @param appId your app ID | |
+ */ | |
+RCT_EXPORT_METHOD(sharedInstanceWithAppID:(NSString *)appId callback:(RCTResponseSenderBlock)callback) | |
+{ | |
+ NSure *nsure = [NSure sharedInstanceWithAppID:appId]; | |
+ callback(@[nsure, nsure.deviceId]); | |
+} | |
+ | |
+/*! | |
+ * Returns a previously instantiated singleton instance. | |
+ */ | |
+RCT_EXPORT_METHOD(sharedInstanceWithCallback:(RCTResponseSenderBlock)callback) | |
+{ | |
+ NSure *nsure = [NSure sharedInstance]; | |
+ callback(@[nsure]); | |
+} | |
+ | |
+/** | |
+ * Returns the nSure device ID. | |
+ */ | |
+RCT_EXPORT_METHOD(deviceIdWithCallback:(RCTResponseSenderBlock)callback) | |
+{ | |
+ NSure *nsure = [NSure sharedInstance]; | |
+ callback(@[nsure.deviceId]); | |
+} | |
+ | |
+/*! | |
+ * Returns the nSure SDK version. | |
+ */ | |
+RCT_EXPORT_METHOD(versionWithCallback:(RCTResponseSenderBlock)callback) | |
+{ | |
+ NSure *nsure = [NSure sharedInstance]; | |
+ callback(@[nsure.version]); | |
+} | |
+ | |
+@end | |
diff --git a/apps/sweep-dfs/ios/Podfile b/apps/sweep-dfs/ios/Podfile | |
index b7cc1c5..340eb8a 100644 | |
--- a/apps/sweep-dfs/ios/Podfile | |
+++ b/apps/sweep-dfs/ios/Podfile | |
@@ -17,6 +17,8 @@ target 'sweepdfs' do | |
use_expo_modules! | |
config = use_native_modules! | |
+ pod 'nSure', :path => 'LocalPods/nSure' | |
+ | |
use_frameworks! :linkage => podfile_properties['ios.useFrameworks'].to_sym if podfile_properties['ios.useFrameworks'] | |
use_frameworks! :linkage => ENV['USE_FRAMEWORKS'].to_sym if ENV['USE_FRAMEWORKS'] | |
diff --git a/apps/sweep-dfs/ios/Podfile.lock b/apps/sweep-dfs/ios/Podfile.lock | |
index 43b4a23..3c59e15 100644 | |
--- a/apps/sweep-dfs/ios/Podfile.lock | |
+++ b/apps/sweep-dfs/ios/Podfile.lock | |
@@ -88,6 +88,7 @@ PODS: | |
- hermes-engine (0.74.2): | |
- hermes-engine/Pre-built (= 0.74.2) | |
- hermes-engine/Pre-built (0.74.2) | |
+ - nSure (1.0.0) | |
- RCT-Folly (2024.01.01.00): | |
- boost | |
- DoubleConversion | |
@@ -1372,6 +1373,7 @@ DEPENDENCIES: | |
- fmt (from `../../../node_modules/react-native/third-party-podspecs/fmt.podspec`) | |
- glog (from `../../../node_modules/react-native/third-party-podspecs/glog.podspec`) | |
- hermes-engine (from `../../../node_modules/react-native/sdks/hermes-engine/hermes-engine.podspec`) | |
+ - nSure (from `LocalPods/nSure`) | |
- RCT-Folly (from `../../../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`) | |
- RCT-Folly/Fabric (from `../../../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`) | |
- RCTDeprecation (from `../../../node_modules/react-native/ReactApple/Libraries/RCTFoundation/RCTDeprecation`) | |
@@ -1491,6 +1493,8 @@ EXTERNAL SOURCES: | |
hermes-engine: | |
:podspec: "../../../node_modules/react-native/sdks/hermes-engine/hermes-engine.podspec" | |
:tag: hermes-2024-06-03-RNv0.74.2-bb1e74fe1e95c2b5a2f4f9311152da052badc2bc | |
+ nSure: | |
+ :path: LocalPods/nSure | |
RCT-Folly: | |
:podspec: "../../../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec" | |
RCTDeprecation: | |
@@ -1635,6 +1639,7 @@ SPEC CHECKSUMS: | |
fmt: 4c2741a687cc09f0634a2e2c72a838b99f1ff120 | |
glog: fdfdfe5479092de0c4bdbebedd9056951f092c4f | |
hermes-engine: 01d3e052018c2a13937aca1860fbedbccd4a41b7 | |
+ nSure: 66db5524a440293c0cad210d2a95986dc68d5edd | |
RCT-Folly: 02617c592a293bd6d418e0a88ff4ee1f88329b47 | |
RCTDeprecation: b03c35057846b685b3ccadc9bfe43e349989cdb2 | |
RCTRequired: 194626909cfa8d39ca6663138c417bc6c431648c | |
@@ -1695,6 +1700,6 @@ SPEC CHECKSUMS: | |
SocketRocket: abac6f5de4d4d62d24e11868d7a2f427e0ef940d | |
Yoga: ae3c32c514802d30f687a04a6a35b348506d411f | |
-PODFILE CHECKSUM: ec8081d7631567c7751280a2e7fc43535f402b0b | |
+PODFILE CHECKSUM: bf097467c11188f3d12e8612bb2307527a71058c | |
COCOAPODS: 1.14.3 | |
diff --git a/apps/sweep-dfs/ios/sweepdfs.xcodeproj/project.pbxproj b/apps/sweep-dfs/ios/sweepdfs.xcodeproj/project.pbxproj | |
index 413a938..eb1c42c 100644 | |
--- a/apps/sweep-dfs/ios/sweepdfs.xcodeproj/project.pbxproj | |
+++ b/apps/sweep-dfs/ios/sweepdfs.xcodeproj/project.pbxproj | |
@@ -3,7 +3,7 @@ | |
archiveVersion = 1; | |
classes = { | |
}; | |
- objectVersion = 46; | |
+ objectVersion = 54; | |
objects = { | |
/* Begin PBXBuildFile section */ | |
@@ -16,6 +16,7 @@ | |
B2ADFF1C8C63BF18E0C9AFA6 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = A09EF5211146A08A4D6C48F7 /* PrivacyInfo.xcprivacy */; }; | |
B3C9527AA60F4DA59E4F1BAC /* noop-file.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6CA574E6E6C94520B8BC8B89 /* noop-file.swift */; }; | |
BB2F792D24A3F905000567C9 /* Expo.plist in Resources */ = {isa = PBXBuildFile; fileRef = BB2F792C24A3F905000567C9 /* Expo.plist */; }; | |
+ F06615452C2B6FAB00ECACF7 /* NSureSDK.m in Sources */ = {isa = PBXBuildFile; fileRef = F06615442C2B6FAB00ECACF7 /* NSureSDK.m */; }; | |
/* End PBXBuildFile section */ | |
/* Begin PBXFileReference section */ | |
@@ -30,10 +31,12 @@ | |
6C2E3173556A471DD304B334 /* Pods-sweepdfs.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-sweepdfs.debug.xcconfig"; path = "Target Support Files/Pods-sweepdfs/Pods-sweepdfs.debug.xcconfig"; sourceTree = "<group>"; }; | |
6CA574E6E6C94520B8BC8B89 /* noop-file.swift */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 4; includeInIndex = 0; lastKnownFileType = sourcecode.swift; name = "noop-file.swift"; path = "sweepdfs/noop-file.swift"; sourceTree = "<group>"; }; | |
7A4D352CD337FB3A3BF06240 /* Pods-sweepdfs.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-sweepdfs.release.xcconfig"; path = "Target Support Files/Pods-sweepdfs/Pods-sweepdfs.release.xcconfig"; sourceTree = "<group>"; }; | |
- A09EF5211146A08A4D6C48F7 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; includeInIndex = 1; name = PrivacyInfo.xcprivacy; path = sweepdfs/PrivacyInfo.xcprivacy; sourceTree = "<group>"; }; | |
+ A09EF5211146A08A4D6C48F7 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xml; name = PrivacyInfo.xcprivacy; path = sweepdfs/PrivacyInfo.xcprivacy; sourceTree = "<group>"; }; | |
AA286B85B6C04FC6940260E9 /* SplashScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = SplashScreen.storyboard; path = sweepdfs/SplashScreen.storyboard; sourceTree = "<group>"; }; | |
BB2F792C24A3F905000567C9 /* Expo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Expo.plist; sourceTree = "<group>"; }; | |
ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; }; | |
+ F06615432C2B6FAB00ECACF7 /* NSureSDK.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NSureSDK.h; sourceTree = "<group>"; }; | |
+ F06615442C2B6FAB00ECACF7 /* NSureSDK.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = NSureSDK.m; sourceTree = "<group>"; }; | |
FAC715A2D49A985799AEE119 /* ExpoModulesProvider.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ExpoModulesProvider.swift; path = "Pods/Target Support Files/Pods-sweepdfs/ExpoModulesProvider.swift"; sourceTree = "<group>"; }; | |
/* End PBXFileReference section */ | |
@@ -85,6 +88,8 @@ | |
83CBB9F61A601CBA00E9B192 = { | |
isa = PBXGroup; | |
children = ( | |
+ F06615432C2B6FAB00ECACF7 /* NSureSDK.h */, | |
+ F06615442C2B6FAB00ECACF7 /* NSureSDK.m */, | |
13B07FAE1A68108700A75B9A /* sweepdfs */, | |
832341AE1AAA6A7D00B99B32 /* Libraries */, | |
83CBBA001A601CBA00E9B192 /* Products */, | |
@@ -274,10 +279,12 @@ | |
inputPaths = ( | |
"${PODS_ROOT}/Target Support Files/Pods-sweepdfs/Pods-sweepdfs-frameworks.sh", | |
"${PODS_XCFRAMEWORKS_BUILD_DIR}/hermes-engine/Pre-built/hermes.framework/hermes", | |
+ "${PODS_XCFRAMEWORKS_BUILD_DIR}/nSure/nSure.framework/nSure", | |
); | |
name = "[CP] Embed Pods Frameworks"; | |
outputPaths = ( | |
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/hermes.framework", | |
+ "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/nSure.framework", | |
); | |
runOnlyForDeploymentPostprocessing = 0; | |
shellPath = /bin/sh; | |
@@ -328,6 +335,7 @@ | |
13B07FBC1A68108700A75B9A /* AppDelegate.mm in Sources */, | |
13B07FC11A68108700A75B9A /* main.m in Sources */, | |
B18059E884C0ABDD17F3DC3D /* ExpoModulesProvider.swift in Sources */, | |
+ F06615452C2B6FAB00ECACF7 /* NSureSDK.m in Sources */, | |
B3C9527AA60F4DA59E4F1BAC /* noop-file.swift in Sources */, | |
); | |
runOnlyForDeploymentPostprocessing = 0; | |
@@ -350,7 +358,10 @@ | |
); | |
INFOPLIST_FILE = sweepdfs/Info.plist; | |
IPHONEOS_DEPLOYMENT_TARGET = 13.4; | |
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; | |
+ LD_RUNPATH_SEARCH_PATHS = ( | |
+ "$(inherited)", | |
+ "@executable_path/Frameworks", | |
+ ); | |
MARKETING_VERSION = 1.0; | |
OTHER_LDFLAGS = ( | |
"$(inherited)", | |
@@ -378,7 +389,10 @@ | |
CURRENT_PROJECT_VERSION = 1; | |
INFOPLIST_FILE = sweepdfs/Info.plist; | |
IPHONEOS_DEPLOYMENT_TARGET = 13.4; | |
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; | |
+ LD_RUNPATH_SEARCH_PATHS = ( | |
+ "$(inherited)", | |
+ "@executable_path/Frameworks", | |
+ ); | |
MARKETING_VERSION = 1.0; | |
OTHER_LDFLAGS = ( | |
"$(inherited)", | |
@@ -447,7 +461,10 @@ | |
IPHONEOS_DEPLOYMENT_TARGET = 13.4; | |
LD = ""; | |
LDPLUSPLUS = ""; | |
- LD_RUNPATH_SEARCH_PATHS = "/usr/lib/swift $(inherited)"; | |
+ LD_RUNPATH_SEARCH_PATHS = ( | |
+ /usr/lib/swift, | |
+ "$(inherited)", | |
+ ); | |
LIBRARY_SEARCH_PATHS = "$(SDKROOT)/usr/lib/swift\"$(inherited)\""; | |
MTL_ENABLE_DEBUG_INFO = YES; | |
ONLY_ACTIVE_ARCH = YES; | |
@@ -506,7 +523,10 @@ | |
IPHONEOS_DEPLOYMENT_TARGET = 13.4; | |
LD = ""; | |
LDPLUSPLUS = ""; | |
- LD_RUNPATH_SEARCH_PATHS = "/usr/lib/swift $(inherited)"; | |
+ LD_RUNPATH_SEARCH_PATHS = ( | |
+ /usr/lib/swift, | |
+ "$(inherited)", | |
+ ); | |
LIBRARY_SEARCH_PATHS = "$(SDKROOT)/usr/lib/swift\"$(inherited)\""; | |
MTL_ENABLE_DEBUG_INFO = NO; | |
OTHER_LDFLAGS = ( |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment