Skip to content

Commit 677ea9c

Browse files
committed
chore(example): update example app
1 parent ce237d4 commit 677ea9c

File tree

2 files changed

+3
-141
lines changed

2 files changed

+3
-141
lines changed

example/ios/FreeraspReactNativeExample.xcodeproj/project.pbxproj

Lines changed: 0 additions & 138 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,9 @@
88

99
/* Begin PBXBuildFile section */
1010
00E356F31AD99517003FC87E /* FreeraspReactNativeExampleTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* FreeraspReactNativeExampleTests.m */; };
11-
0C80B921A6F3F58F76C31292 /* libPods-FreeraspReactNativeExample.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5DCACB8F33CDC322A6C60F78 /* libPods-FreeraspReactNativeExample.a */; };
1211
13B07FBC1A68108700A75B9A /* AppDelegate.mm in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.mm */; };
1312
13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
1413
13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
15-
7699B88040F8A987B510C191 /* libPods-FreeraspReactNativeExample-FreeraspReactNativeExampleTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 19F6CBCC0A4E27FBF8BF4A61 /* libPods-FreeraspReactNativeExample-FreeraspReactNativeExampleTests.a */; };
1614
81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */; };
1715
/* End PBXBuildFile section */
1816

@@ -36,13 +34,7 @@
3634
13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = FreeraspReactNativeExample/Images.xcassets; sourceTree = "<group>"; };
3735
13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = FreeraspReactNativeExample/Info.plist; sourceTree = "<group>"; };
3836
13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = FreeraspReactNativeExample/main.m; sourceTree = "<group>"; };
39-
19F6CBCC0A4E27FBF8BF4A61 /* libPods-FreeraspReactNativeExample-FreeraspReactNativeExampleTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-FreeraspReactNativeExample-FreeraspReactNativeExampleTests.a"; sourceTree = BUILT_PRODUCTS_DIR; };
40-
3B4392A12AC88292D35C810B /* Pods-FreeraspReactNativeExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-FreeraspReactNativeExample.debug.xcconfig"; path = "Target Support Files/Pods-FreeraspReactNativeExample/Pods-FreeraspReactNativeExample.debug.xcconfig"; sourceTree = "<group>"; };
41-
5709B34CF0A7D63546082F79 /* Pods-FreeraspReactNativeExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-FreeraspReactNativeExample.release.xcconfig"; path = "Target Support Files/Pods-FreeraspReactNativeExample/Pods-FreeraspReactNativeExample.release.xcconfig"; sourceTree = "<group>"; };
42-
5B7EB9410499542E8C5724F5 /* Pods-FreeraspReactNativeExample-FreeraspReactNativeExampleTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-FreeraspReactNativeExample-FreeraspReactNativeExampleTests.debug.xcconfig"; path = "Target Support Files/Pods-FreeraspReactNativeExample-FreeraspReactNativeExampleTests/Pods-FreeraspReactNativeExample-FreeraspReactNativeExampleTests.debug.xcconfig"; sourceTree = "<group>"; };
43-
5DCACB8F33CDC322A6C60F78 /* libPods-FreeraspReactNativeExample.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-FreeraspReactNativeExample.a"; sourceTree = BUILT_PRODUCTS_DIR; };
4437
81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = FreeraspReactNativeExample/LaunchScreen.storyboard; sourceTree = "<group>"; };
45-
89C6BE57DB24E9ADA2F236DE /* Pods-FreeraspReactNativeExample-FreeraspReactNativeExampleTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-FreeraspReactNativeExample-FreeraspReactNativeExampleTests.release.xcconfig"; path = "Target Support Files/Pods-FreeraspReactNativeExample-FreeraspReactNativeExampleTests/Pods-FreeraspReactNativeExample-FreeraspReactNativeExampleTests.release.xcconfig"; sourceTree = "<group>"; };
4638
8C2BD8B529DF06E4000304E9 /* Talsec */ = {isa = PBXFileReference; lastKnownFileType = folder; name = Talsec; path = ../../ios/Talsec; sourceTree = "<group>"; };
4739
8C2BD8BB29DF0976000304E9 /* TalsecRuntime.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = TalsecRuntime.xcframework; path = ../../ios/Talsec/TalsecRuntime.xcframework; sourceTree = "<group>"; };
4840
A41E05172962B9FD00B363A8 /* TalsecRuntime.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = TalsecRuntime.xcframework; path = "../../../../React/test2/someTestProject/node_modules/freerasp-react-native/ios/TalsecRuntime.xcframework"; sourceTree = "<group>"; };
@@ -57,15 +49,13 @@
5749
isa = PBXFrameworksBuildPhase;
5850
buildActionMask = 2147483647;
5951
files = (
60-
7699B88040F8A987B510C191 /* libPods-FreeraspReactNativeExample-FreeraspReactNativeExampleTests.a in Frameworks */,
6152
);
6253
runOnlyForDeploymentPostprocessing = 0;
6354
};
6455
13B07F8C1A680F5B00A75B9A /* Frameworks */ = {
6556
isa = PBXFrameworksBuildPhase;
6657
buildActionMask = 2147483647;
6758
files = (
68-
0C80B921A6F3F58F76C31292 /* libPods-FreeraspReactNativeExample.a in Frameworks */,
6959
);
7060
runOnlyForDeploymentPostprocessing = 0;
7161
};
@@ -112,8 +102,6 @@
112102
A44E69A2295DA98F000A719C /* TalsecRuntime.xcframework */,
113103
A41E05172962B9FD00B363A8 /* TalsecRuntime.xcframework */,
114104
ED297162215061F000B7C4FE /* JavaScriptCore.framework */,
115-
5DCACB8F33CDC322A6C60F78 /* libPods-FreeraspReactNativeExample.a */,
116-
19F6CBCC0A4E27FBF8BF4A61 /* libPods-FreeraspReactNativeExample-FreeraspReactNativeExampleTests.a */,
117105
);
118106
name = Frameworks;
119107
sourceTree = "<group>";
@@ -152,10 +140,6 @@
152140
BBD78D7AC51CEA395F1C20DB /* Pods */ = {
153141
isa = PBXGroup;
154142
children = (
155-
3B4392A12AC88292D35C810B /* Pods-FreeraspReactNativeExample.debug.xcconfig */,
156-
5709B34CF0A7D63546082F79 /* Pods-FreeraspReactNativeExample.release.xcconfig */,
157-
5B7EB9410499542E8C5724F5 /* Pods-FreeraspReactNativeExample-FreeraspReactNativeExampleTests.debug.xcconfig */,
158-
89C6BE57DB24E9ADA2F236DE /* Pods-FreeraspReactNativeExample-FreeraspReactNativeExampleTests.release.xcconfig */,
159143
);
160144
path = Pods;
161145
sourceTree = "<group>";
@@ -167,12 +151,9 @@
167151
isa = PBXNativeTarget;
168152
buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "FreeraspReactNativeExampleTests" */;
169153
buildPhases = (
170-
A55EABD7B0C7F3A422A6CC61 /* [CP] Check Pods Manifest.lock */,
171154
00E356EA1AD99517003FC87E /* Sources */,
172155
00E356EB1AD99517003FC87E /* Frameworks */,
173156
00E356EC1AD99517003FC87E /* Resources */,
174-
C59DA0FBD6956966B86A3779 /* [CP] Embed Pods Frameworks */,
175-
F6A41C54EA430FDDC6A6ED99 /* [CP] Copy Pods Resources */,
176157
);
177158
buildRules = (
178159
);
@@ -188,14 +169,11 @@
188169
isa = PBXNativeTarget;
189170
buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "FreeraspReactNativeExample" */;
190171
buildPhases = (
191-
C38B50BA6285516D6DCD4F65 /* [CP] Check Pods Manifest.lock */,
192172
FD10A7F022414F080027D42C /* Start Packager */,
193173
13B07F871A680F5B00A75B9A /* Sources */,
194174
13B07F8C1A680F5B00A75B9A /* Frameworks */,
195175
13B07F8E1A680F5B00A75B9A /* Resources */,
196176
00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */,
197-
00EEFC60759A1932668264C0 /* [CP] Embed Pods Frameworks */,
198-
E235C05ADACE081382539298 /* [CP] Copy Pods Resources */,
199177
);
200178
buildRules = (
201179
);
@@ -278,118 +256,6 @@
278256
shellPath = /bin/sh;
279257
shellScript = "set -e\n\nWITH_ENVIRONMENT=\"../node_modules/react-native/scripts/xcode/with-environment.sh\"\nREACT_NATIVE_XCODE=\"../node_modules/react-native/scripts/react-native-xcode.sh\"\n\n/bin/sh -c \"$WITH_ENVIRONMENT $REACT_NATIVE_XCODE\"\n";
280258
};
281-
00EEFC60759A1932668264C0 /* [CP] Embed Pods Frameworks */ = {
282-
isa = PBXShellScriptBuildPhase;
283-
buildActionMask = 2147483647;
284-
files = (
285-
);
286-
inputFileListPaths = (
287-
"${PODS_ROOT}/Target Support Files/Pods-FreeraspReactNativeExample/Pods-FreeraspReactNativeExample-frameworks-${CONFIGURATION}-input-files.xcfilelist",
288-
);
289-
name = "[CP] Embed Pods Frameworks";
290-
outputFileListPaths = (
291-
"${PODS_ROOT}/Target Support Files/Pods-FreeraspReactNativeExample/Pods-FreeraspReactNativeExample-frameworks-${CONFIGURATION}-output-files.xcfilelist",
292-
);
293-
runOnlyForDeploymentPostprocessing = 0;
294-
shellPath = /bin/sh;
295-
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-FreeraspReactNativeExample/Pods-FreeraspReactNativeExample-frameworks.sh\"\n";
296-
showEnvVarsInLog = 0;
297-
};
298-
A55EABD7B0C7F3A422A6CC61 /* [CP] Check Pods Manifest.lock */ = {
299-
isa = PBXShellScriptBuildPhase;
300-
buildActionMask = 2147483647;
301-
files = (
302-
);
303-
inputFileListPaths = (
304-
);
305-
inputPaths = (
306-
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
307-
"${PODS_ROOT}/Manifest.lock",
308-
);
309-
name = "[CP] Check Pods Manifest.lock";
310-
outputFileListPaths = (
311-
);
312-
outputPaths = (
313-
"$(DERIVED_FILE_DIR)/Pods-FreeraspReactNativeExample-FreeraspReactNativeExampleTests-checkManifestLockResult.txt",
314-
);
315-
runOnlyForDeploymentPostprocessing = 0;
316-
shellPath = /bin/sh;
317-
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
318-
showEnvVarsInLog = 0;
319-
};
320-
C38B50BA6285516D6DCD4F65 /* [CP] Check Pods Manifest.lock */ = {
321-
isa = PBXShellScriptBuildPhase;
322-
buildActionMask = 2147483647;
323-
files = (
324-
);
325-
inputFileListPaths = (
326-
);
327-
inputPaths = (
328-
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
329-
"${PODS_ROOT}/Manifest.lock",
330-
);
331-
name = "[CP] Check Pods Manifest.lock";
332-
outputFileListPaths = (
333-
);
334-
outputPaths = (
335-
"$(DERIVED_FILE_DIR)/Pods-FreeraspReactNativeExample-checkManifestLockResult.txt",
336-
);
337-
runOnlyForDeploymentPostprocessing = 0;
338-
shellPath = /bin/sh;
339-
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
340-
showEnvVarsInLog = 0;
341-
};
342-
C59DA0FBD6956966B86A3779 /* [CP] Embed Pods Frameworks */ = {
343-
isa = PBXShellScriptBuildPhase;
344-
buildActionMask = 2147483647;
345-
files = (
346-
);
347-
inputFileListPaths = (
348-
"${PODS_ROOT}/Target Support Files/Pods-FreeraspReactNativeExample-FreeraspReactNativeExampleTests/Pods-FreeraspReactNativeExample-FreeraspReactNativeExampleTests-frameworks-${CONFIGURATION}-input-files.xcfilelist",
349-
);
350-
name = "[CP] Embed Pods Frameworks";
351-
outputFileListPaths = (
352-
"${PODS_ROOT}/Target Support Files/Pods-FreeraspReactNativeExample-FreeraspReactNativeExampleTests/Pods-FreeraspReactNativeExample-FreeraspReactNativeExampleTests-frameworks-${CONFIGURATION}-output-files.xcfilelist",
353-
);
354-
runOnlyForDeploymentPostprocessing = 0;
355-
shellPath = /bin/sh;
356-
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-FreeraspReactNativeExample-FreeraspReactNativeExampleTests/Pods-FreeraspReactNativeExample-FreeraspReactNativeExampleTests-frameworks.sh\"\n";
357-
showEnvVarsInLog = 0;
358-
};
359-
E235C05ADACE081382539298 /* [CP] Copy Pods Resources */ = {
360-
isa = PBXShellScriptBuildPhase;
361-
buildActionMask = 2147483647;
362-
files = (
363-
);
364-
inputFileListPaths = (
365-
"${PODS_ROOT}/Target Support Files/Pods-FreeraspReactNativeExample/Pods-FreeraspReactNativeExample-resources-${CONFIGURATION}-input-files.xcfilelist",
366-
);
367-
name = "[CP] Copy Pods Resources";
368-
outputFileListPaths = (
369-
"${PODS_ROOT}/Target Support Files/Pods-FreeraspReactNativeExample/Pods-FreeraspReactNativeExample-resources-${CONFIGURATION}-output-files.xcfilelist",
370-
);
371-
runOnlyForDeploymentPostprocessing = 0;
372-
shellPath = /bin/sh;
373-
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-FreeraspReactNativeExample/Pods-FreeraspReactNativeExample-resources.sh\"\n";
374-
showEnvVarsInLog = 0;
375-
};
376-
F6A41C54EA430FDDC6A6ED99 /* [CP] Copy Pods Resources */ = {
377-
isa = PBXShellScriptBuildPhase;
378-
buildActionMask = 2147483647;
379-
files = (
380-
);
381-
inputFileListPaths = (
382-
"${PODS_ROOT}/Target Support Files/Pods-FreeraspReactNativeExample-FreeraspReactNativeExampleTests/Pods-FreeraspReactNativeExample-FreeraspReactNativeExampleTests-resources-${CONFIGURATION}-input-files.xcfilelist",
383-
);
384-
name = "[CP] Copy Pods Resources";
385-
outputFileListPaths = (
386-
"${PODS_ROOT}/Target Support Files/Pods-FreeraspReactNativeExample-FreeraspReactNativeExampleTests/Pods-FreeraspReactNativeExample-FreeraspReactNativeExampleTests-resources-${CONFIGURATION}-output-files.xcfilelist",
387-
);
388-
runOnlyForDeploymentPostprocessing = 0;
389-
shellPath = /bin/sh;
390-
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-FreeraspReactNativeExample-FreeraspReactNativeExampleTests/Pods-FreeraspReactNativeExample-FreeraspReactNativeExampleTests-resources.sh\"\n";
391-
showEnvVarsInLog = 0;
392-
};
393259
FD10A7F022414F080027D42C /* Start Packager */ = {
394260
isa = PBXShellScriptBuildPhase;
395261
buildActionMask = 2147483647;
@@ -442,7 +308,6 @@
442308
/* Begin XCBuildConfiguration section */
443309
00E356F61AD99517003FC87E /* Debug */ = {
444310
isa = XCBuildConfiguration;
445-
baseConfigurationReference = 5B7EB9410499542E8C5724F5 /* Pods-FreeraspReactNativeExample-FreeraspReactNativeExampleTests.debug.xcconfig */;
446311
buildSettings = {
447312
BUNDLE_LOADER = "$(TEST_HOST)";
448313
GCC_PREPROCESSOR_DEFINITIONS = (
@@ -469,7 +334,6 @@
469334
};
470335
00E356F71AD99517003FC87E /* Release */ = {
471336
isa = XCBuildConfiguration;
472-
baseConfigurationReference = 89C6BE57DB24E9ADA2F236DE /* Pods-FreeraspReactNativeExample-FreeraspReactNativeExampleTests.release.xcconfig */;
473337
buildSettings = {
474338
BUNDLE_LOADER = "$(TEST_HOST)";
475339
COPY_PHASE_STRIP = NO;
@@ -493,7 +357,6 @@
493357
};
494358
13B07F941A680F5B00A75B9A /* Debug */ = {
495359
isa = XCBuildConfiguration;
496-
baseConfigurationReference = 3B4392A12AC88292D35C810B /* Pods-FreeraspReactNativeExample.debug.xcconfig */;
497360
buildSettings = {
498361
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
499362
CLANG_ENABLE_MODULES = YES;
@@ -519,7 +382,6 @@
519382
};
520383
13B07F951A680F5B00A75B9A /* Release */ = {
521384
isa = XCBuildConfiguration;
522-
baseConfigurationReference = 5709B34CF0A7D63546082F79 /* Pods-FreeraspReactNativeExample.release.xcconfig */;
523385
buildSettings = {
524386
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
525387
CLANG_ENABLE_MODULES = YES;

example/src/App.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ const App = () => {
3131
certificateHashes: ['AKoRuyLMM91E7lX/Zqp3u4jMmd0A7hH/Iqozu0TMVd0='],
3232
// supportedAlternativeStores: ['storeOne', 'storeTwo'],
3333
malwareConfig: {
34-
blocklistedHashes: ['FgvSehLMM91E7lX/Zqp3u4jMmd0A7hH/Iqozu0TMVd0u'],
35-
blocklistedPackageNames: ['com.wultra.app.screenlogger'],
36-
blocklistedPermissions: [
34+
blacklistedHashes: ['FgvSehLMM91E7lX/Zqp3u4jMmd0A7hH/Iqozu0TMVd0u'],
35+
blacklistedPackageNames: ['com.wultra.app.screenlogger'],
36+
suspiciousPermissions: [
3737
[
3838
'android.permission.INTERNET',
3939
'android.permission.ACCESS_COARSE_LOCATION',

0 commit comments

Comments
 (0)