Skip to content

Commit

Permalink
fix: the pod KhipuClientIOS now uses resource_bundles instead of reso…
Browse files Browse the repository at this point in the history
…urces

No need to do anything with the iOS proyect now in order to work
  • Loading branch information
edavism committed Jun 1, 2024
1 parent 145fe98 commit 98911cc
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 20 deletions.
16 changes: 6 additions & 10 deletions example/ios/KhipuExample.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
0C80B921A6F3F58F76C31292 /* libPods-KhipuExample.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5DCACB8F33CDC322A6C60F78 /* libPods-KhipuExample.a */; };
13B07FBC1A68108700A75B9A /* AppDelegate.mm in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.mm */; };
13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
4A662EB32C0BCFA30015CFB8 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
7699B88040F8A987B510C191 /* libPods-KhipuExample-KhipuExampleTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 19F6CBCC0A4E27FBF8BF4A61 /* libPods-KhipuExample-KhipuExampleTests.a */; };
81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */; };
B73722B6758373B5B407899E /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = BE2559F39B6A2E55B710D9C4 /* PrivacyInfo.xcprivacy */; };
Expand All @@ -33,7 +34,7 @@
13B07F961A680F5B00A75B9A /* KhipuExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = KhipuExample.app; sourceTree = BUILT_PRODUCTS_DIR; };
13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = KhipuExample/AppDelegate.h; sourceTree = "<group>"; };
13B07FB01A68108700A75B9A /* AppDelegate.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = AppDelegate.mm; path = KhipuExample/AppDelegate.mm; sourceTree = "<group>"; };
13B07FB51A68108700A75B9A /* MyImages.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = MyImages.xcassets; path = KhipuExample/MyImages.xcassets; sourceTree = "<group>"; };
13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = KhipuExample/Images.xcassets; sourceTree = "<group>"; };
13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = KhipuExample/Info.plist; sourceTree = "<group>"; };
13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = KhipuExample/main.m; sourceTree = "<group>"; };
13B07FB81A68108700A75B9A /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = PrivacyInfo.xcprivacy; path = KhipuExample/PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
Expand Down Expand Up @@ -90,7 +91,7 @@
children = (
13B07FAF1A68108700A75B9A /* AppDelegate.h */,
13B07FB01A68108700A75B9A /* AppDelegate.mm */,
13B07FB51A68108700A75B9A /* MyImages.xcassets */,
13B07FB51A68108700A75B9A /* Images.xcassets */,
13B07FB61A68108700A75B9A /* Info.plist */,
81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */,
13B07FB71A68108700A75B9A /* main.m */,
Expand Down Expand Up @@ -245,6 +246,7 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
4A662EB32C0BCFA30015CFB8 /* Images.xcassets in Resources */,
81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */,
B73722B6758373B5B407899E /* PrivacyInfo.xcprivacy in Resources */,
);
Expand Down Expand Up @@ -592,10 +594,7 @@
"-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 @@ -667,10 +666,7 @@
"-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
10 changes: 5 additions & 5 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ PODS:
- KhenshinProtocol (1.0.42)
- KhenshinSecureMessage (1.2.0):
- KHTweetNacl
- KhipuClientIOS (1.1.4):
- KhipuClientIOS (1.1.5):
- KhenshinProtocol (= 1.0.42)
- KhenshinSecureMessage (= 1.2.0)
- Socket.IO-Client-Swift
Expand Down Expand Up @@ -944,11 +944,11 @@ PODS:
- React-Mapbuffer (0.74.1):
- glog
- React-debug
- react-native-khipu (2.1.0):
- react-native-khipu (2.4.0):
- DoubleConversion
- glog
- hermes-engine
- KhipuClientIOS (= 1.1.4)
- KhipuClientIOS
- RCT-Folly (= 2024.01.01.00)
- RCTRequired
- RCTTypeSafety
Expand Down Expand Up @@ -1392,7 +1392,7 @@ SPEC CHECKSUMS:
hermes-engine: 16b8530de1b383cdada1476cf52d1b52f0692cbc
KhenshinProtocol: 36184f1ef7bc2a1d3110f9ec4a8fce73c38ecbda
KhenshinSecureMessage: 60ba9ba77e08568dd992b5ef3850596c0dba8ad1
KhipuClientIOS: 31954a5c96d3e779146e7f63714356978e4d74fc
KhipuClientIOS: d343a5e2f05c4477813b10d24e3c1c64070cf43f
KHTweetNacl: bc84ebc987a5235fc58ae9ccb9de01d504e29e0f
RCT-Folly: 02617c592a293bd6d418e0a88ff4ee1f88329b47
RCTDeprecation: efb313d8126259e9294dc4ee0002f44a6f676aba
Expand All @@ -1418,7 +1418,7 @@ SPEC CHECKSUMS:
React-jsitracing: 233d1a798fe0ff33b8e630b8f00f62c4a8115fbc
React-logger: 7e7403a2b14c97f847d90763af76b84b152b6fce
React-Mapbuffer: 11029dcd47c5c9e057a4092ab9c2a8d10a496a33
react-native-khipu: 4646cd14fee45dc9d50254881eb9e9b3811bcc79
react-native-khipu: 379e4266edd028636244d167c871bc627af5d667
React-nativeconfig: b0073a590774e8b35192fead188a36d1dca23dec
React-NativeModulesApple: df46ff3e3de5b842b30b4ca8a6caae6d7c8ab09f
React-perflogger: 3d31e0d1e8ad891e43a09ac70b7b17a79773003a
Expand Down
10 changes: 5 additions & 5 deletions example/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ export default function App() {
startOperation({
operationId: 'hxet5stmvvoj',
options: {
title: 'Prueba prueba',
title: 'KhipuReactNative',
locale: 'es_CL',
theme: 'light',
skipExitPage: true,
colors: {
lightBackground: '#0000ff',
lightPrimary: '#ff00ff',
lightTopBarContainer: '#ffffff',
lightOnTopBarContainer: '#333333',
// lightBackground: '#0000ff',
// lightPrimary: '#ff00ff',
// lightTopBarContainer: '#ffffff',
// lightOnTopBarContainer: '#333333',
} as KhipuColors,
} as KhipuOptions,
}).then(setResult);
Expand Down

0 comments on commit 98911cc

Please sign in to comment.