Skip to content

Commit

Permalink
Merge pull request #162 from Sphereon-Opensource/feature/mac_changes
Browse files Browse the repository at this point in the history
Feature/mac changes
  • Loading branch information
nklomp authored Sep 30, 2023
2 parents be5b722 + 3c207b9 commit 528f3b3
Show file tree
Hide file tree
Showing 6 changed files with 203 additions and 13 deletions.
27 changes: 16 additions & 11 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ PODS:
- EXSplashScreen (0.18.2):
- ExpoModulesCore
- React-Core
- EXSQLite (11.1.1):
- ExpoModulesCore
- FBLazyVector (0.71.7)
- FBReactNativeSpec (0.71.7):
- RCT-Folly (= 2021.07.22.00)
Expand All @@ -49,15 +51,18 @@ PODS:
- glog (0.3.5)
- JWT (3.0.0-beta.12):
- Base64 (~> 1.1.2)
- libwebp (1.2.4):
- libwebp/demux (= 1.2.4)
- libwebp/mux (= 1.2.4)
- libwebp/webp (= 1.2.4)
- libwebp/demux (1.2.4):
- libwebp (1.3.1):
- libwebp/demux (= 1.3.1)
- libwebp/mux (= 1.3.1)
- libwebp/sharpyuv (= 1.3.1)
- libwebp/webp (= 1.3.1)
- libwebp/demux (1.3.1):
- libwebp/webp
- libwebp/mux (1.2.4):
- libwebp/mux (1.3.1):
- libwebp/demux
- libwebp/webp (1.2.4)
- libwebp/sharpyuv (1.3.1)
- libwebp/webp (1.3.1):
- libwebp/sharpyuv
- Permission-AppTrackingTransparency (3.8.4):
- RNPermissions
- Permission-Camera (3.8.4):
Expand Down Expand Up @@ -690,7 +695,7 @@ SPEC CHECKSUMS:
AppAuth: 31bcec809a638d7bd2f86ea8a52bd45f6e81e7c7
Base64: cecfb41a004124895a7bcee567a89bae5a89d49b
boost: 57d2868c099736d80fcd648bf211b4431e51a558
CatCrypto: 1840d9e5ff3c706b8f414f90d28d63a352078fa0
CatCrypto: a477899b6be4954e75be4897e732da098cc0a5a8
DoubleConversion: 5189b271737e1565bdce30deb4a08d647e3f5f54
EXApplication: d8f53a7eee90a870a75656280e8d4b85726ea903
EXConstants: f348da07e21b23d2b085e270d7b74f282df1a7d9
Expand All @@ -708,14 +713,14 @@ SPEC CHECKSUMS:
FBLazyVector: a89a0525bc7ca174675045c2b492b5280d5a2470
FBReactNativeSpec: 7714e6bc1e9ea23df6c4cb42f0b2fd9c6a3a559c
fmt: ff9d55029c625d3757ed641535fd4a75fedc7ce9
glog: 791fe035093b84822da7f0870421a25839ca7870
glog: 04b94705f318337d7ead9e6d17c019bd9b1f6b1b
JWT: 9b5c05abbcc1a0e69c3c91e1655b3387fc7e581d
libwebp: f62cb61d0a484ba548448a4bd52aabf150ff6eef
libwebp: 33dc822fbbf4503668d09f7885bbfedc76c45e96
Permission-AppTrackingTransparency: 644f9b7ee1355b34c1b552f87c2fc9f440e03236
Permission-Camera: 7ec9ee99704766ff9b90198183387a7f5d82b0c1
Permission-FaceID: 2e7d5070c6df9315c6ed8de8fb22fed69a762b0d
Permission-Notifications: e06c4b115105e9aed6ed8d03c9894c23c1051731
RCT-Folly: 186619bc27c1f94f2f7c6ef60927516c71005915
RCT-Folly: 424b8c9a7a0b9ab2886ffe9c3b041ef628fd4fb1
RCTRequired: 5a4a30ac20c86eeadd6844a9328f78d4168cf9b2
RCTTypeSafety: 279fc5861a89f0f37db3a585f27f971485b4b734
React: 88307a9be3bd0e71a6822271cf28b84a587fb97f
Expand Down
164 changes: 164 additions & 0 deletions ios/SphereonWallet.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = SphereonWallet/Images.xcassets; sourceTree = "<group>"; };
13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = SphereonWallet/Info.plist; sourceTree = "<group>"; };
13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = SphereonWallet/main.m; sourceTree = "<group>"; };
1F6EB0CA2A576BE90077011A /* node_modules */ = {isa = PBXFileReference; lastKnownFileType = folder; name = node_modules; path = ../node_modules; sourceTree = "<group>"; };
1F6EB0CC2A576C670077011A /* libReact-RCTLinking.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; path = "libReact-RCTLinking.a"; sourceTree = BUILT_PRODUCTS_DIR; };
1F6EB0CE2A576CF20077011A /* Linking */ = {isa = PBXFileReference; lastKnownFileType = folder; name = Linking; path = "../node_modules/react-native/Libraries/Linking"; sourceTree = "<group>"; };
1F6EB0D02A576DA60077011A /* LinkingIOS */ = {isa = PBXFileReference; lastKnownFileType = folder; name = LinkingIOS; path = "../node_modules/react-native/Libraries/LinkingIOS"; sourceTree = "<group>"; };
56CBB080799F4E3EB87DEC65 /* noop-file.swift */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 4; includeInIndex = 0; lastKnownFileType = sourcecode.swift; name = "noop-file.swift"; path = "SphereonWallet/noop-file.swift"; sourceTree = "<group>"; };
58EEBF8E8E6FB1BC6CAF49B5 /* libPods-SphereonWallet.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-SphereonWallet.a"; sourceTree = BUILT_PRODUCTS_DIR; };
6C2E3173556A471DD304B334 /* Pods-SphereonWallet.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SphereonWallet.debug.xcconfig"; path = "Target Support Files/Pods-SphereonWallet/Pods-SphereonWallet.debug.xcconfig"; sourceTree = "<group>"; };
Expand Down Expand Up @@ -66,6 +70,10 @@
2D16E6871FA4F8E400B85C8A /* Frameworks */ = {
isa = PBXGroup;
children = (
1F6EB0D02A576DA60077011A /* LinkingIOS */,
1F6EB0CE2A576CF20077011A /* Linking */,
1F6EB0CC2A576C670077011A /* libReact-RCTLinking.a */,
1F6EB0CA2A576BE90077011A /* node_modules */,
ED297162215061F000B7C4FE /* JavaScriptCore.framework */,
58EEBF8E8E6FB1BC6CAF49B5 /* libPods-SphereonWallet.a */,
);
Expand Down Expand Up @@ -313,6 +321,84 @@
"$(inherited)",
"FB_SONARKIT_ENABLED=1",
);
HEADER_SEARCH_PATHS = (
"$(inherited)",
"\"${PODS_ROOT}/Headers/Public\"",
"\"${PODS_ROOT}/Headers/Public/AppAuth\"",
"\"${PODS_ROOT}/Headers/Public/Base64\"",
"\"${PODS_ROOT}/Headers/Public/CatCrypto\"",
"\"${PODS_ROOT}/Headers/Public/DoubleConversion\"",
"\"${PODS_ROOT}/Headers/Public/EXApplication\"",
"\"${PODS_ROOT}/Headers/Public/EXConstants\"",
"\"${PODS_ROOT}/Headers/Public/EXFileSystem\"",
"\"${PODS_ROOT}/Headers/Public/EXFont\"",
"\"${PODS_ROOT}/Headers/Public/EXSQLite\"",
"\"${PODS_ROOT}/Headers/Public/EXSplashScreen\"",
"\"${PODS_ROOT}/Headers/Public/Expo\"",
"\"${PODS_ROOT}/Headers/Public/ExpoModulesCore\"",
"\"${PODS_ROOT}/Headers/Public/FBLazyVector\"",
"\"${PODS_ROOT}/Headers/Public/JWT\"",
"\"${PODS_ROOT}/Headers/Public/Permission-AppTrackingTransparency\"",
"\"${PODS_ROOT}/Headers/Public/Permission-Camera\"",
"\"${PODS_ROOT}/Headers/Public/Permission-FaceID\"",
"\"${PODS_ROOT}/Headers/Public/Permission-Notifications\"",
"\"${PODS_ROOT}/Headers/Public/RCT-Folly\"",
"\"${PODS_ROOT}/Headers/Public/RCTRequired\"",
"\"${PODS_ROOT}/Headers/Public/RCTTypeSafety\"",
"\"${PODS_ROOT}/Headers/Public/RNArgon2\"",
"\"${PODS_ROOT}/Headers/Public/RNCAsyncStorage\"",
"\"${PODS_ROOT}/Headers/Public/RNCMaskedView\"",
"\"${PODS_ROOT}/Headers/Public/RNFS\"",
"\"${PODS_ROOT}/Headers/Public/RNFastImage\"",
"\"${PODS_ROOT}/Headers/Public/RNGestureHandler\"",
"\"${PODS_ROOT}/Headers/Public/RNOS\"",
"\"${PODS_ROOT}/Headers/Public/RNPermissions\"",
"\"${PODS_ROOT}/Headers/Public/RNSVG\"",
"\"${PODS_ROOT}/Headers/Public/RNScreens\"",
"\"${PODS_ROOT}/Headers/Public/RNSecureRandom\"",
"\"${PODS_ROOT}/Headers/Public/RNShare\"",
"\"${PODS_ROOT}/Headers/Public/RNShareMenu\"",
"\"${PODS_ROOT}/Headers/Public/RNTextGradientView\"",
"\"${PODS_ROOT}/Headers/Public/React-Codegen\"",
"\"${PODS_ROOT}/Headers/Public/React-Core\"",
"\"${PODS_ROOT}/Headers/Public/React-RCTAnimation\"",
"\"${PODS_ROOT}/Headers/Public/React-RCTAppDelegate\"",
"\"${PODS_ROOT}/Headers/Public/React-RCTBlob\"",
"\"${PODS_ROOT}/Headers/Public/React-RCTText\"",
"\"${PODS_ROOT}/Headers/Public/React-callinvoker\"",
"\"${PODS_ROOT}/Headers/Public/React-cxxreact\"",
"\"${PODS_ROOT}/Headers/Public/React-jsc\"",
"\"${PODS_ROOT}/Headers/Public/React-jsi\"",
"\"${PODS_ROOT}/Headers/Public/React-jsiexecutor\"",
"\"${PODS_ROOT}/Headers/Public/React-jsinspector\"",
"\"${PODS_ROOT}/Headers/Public/React-logger\"",
"\"${PODS_ROOT}/Headers/Public/React-perflogger\"",
"\"${PODS_ROOT}/Headers/Public/React-runtimeexecutor\"",
"\"${PODS_ROOT}/Headers/Public/ReactCommon\"",
"\"${PODS_ROOT}/Headers/Public/SDWebImage\"",
"\"${PODS_ROOT}/Headers/Public/SDWebImageWebPCoder\"",
"\"${PODS_ROOT}/Headers/Public/Yoga\"",
"\"${PODS_ROOT}/Headers/Public/fmt\"",
"\"${PODS_ROOT}/Headers/Public/glog\"",
"\"${PODS_ROOT}/Headers/Public/libwebp\"",
"\"${PODS_ROOT}/Headers/Public/react-native-app-auth\"",
"\"${PODS_ROOT}/Headers/Public/react-native-blur\"",
"\"${PODS_ROOT}/Headers/Public/react-native-camera\"",
"\"${PODS_ROOT}/Headers/Public/react-native-fingerprint-scanner\"",
"\"${PODS_ROOT}/Headers/Public/react-native-get-random-values\"",
"\"${PODS_ROOT}/Headers/Public/react-native-pager-view\"",
"\"${PODS_ROOT}/Headers/Public/react-native-pure-jwt\"",
"\"${PODS_ROOT}/Headers/Public/react-native-randombytes\"",
"\"${PODS_ROOT}/Headers/Public/react-native-safe-area-context\"",
"\"${PODS_ROOT}/Headers/Public/react-native-secure-key-store\"",
"\"$(PODS_ROOT)/DoubleConversion\"",
"\"${PODS_CONFIGURATION_BUILD_DIR}/ExpoModulesCore/Swift Compatibility Header\"",
"\"$(PODS_ROOT)/Headers/Private/React-bridging/react/bridging\"",
"\"$(PODS_CONFIGURATION_BUILD_DIR)/React-bridging/react_bridging.framework/Headers\"",
"\"$(PODS_ROOT)/boost\"",
"\"$(PODS_ROOT)/Headers/Private/React-Core\"",
"\"$(SRCROOT)/../node_modules/react-native/Libraries/LinkingIOS\"/**",
);
INFOPLIST_FILE = SphereonWallet/Info.plist;
INFOPLIST_KEY_CFBundleDisplayName = "Sphereon Wallet";
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.utilities";
Expand Down Expand Up @@ -347,6 +433,84 @@
CODE_SIGN_ENTITLEMENTS = SphereonWallet/SphereonWallet.entitlements;
CURRENT_PROJECT_VERSION = 16;
DEVELOPMENT_TEAM = DC49UZQT6X;
HEADER_SEARCH_PATHS = (
"$(inherited)",
"\"${PODS_ROOT}/Headers/Public\"",
"\"${PODS_ROOT}/Headers/Public/AppAuth\"",
"\"${PODS_ROOT}/Headers/Public/Base64\"",
"\"${PODS_ROOT}/Headers/Public/CatCrypto\"",
"\"${PODS_ROOT}/Headers/Public/DoubleConversion\"",
"\"${PODS_ROOT}/Headers/Public/EXApplication\"",
"\"${PODS_ROOT}/Headers/Public/EXConstants\"",
"\"${PODS_ROOT}/Headers/Public/EXFileSystem\"",
"\"${PODS_ROOT}/Headers/Public/EXFont\"",
"\"${PODS_ROOT}/Headers/Public/EXSQLite\"",
"\"${PODS_ROOT}/Headers/Public/EXSplashScreen\"",
"\"${PODS_ROOT}/Headers/Public/Expo\"",
"\"${PODS_ROOT}/Headers/Public/ExpoModulesCore\"",
"\"${PODS_ROOT}/Headers/Public/FBLazyVector\"",
"\"${PODS_ROOT}/Headers/Public/JWT\"",
"\"${PODS_ROOT}/Headers/Public/Permission-AppTrackingTransparency\"",
"\"${PODS_ROOT}/Headers/Public/Permission-Camera\"",
"\"${PODS_ROOT}/Headers/Public/Permission-FaceID\"",
"\"${PODS_ROOT}/Headers/Public/Permission-Notifications\"",
"\"${PODS_ROOT}/Headers/Public/RCT-Folly\"",
"\"${PODS_ROOT}/Headers/Public/RCTRequired\"",
"\"${PODS_ROOT}/Headers/Public/RCTTypeSafety\"",
"\"${PODS_ROOT}/Headers/Public/RNArgon2\"",
"\"${PODS_ROOT}/Headers/Public/RNCAsyncStorage\"",
"\"${PODS_ROOT}/Headers/Public/RNCMaskedView\"",
"\"${PODS_ROOT}/Headers/Public/RNFS\"",
"\"${PODS_ROOT}/Headers/Public/RNFastImage\"",
"\"${PODS_ROOT}/Headers/Public/RNGestureHandler\"",
"\"${PODS_ROOT}/Headers/Public/RNOS\"",
"\"${PODS_ROOT}/Headers/Public/RNPermissions\"",
"\"${PODS_ROOT}/Headers/Public/RNSVG\"",
"\"${PODS_ROOT}/Headers/Public/RNScreens\"",
"\"${PODS_ROOT}/Headers/Public/RNSecureRandom\"",
"\"${PODS_ROOT}/Headers/Public/RNShare\"",
"\"${PODS_ROOT}/Headers/Public/RNShareMenu\"",
"\"${PODS_ROOT}/Headers/Public/RNTextGradientView\"",
"\"${PODS_ROOT}/Headers/Public/React-Codegen\"",
"\"${PODS_ROOT}/Headers/Public/React-Core\"",
"\"${PODS_ROOT}/Headers/Public/React-RCTAnimation\"",
"\"${PODS_ROOT}/Headers/Public/React-RCTAppDelegate\"",
"\"${PODS_ROOT}/Headers/Public/React-RCTBlob\"",
"\"${PODS_ROOT}/Headers/Public/React-RCTText\"",
"\"${PODS_ROOT}/Headers/Public/React-callinvoker\"",
"\"${PODS_ROOT}/Headers/Public/React-cxxreact\"",
"\"${PODS_ROOT}/Headers/Public/React-jsc\"",
"\"${PODS_ROOT}/Headers/Public/React-jsi\"",
"\"${PODS_ROOT}/Headers/Public/React-jsiexecutor\"",
"\"${PODS_ROOT}/Headers/Public/React-jsinspector\"",
"\"${PODS_ROOT}/Headers/Public/React-logger\"",
"\"${PODS_ROOT}/Headers/Public/React-perflogger\"",
"\"${PODS_ROOT}/Headers/Public/React-runtimeexecutor\"",
"\"${PODS_ROOT}/Headers/Public/ReactCommon\"",
"\"${PODS_ROOT}/Headers/Public/SDWebImage\"",
"\"${PODS_ROOT}/Headers/Public/SDWebImageWebPCoder\"",
"\"${PODS_ROOT}/Headers/Public/Yoga\"",
"\"${PODS_ROOT}/Headers/Public/fmt\"",
"\"${PODS_ROOT}/Headers/Public/glog\"",
"\"${PODS_ROOT}/Headers/Public/libwebp\"",
"\"${PODS_ROOT}/Headers/Public/react-native-app-auth\"",
"\"${PODS_ROOT}/Headers/Public/react-native-blur\"",
"\"${PODS_ROOT}/Headers/Public/react-native-camera\"",
"\"${PODS_ROOT}/Headers/Public/react-native-fingerprint-scanner\"",
"\"${PODS_ROOT}/Headers/Public/react-native-get-random-values\"",
"\"${PODS_ROOT}/Headers/Public/react-native-pager-view\"",
"\"${PODS_ROOT}/Headers/Public/react-native-pure-jwt\"",
"\"${PODS_ROOT}/Headers/Public/react-native-randombytes\"",
"\"${PODS_ROOT}/Headers/Public/react-native-safe-area-context\"",
"\"${PODS_ROOT}/Headers/Public/react-native-secure-key-store\"",
"\"$(PODS_ROOT)/DoubleConversion\"",
"\"${PODS_CONFIGURATION_BUILD_DIR}/ExpoModulesCore/Swift Compatibility Header\"",
"\"$(PODS_ROOT)/Headers/Private/React-bridging/react/bridging\"",
"\"$(PODS_CONFIGURATION_BUILD_DIR)/React-bridging/react_bridging.framework/Headers\"",
"\"$(PODS_ROOT)/boost\"",
"\"$(PODS_ROOT)/Headers/Private/React-Core\"",
"\"$(SRCROOT)/../node_modules/react-native/Libraries/LinkingIOS\"/**",
);
INFOPLIST_FILE = SphereonWallet/Info.plist;
INFOPLIST_KEY_CFBundleDisplayName = "Sphereon Wallet";
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.utilities";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,13 @@
ReferencedContainer = "container:SphereonWallet.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<EnvironmentVariables>
<EnvironmentVariable
key = "NODE_OPTIONS"
value = "--openssl-legacy-provider"
isEnabled = "YES">
</EnvironmentVariable>
</EnvironmentVariables>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
Expand All @@ -77,6 +84,13 @@
ReferencedContainer = "container:SphereonWallet.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<EnvironmentVariables>
<EnvironmentVariable
key = "NODE_OPTIONS"
value = "--openssl-legacy-provider"
isEnabled = "YES">
</EnvironmentVariable>
</EnvironmentVariables>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
Expand Down
2 changes: 1 addition & 1 deletion ios/SphereonWallet/AppDelegate.mm
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ - (BOOL)concurrentRootEnabled

// Linking API
- (BOOL)application:(UIApplication *)application openURL:(NSURL *)url options:(NSDictionary<UIApplicationOpenURLOptionsKey,id> *)options {
return [super application:application openURL:url options:options] || [RCTLinkingManager application:application openURL:url options:options];
return [RCTLinkingManager application:application openURL:url options:options];
}

// Universal Links
Expand Down
2 changes: 1 addition & 1 deletion ios/SphereonWallet/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>1</string>
<string>2</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSAppTransportSecurity</key>
Expand Down
7 changes: 7 additions & 0 deletions react-native.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module.exports = {
project: {
ios: {},
android: {},
},
assets: ['./src/assets/fonts'],
};

0 comments on commit 528f3b3

Please sign in to comment.