react-native-pointr 9.5.0 → 9.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (79) hide show
  1. package/API_REFERENCE.md +1035 -557
  2. package/CHANGELOG.md +12 -0
  3. package/README.md +75 -216
  4. package/android/build.gradle +1 -1
  5. package/android/src/main/java/com/pointr/PTRMapWidgetManager.kt +156 -0
  6. package/ios/PTRMapWidgetContainerView.swift +179 -1
  7. package/ios/PTRMapWidgetManager-Bridging.m +6 -0
  8. package/ios/PTRNativeLibrary.swift +14 -0
  9. package/package.json +30 -6
  10. package/react-native-pointr.podspec +1 -1
  11. package/src/PTRMapWidgetUtils.ts +2 -8
  12. package/src/api/MapWidgetApi.ts +45 -0
  13. package/src/api/PointrSdk.ts +241 -0
  14. package/src/api/index.ts +9 -0
  15. package/src/commands/index.ts +275 -0
  16. package/src/components/index.tsx +130 -0
  17. package/src/constants/index.ts +104 -0
  18. package/src/hooks/index.ts +8 -0
  19. package/src/hooks/usePointrEvents.ts +40 -0
  20. package/src/hooks/usePointrPois.ts +41 -0
  21. package/src/hooks/usePointrPosition.ts +31 -0
  22. package/src/hooks/usePointrSdk.ts +41 -0
  23. package/src/index.tsx +87 -7
  24. package/src/{PTRPoiManager.ts → managers/PTRPoiManager.ts} +1 -1
  25. package/src/types/config.ts +57 -0
  26. package/src/types/events.ts +106 -0
  27. package/src/types/index.ts +35 -0
  28. package/.vscode/settings.json +0 -21
  29. package/example/pointr_rn_demo/.bundle/config +0 -2
  30. package/example/pointr_rn_demo/.eslintrc.js +0 -4
  31. package/example/pointr_rn_demo/.prettierrc.js +0 -5
  32. package/example/pointr_rn_demo/.watchmanconfig +0 -1
  33. package/example/pointr_rn_demo/App.tsx +0 -323
  34. package/example/pointr_rn_demo/Gemfile +0 -16
  35. package/example/pointr_rn_demo/Gemfile.lock +0 -111
  36. package/example/pointr_rn_demo/README.md +0 -188
  37. package/example/pointr_rn_demo/__tests__/App.test.tsx +0 -13
  38. package/example/pointr_rn_demo/android/app/build.gradle +0 -119
  39. package/example/pointr_rn_demo/android/app/debug.keystore +0 -0
  40. package/example/pointr_rn_demo/android/app/proguard-rules.pro +0 -10
  41. package/example/pointr_rn_demo/android/app/src/main/AndroidManifest.xml +0 -27
  42. package/example/pointr_rn_demo/android/app/src/main/java/com/pointr_rn_demo/MainActivity.kt +0 -22
  43. package/example/pointr_rn_demo/android/app/src/main/java/com/pointr_rn_demo/MainApplication.kt +0 -27
  44. package/example/pointr_rn_demo/android/app/src/main/res/drawable/rn_edit_text_material.xml +0 -37
  45. package/example/pointr_rn_demo/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +0 -0
  46. package/example/pointr_rn_demo/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png +0 -0
  47. package/example/pointr_rn_demo/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +0 -0
  48. package/example/pointr_rn_demo/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png +0 -0
  49. package/example/pointr_rn_demo/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +0 -0
  50. package/example/pointr_rn_demo/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png +0 -0
  51. package/example/pointr_rn_demo/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
  52. package/example/pointr_rn_demo/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png +0 -0
  53. package/example/pointr_rn_demo/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +0 -0
  54. package/example/pointr_rn_demo/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png +0 -0
  55. package/example/pointr_rn_demo/android/app/src/main/res/values/strings.xml +0 -3
  56. package/example/pointr_rn_demo/android/app/src/main/res/values/styles.xml +0 -9
  57. package/example/pointr_rn_demo/android/build.gradle +0 -34
  58. package/example/pointr_rn_demo/android/gradle.properties +0 -44
  59. package/example/pointr_rn_demo/android/settings.gradle +0 -6
  60. package/example/pointr_rn_demo/app.json +0 -4
  61. package/example/pointr_rn_demo/babel.config.js +0 -3
  62. package/example/pointr_rn_demo/index.js +0 -16
  63. package/example/pointr_rn_demo/ios/.xcode.env +0 -11
  64. package/example/pointr_rn_demo/ios/Podfile +0 -40
  65. package/example/pointr_rn_demo/ios/pointr_rn_demo/AppDelegate.swift +0 -48
  66. package/example/pointr_rn_demo/ios/pointr_rn_demo/Images.xcassets/AppIcon.appiconset/Contents.json +0 -53
  67. package/example/pointr_rn_demo/ios/pointr_rn_demo/Images.xcassets/Contents.json +0 -6
  68. package/example/pointr_rn_demo/ios/pointr_rn_demo/Info.plist +0 -63
  69. package/example/pointr_rn_demo/ios/pointr_rn_demo/LaunchScreen.storyboard +0 -47
  70. package/example/pointr_rn_demo/ios/pointr_rn_demo/PrivacyInfo.xcprivacy +0 -37
  71. package/example/pointr_rn_demo/ios/pointr_rn_demo.xcodeproj/project.pbxproj +0 -488
  72. package/example/pointr_rn_demo/ios/pointr_rn_demo.xcodeproj/xcshareddata/xcschemes/pointr_rn_demo.xcscheme +0 -88
  73. package/example/pointr_rn_demo/ios/pointr_rn_demo.xcworkspace/contents.xcworkspacedata +0 -10
  74. package/example/pointr_rn_demo/jest.config.js +0 -3
  75. package/example/pointr_rn_demo/metro.config.js +0 -22
  76. package/example/pointr_rn_demo/package.json +0 -47
  77. package/example/pointr_rn_demo/prepare-demo-distribution.sh +0 -103
  78. package/example/pointr_rn_demo/tsconfig.json +0 -5
  79. package/prepare-distribution.sh +0 -151
@@ -1,488 +0,0 @@
1
- // !$*UTF8*$!
2
- {
3
- archiveVersion = 1;
4
- classes = {
5
- };
6
- objectVersion = 54;
7
- objects = {
8
-
9
- /* Begin PBXBuildFile section */
10
- 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
11
- 761780ED2CA45674006654EE /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 761780EC2CA45674006654EE /* AppDelegate.swift */; };
12
- 81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */; };
13
- 977EC326A89D4D5231848876 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB81A68108700A75B9A /* PrivacyInfo.xcprivacy */; };
14
- 9F6D340639DD38BD77A309C6 /* libPods-pointr_rn_demo.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 661BE1092D84169EF119A692 /* libPods-pointr_rn_demo.a */; };
15
- /* End PBXBuildFile section */
16
-
17
- /* Begin PBXFileReference section */
18
- 13B07F961A680F5B00A75B9A /* pointr_rn_demo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = pointr_rn_demo.app; sourceTree = BUILT_PRODUCTS_DIR; };
19
- 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = pointr_rn_demo/Images.xcassets; sourceTree = "<group>"; };
20
- 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = pointr_rn_demo/Info.plist; sourceTree = "<group>"; };
21
- 13B07FB81A68108700A75B9A /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = PrivacyInfo.xcprivacy; path = pointr_rn_demo/PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
22
- 4975DAFF47C7C30AF8A1D4FC /* Pods-pointr_rn_demo.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-pointr_rn_demo.debug.xcconfig"; path = "Target Support Files/Pods-pointr_rn_demo/Pods-pointr_rn_demo.debug.xcconfig"; sourceTree = "<group>"; };
23
- 661BE1092D84169EF119A692 /* libPods-pointr_rn_demo.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-pointr_rn_demo.a"; sourceTree = BUILT_PRODUCTS_DIR; };
24
- 761780EC2CA45674006654EE /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = AppDelegate.swift; path = pointr_rn_demo/AppDelegate.swift; sourceTree = "<group>"; };
25
- 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = pointr_rn_demo/LaunchScreen.storyboard; sourceTree = "<group>"; };
26
- A33B81E86BAD8EE15135848F /* Pods-pointr_rn_demo.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-pointr_rn_demo.release.xcconfig"; path = "Target Support Files/Pods-pointr_rn_demo/Pods-pointr_rn_demo.release.xcconfig"; sourceTree = "<group>"; };
27
- ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
28
- /* End PBXFileReference section */
29
-
30
- /* Begin PBXFrameworksBuildPhase section */
31
- 13B07F8C1A680F5B00A75B9A /* Frameworks */ = {
32
- isa = PBXFrameworksBuildPhase;
33
- buildActionMask = 2147483647;
34
- files = (
35
- 9F6D340639DD38BD77A309C6 /* libPods-pointr_rn_demo.a in Frameworks */,
36
- );
37
- runOnlyForDeploymentPostprocessing = 0;
38
- };
39
- /* End PBXFrameworksBuildPhase section */
40
-
41
- /* Begin PBXGroup section */
42
- 13B07FAE1A68108700A75B9A /* pointr_rn_demo */ = {
43
- isa = PBXGroup;
44
- children = (
45
- 13B07FB51A68108700A75B9A /* Images.xcassets */,
46
- 761780EC2CA45674006654EE /* AppDelegate.swift */,
47
- 13B07FB61A68108700A75B9A /* Info.plist */,
48
- 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */,
49
- 13B07FB81A68108700A75B9A /* PrivacyInfo.xcprivacy */,
50
- );
51
- name = pointr_rn_demo;
52
- sourceTree = "<group>";
53
- };
54
- 2D16E6871FA4F8E400B85C8A /* Frameworks */ = {
55
- isa = PBXGroup;
56
- children = (
57
- ED297162215061F000B7C4FE /* JavaScriptCore.framework */,
58
- 661BE1092D84169EF119A692 /* libPods-pointr_rn_demo.a */,
59
- );
60
- name = Frameworks;
61
- sourceTree = "<group>";
62
- };
63
- 832341AE1AAA6A7D00B99B32 /* Libraries */ = {
64
- isa = PBXGroup;
65
- children = (
66
- );
67
- name = Libraries;
68
- sourceTree = "<group>";
69
- };
70
- 83CBB9F61A601CBA00E9B192 = {
71
- isa = PBXGroup;
72
- children = (
73
- 13B07FAE1A68108700A75B9A /* pointr_rn_demo */,
74
- 832341AE1AAA6A7D00B99B32 /* Libraries */,
75
- 83CBBA001A601CBA00E9B192 /* Products */,
76
- 2D16E6871FA4F8E400B85C8A /* Frameworks */,
77
- BBD78D7AC51CEA395F1C20DB /* Pods */,
78
- );
79
- indentWidth = 2;
80
- sourceTree = "<group>";
81
- tabWidth = 2;
82
- usesTabs = 0;
83
- };
84
- 83CBBA001A601CBA00E9B192 /* Products */ = {
85
- isa = PBXGroup;
86
- children = (
87
- 13B07F961A680F5B00A75B9A /* pointr_rn_demo.app */,
88
- );
89
- name = Products;
90
- sourceTree = "<group>";
91
- };
92
- BBD78D7AC51CEA395F1C20DB /* Pods */ = {
93
- isa = PBXGroup;
94
- children = (
95
- 4975DAFF47C7C30AF8A1D4FC /* Pods-pointr_rn_demo.debug.xcconfig */,
96
- A33B81E86BAD8EE15135848F /* Pods-pointr_rn_demo.release.xcconfig */,
97
- );
98
- path = Pods;
99
- sourceTree = "<group>";
100
- };
101
- /* End PBXGroup section */
102
-
103
- /* Begin PBXNativeTarget section */
104
- 13B07F861A680F5B00A75B9A /* pointr_rn_demo */ = {
105
- isa = PBXNativeTarget;
106
- buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "pointr_rn_demo" */;
107
- buildPhases = (
108
- 96E51E9B116E92896136BE41 /* [CP] Check Pods Manifest.lock */,
109
- 13B07F871A680F5B00A75B9A /* Sources */,
110
- 13B07F8C1A680F5B00A75B9A /* Frameworks */,
111
- 13B07F8E1A680F5B00A75B9A /* Resources */,
112
- 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */,
113
- 777EB776F4A833EE53F00A64 /* [CP] Embed Pods Frameworks */,
114
- 5259A7889B9683B2304D9059 /* [CP] Copy Pods Resources */,
115
- );
116
- buildRules = (
117
- );
118
- dependencies = (
119
- );
120
- name = pointr_rn_demo;
121
- productName = pointr_rn_demo;
122
- productReference = 13B07F961A680F5B00A75B9A /* pointr_rn_demo.app */;
123
- productType = "com.apple.product-type.application";
124
- };
125
- /* End PBXNativeTarget section */
126
-
127
- /* Begin PBXProject section */
128
- 83CBB9F71A601CBA00E9B192 /* Project object */ = {
129
- isa = PBXProject;
130
- attributes = {
131
- LastUpgradeCheck = 1210;
132
- TargetAttributes = {
133
- 13B07F861A680F5B00A75B9A = {
134
- LastSwiftMigration = 1120;
135
- };
136
- };
137
- };
138
- buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "pointr_rn_demo" */;
139
- compatibilityVersion = "Xcode 12.0";
140
- developmentRegion = en;
141
- hasScannedForEncodings = 0;
142
- knownRegions = (
143
- en,
144
- Base,
145
- );
146
- mainGroup = 83CBB9F61A601CBA00E9B192;
147
- productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */;
148
- projectDirPath = "";
149
- projectRoot = "";
150
- targets = (
151
- 13B07F861A680F5B00A75B9A /* pointr_rn_demo */,
152
- );
153
- };
154
- /* End PBXProject section */
155
-
156
- /* Begin PBXResourcesBuildPhase section */
157
- 13B07F8E1A680F5B00A75B9A /* Resources */ = {
158
- isa = PBXResourcesBuildPhase;
159
- buildActionMask = 2147483647;
160
- files = (
161
- 81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */,
162
- 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */,
163
- 977EC326A89D4D5231848876 /* PrivacyInfo.xcprivacy in Resources */,
164
- );
165
- runOnlyForDeploymentPostprocessing = 0;
166
- };
167
- /* End PBXResourcesBuildPhase section */
168
-
169
- /* Begin PBXShellScriptBuildPhase section */
170
- 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = {
171
- isa = PBXShellScriptBuildPhase;
172
- buildActionMask = 2147483647;
173
- files = (
174
- );
175
- inputPaths = (
176
- "$(SRCROOT)/.xcode.env.local",
177
- "$(SRCROOT)/.xcode.env",
178
- );
179
- name = "Bundle React Native code and images";
180
- outputPaths = (
181
- );
182
- runOnlyForDeploymentPostprocessing = 0;
183
- shellPath = /bin/sh;
184
- shellScript = "set -e\n\nWITH_ENVIRONMENT=\"$REACT_NATIVE_PATH/scripts/xcode/with-environment.sh\"\nREACT_NATIVE_XCODE=\"$REACT_NATIVE_PATH/scripts/react-native-xcode.sh\"\n\n/bin/sh -c \"$WITH_ENVIRONMENT $REACT_NATIVE_XCODE\"\n";
185
- };
186
- 5259A7889B9683B2304D9059 /* [CP] Copy Pods Resources */ = {
187
- isa = PBXShellScriptBuildPhase;
188
- buildActionMask = 2147483647;
189
- files = (
190
- );
191
- inputFileListPaths = (
192
- "${PODS_ROOT}/Target Support Files/Pods-pointr_rn_demo/Pods-pointr_rn_demo-resources-${CONFIGURATION}-input-files.xcfilelist",
193
- );
194
- name = "[CP] Copy Pods Resources";
195
- outputFileListPaths = (
196
- "${PODS_ROOT}/Target Support Files/Pods-pointr_rn_demo/Pods-pointr_rn_demo-resources-${CONFIGURATION}-output-files.xcfilelist",
197
- );
198
- runOnlyForDeploymentPostprocessing = 0;
199
- shellPath = /bin/sh;
200
- shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-pointr_rn_demo/Pods-pointr_rn_demo-resources.sh\"\n";
201
- showEnvVarsInLog = 0;
202
- };
203
- 777EB776F4A833EE53F00A64 /* [CP] Embed Pods Frameworks */ = {
204
- isa = PBXShellScriptBuildPhase;
205
- buildActionMask = 2147483647;
206
- files = (
207
- );
208
- inputFileListPaths = (
209
- "${PODS_ROOT}/Target Support Files/Pods-pointr_rn_demo/Pods-pointr_rn_demo-frameworks-${CONFIGURATION}-input-files.xcfilelist",
210
- );
211
- name = "[CP] Embed Pods Frameworks";
212
- outputFileListPaths = (
213
- "${PODS_ROOT}/Target Support Files/Pods-pointr_rn_demo/Pods-pointr_rn_demo-frameworks-${CONFIGURATION}-output-files.xcfilelist",
214
- );
215
- runOnlyForDeploymentPostprocessing = 0;
216
- shellPath = /bin/sh;
217
- shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-pointr_rn_demo/Pods-pointr_rn_demo-frameworks.sh\"\n";
218
- showEnvVarsInLog = 0;
219
- };
220
- 96E51E9B116E92896136BE41 /* [CP] Check Pods Manifest.lock */ = {
221
- isa = PBXShellScriptBuildPhase;
222
- buildActionMask = 2147483647;
223
- files = (
224
- );
225
- inputFileListPaths = (
226
- );
227
- inputPaths = (
228
- "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
229
- "${PODS_ROOT}/Manifest.lock",
230
- );
231
- name = "[CP] Check Pods Manifest.lock";
232
- outputFileListPaths = (
233
- );
234
- outputPaths = (
235
- "$(DERIVED_FILE_DIR)/Pods-pointr_rn_demo-checkManifestLockResult.txt",
236
- );
237
- runOnlyForDeploymentPostprocessing = 0;
238
- shellPath = /bin/sh;
239
- 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";
240
- showEnvVarsInLog = 0;
241
- };
242
- /* End PBXShellScriptBuildPhase section */
243
-
244
- /* Begin PBXSourcesBuildPhase section */
245
- 13B07F871A680F5B00A75B9A /* Sources */ = {
246
- isa = PBXSourcesBuildPhase;
247
- buildActionMask = 2147483647;
248
- files = (
249
- 761780ED2CA45674006654EE /* AppDelegate.swift in Sources */,
250
- );
251
- runOnlyForDeploymentPostprocessing = 0;
252
- };
253
- /* End PBXSourcesBuildPhase section */
254
-
255
- /* Begin XCBuildConfiguration section */
256
- 13B07F941A680F5B00A75B9A /* Debug */ = {
257
- isa = XCBuildConfiguration;
258
- baseConfigurationReference = 4975DAFF47C7C30AF8A1D4FC /* Pods-pointr_rn_demo.debug.xcconfig */;
259
- buildSettings = {
260
- ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
261
- CLANG_ENABLE_MODULES = YES;
262
- CODE_SIGN_STYLE = Manual;
263
- CURRENT_PROJECT_VERSION = 1;
264
- DEVELOPMENT_TEAM = "";
265
- "DEVELOPMENT_TEAM[sdk=iphoneos*]" = ZK7SJLD263;
266
- ENABLE_BITCODE = NO;
267
- INFOPLIST_FILE = pointr_rn_demo/Info.plist;
268
- IPHONEOS_DEPLOYMENT_TARGET = 15.1;
269
- LD_RUNPATH_SEARCH_PATHS = (
270
- "$(inherited)",
271
- "@executable_path/Frameworks",
272
- );
273
- MARKETING_VERSION = 1.0;
274
- OTHER_LDFLAGS = (
275
- "$(inherited)",
276
- "-ObjC",
277
- "-lc++",
278
- );
279
- PRODUCT_BUNDLE_IDENTIFIER = "tech.pointr.--PRODUCT-NAME-rfc1034identifier-";
280
- PRODUCT_NAME = pointr_rn_demo;
281
- PROVISIONING_PROFILE_SPECIFIER = "";
282
- "PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = "iOS Development Wildcard";
283
- SWIFT_OPTIMIZATION_LEVEL = "-Onone";
284
- SWIFT_VERSION = 5.0;
285
- VERSIONING_SYSTEM = "apple-generic";
286
- };
287
- name = Debug;
288
- };
289
- 13B07F951A680F5B00A75B9A /* Release */ = {
290
- isa = XCBuildConfiguration;
291
- baseConfigurationReference = A33B81E86BAD8EE15135848F /* Pods-pointr_rn_demo.release.xcconfig */;
292
- buildSettings = {
293
- ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
294
- CLANG_ENABLE_MODULES = YES;
295
- CODE_SIGN_STYLE = Manual;
296
- CURRENT_PROJECT_VERSION = 1;
297
- DEVELOPMENT_TEAM = "";
298
- "DEVELOPMENT_TEAM[sdk=iphoneos*]" = ZK7SJLD263;
299
- INFOPLIST_FILE = pointr_rn_demo/Info.plist;
300
- IPHONEOS_DEPLOYMENT_TARGET = 15.1;
301
- LD_RUNPATH_SEARCH_PATHS = (
302
- "$(inherited)",
303
- "@executable_path/Frameworks",
304
- );
305
- MARKETING_VERSION = 1.0;
306
- OTHER_LDFLAGS = (
307
- "$(inherited)",
308
- "-ObjC",
309
- "-lc++",
310
- );
311
- PRODUCT_BUNDLE_IDENTIFIER = "tech.pointr.--PRODUCT-NAME-rfc1034identifier-";
312
- PRODUCT_NAME = pointr_rn_demo;
313
- PROVISIONING_PROFILE_SPECIFIER = "";
314
- "PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = "iOS Development Wildcard";
315
- SWIFT_VERSION = 5.0;
316
- VERSIONING_SYSTEM = "apple-generic";
317
- };
318
- name = Release;
319
- };
320
- 83CBBA201A601CBA00E9B192 /* Debug */ = {
321
- isa = XCBuildConfiguration;
322
- buildSettings = {
323
- ALWAYS_SEARCH_USER_PATHS = NO;
324
- CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
325
- CLANG_CXX_LANGUAGE_STANDARD = "c++20";
326
- CLANG_CXX_LIBRARY = "libc++";
327
- CLANG_ENABLE_MODULES = YES;
328
- CLANG_ENABLE_OBJC_ARC = YES;
329
- CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
330
- CLANG_WARN_BOOL_CONVERSION = YES;
331
- CLANG_WARN_COMMA = YES;
332
- CLANG_WARN_CONSTANT_CONVERSION = YES;
333
- CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
334
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
335
- CLANG_WARN_EMPTY_BODY = YES;
336
- CLANG_WARN_ENUM_CONVERSION = YES;
337
- CLANG_WARN_INFINITE_RECURSION = YES;
338
- CLANG_WARN_INT_CONVERSION = YES;
339
- CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
340
- CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
341
- CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
342
- CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
343
- CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
344
- CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
345
- CLANG_WARN_STRICT_PROTOTYPES = YES;
346
- CLANG_WARN_SUSPICIOUS_MOVE = YES;
347
- CLANG_WARN_UNREACHABLE_CODE = YES;
348
- CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
349
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
350
- COPY_PHASE_STRIP = NO;
351
- ENABLE_STRICT_OBJC_MSGSEND = YES;
352
- ENABLE_TESTABILITY = YES;
353
- "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "";
354
- GCC_C_LANGUAGE_STANDARD = gnu99;
355
- GCC_DYNAMIC_NO_PIC = NO;
356
- GCC_NO_COMMON_BLOCKS = YES;
357
- GCC_OPTIMIZATION_LEVEL = 0;
358
- GCC_PREPROCESSOR_DEFINITIONS = (
359
- "DEBUG=1",
360
- "$(inherited)",
361
- );
362
- GCC_SYMBOLS_PRIVATE_EXTERN = NO;
363
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
364
- GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
365
- GCC_WARN_UNDECLARED_SELECTOR = YES;
366
- GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
367
- GCC_WARN_UNUSED_FUNCTION = YES;
368
- GCC_WARN_UNUSED_VARIABLE = YES;
369
- IPHONEOS_DEPLOYMENT_TARGET = 15.1;
370
- LD_RUNPATH_SEARCH_PATHS = (
371
- /usr/lib/swift,
372
- "$(inherited)",
373
- );
374
- LIBRARY_SEARCH_PATHS = (
375
- "\"$(SDKROOT)/usr/lib/swift\"",
376
- "\"$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)\"",
377
- "\"$(inherited)\"",
378
- );
379
- MTL_ENABLE_DEBUG_INFO = YES;
380
- ONLY_ACTIVE_ARCH = YES;
381
- OTHER_CPLUSPLUSFLAGS = (
382
- "$(OTHER_CFLAGS)",
383
- "-DFOLLY_NO_CONFIG",
384
- "-DFOLLY_MOBILE=1",
385
- "-DFOLLY_USE_LIBCPP=1",
386
- "-DFOLLY_CFG_NO_COROUTINES=1",
387
- "-DFOLLY_HAVE_CLOCK_GETTIME=1",
388
- );
389
- REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
390
- SDKROOT = iphoneos;
391
- SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) DEBUG";
392
- USE_HERMES = true;
393
- };
394
- name = Debug;
395
- };
396
- 83CBBA211A601CBA00E9B192 /* Release */ = {
397
- isa = XCBuildConfiguration;
398
- buildSettings = {
399
- ALWAYS_SEARCH_USER_PATHS = NO;
400
- CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
401
- CLANG_CXX_LANGUAGE_STANDARD = "c++20";
402
- CLANG_CXX_LIBRARY = "libc++";
403
- CLANG_ENABLE_MODULES = YES;
404
- CLANG_ENABLE_OBJC_ARC = YES;
405
- CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
406
- CLANG_WARN_BOOL_CONVERSION = YES;
407
- CLANG_WARN_COMMA = YES;
408
- CLANG_WARN_CONSTANT_CONVERSION = YES;
409
- CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
410
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
411
- CLANG_WARN_EMPTY_BODY = YES;
412
- CLANG_WARN_ENUM_CONVERSION = YES;
413
- CLANG_WARN_INFINITE_RECURSION = YES;
414
- CLANG_WARN_INT_CONVERSION = YES;
415
- CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
416
- CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
417
- CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
418
- CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
419
- CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
420
- CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
421
- CLANG_WARN_STRICT_PROTOTYPES = YES;
422
- CLANG_WARN_SUSPICIOUS_MOVE = YES;
423
- CLANG_WARN_UNREACHABLE_CODE = YES;
424
- CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
425
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
426
- COPY_PHASE_STRIP = YES;
427
- ENABLE_NS_ASSERTIONS = NO;
428
- ENABLE_STRICT_OBJC_MSGSEND = YES;
429
- "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "";
430
- GCC_C_LANGUAGE_STANDARD = gnu99;
431
- GCC_NO_COMMON_BLOCKS = YES;
432
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
433
- GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
434
- GCC_WARN_UNDECLARED_SELECTOR = YES;
435
- GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
436
- GCC_WARN_UNUSED_FUNCTION = YES;
437
- GCC_WARN_UNUSED_VARIABLE = YES;
438
- IPHONEOS_DEPLOYMENT_TARGET = 15.1;
439
- LD_RUNPATH_SEARCH_PATHS = (
440
- /usr/lib/swift,
441
- "$(inherited)",
442
- );
443
- LIBRARY_SEARCH_PATHS = (
444
- "\"$(SDKROOT)/usr/lib/swift\"",
445
- "\"$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)\"",
446
- "\"$(inherited)\"",
447
- );
448
- MTL_ENABLE_DEBUG_INFO = NO;
449
- OTHER_CPLUSPLUSFLAGS = (
450
- "$(OTHER_CFLAGS)",
451
- "-DFOLLY_NO_CONFIG",
452
- "-DFOLLY_MOBILE=1",
453
- "-DFOLLY_USE_LIBCPP=1",
454
- "-DFOLLY_CFG_NO_COROUTINES=1",
455
- "-DFOLLY_HAVE_CLOCK_GETTIME=1",
456
- );
457
- REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
458
- SDKROOT = iphoneos;
459
- USE_HERMES = true;
460
- VALIDATE_PRODUCT = YES;
461
- };
462
- name = Release;
463
- };
464
- /* End XCBuildConfiguration section */
465
-
466
- /* Begin XCConfigurationList section */
467
- 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "pointr_rn_demo" */ = {
468
- isa = XCConfigurationList;
469
- buildConfigurations = (
470
- 13B07F941A680F5B00A75B9A /* Debug */,
471
- 13B07F951A680F5B00A75B9A /* Release */,
472
- );
473
- defaultConfigurationIsVisible = 0;
474
- defaultConfigurationName = Release;
475
- };
476
- 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "pointr_rn_demo" */ = {
477
- isa = XCConfigurationList;
478
- buildConfigurations = (
479
- 83CBBA201A601CBA00E9B192 /* Debug */,
480
- 83CBBA211A601CBA00E9B192 /* Release */,
481
- );
482
- defaultConfigurationIsVisible = 0;
483
- defaultConfigurationName = Release;
484
- };
485
- /* End XCConfigurationList section */
486
- };
487
- rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */;
488
- }
@@ -1,88 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <Scheme
3
- LastUpgradeVersion = "1210"
4
- version = "1.3">
5
- <BuildAction
6
- parallelizeBuildables = "YES"
7
- buildImplicitDependencies = "YES">
8
- <BuildActionEntries>
9
- <BuildActionEntry
10
- buildForTesting = "YES"
11
- buildForRunning = "YES"
12
- buildForProfiling = "YES"
13
- buildForArchiving = "YES"
14
- buildForAnalyzing = "YES">
15
- <BuildableReference
16
- BuildableIdentifier = "primary"
17
- BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
18
- BuildableName = "pointr_rn_demo.app"
19
- BlueprintName = "pointr_rn_demo"
20
- ReferencedContainer = "container:pointr_rn_demo.xcodeproj">
21
- </BuildableReference>
22
- </BuildActionEntry>
23
- </BuildActionEntries>
24
- </BuildAction>
25
- <TestAction
26
- buildConfiguration = "Debug"
27
- selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
28
- selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29
- shouldUseLaunchSchemeArgsEnv = "YES">
30
- <Testables>
31
- <TestableReference
32
- skipped = "NO">
33
- <BuildableReference
34
- BuildableIdentifier = "primary"
35
- BlueprintIdentifier = "00E356ED1AD99517003FC87E"
36
- BuildableName = "pointr_rn_demoTests.xctest"
37
- BlueprintName = "pointr_rn_demoTests"
38
- ReferencedContainer = "container:pointr_rn_demo.xcodeproj">
39
- </BuildableReference>
40
- </TestableReference>
41
- </Testables>
42
- </TestAction>
43
- <LaunchAction
44
- buildConfiguration = "Debug"
45
- selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
46
- selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
47
- launchStyle = "0"
48
- useCustomWorkingDirectory = "NO"
49
- ignoresPersistentStateOnLaunch = "NO"
50
- debugDocumentVersioning = "YES"
51
- debugServiceExtension = "internal"
52
- allowLocationSimulation = "YES">
53
- <BuildableProductRunnable
54
- runnableDebuggingMode = "0">
55
- <BuildableReference
56
- BuildableIdentifier = "primary"
57
- BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
58
- BuildableName = "pointr_rn_demo.app"
59
- BlueprintName = "pointr_rn_demo"
60
- ReferencedContainer = "container:pointr_rn_demo.xcodeproj">
61
- </BuildableReference>
62
- </BuildableProductRunnable>
63
- </LaunchAction>
64
- <ProfileAction
65
- buildConfiguration = "Release"
66
- shouldUseLaunchSchemeArgsEnv = "YES"
67
- savedToolIdentifier = ""
68
- useCustomWorkingDirectory = "NO"
69
- debugDocumentVersioning = "YES">
70
- <BuildableProductRunnable
71
- runnableDebuggingMode = "0">
72
- <BuildableReference
73
- BuildableIdentifier = "primary"
74
- BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
75
- BuildableName = "pointr_rn_demo.app"
76
- BlueprintName = "pointr_rn_demo"
77
- ReferencedContainer = "container:pointr_rn_demo.xcodeproj">
78
- </BuildableReference>
79
- </BuildableProductRunnable>
80
- </ProfileAction>
81
- <AnalyzeAction
82
- buildConfiguration = "Debug">
83
- </AnalyzeAction>
84
- <ArchiveAction
85
- buildConfiguration = "Release"
86
- revealArchiveInOrganizer = "YES">
87
- </ArchiveAction>
88
- </Scheme>
@@ -1,10 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <Workspace
3
- version = "1.0">
4
- <FileRef
5
- location = "group:pointr_rn_demo.xcodeproj">
6
- </FileRef>
7
- <FileRef
8
- location = "group:Pods/Pods.xcodeproj">
9
- </FileRef>
10
- </Workspace>
@@ -1,3 +0,0 @@
1
- module.exports = {
2
- preset: 'react-native',
3
- };
@@ -1,22 +0,0 @@
1
- const { getDefaultConfig, mergeConfig } = require('@react-native/metro-config');
2
- const path = require('path');
3
-
4
- /**
5
- * Metro configuration
6
- * https://reactnative.dev/docs/metro
7
- *
8
- * @type {import('@react-native/metro-config').MetroConfig}
9
- */
10
- const config = {
11
- watchFolders: [
12
- path.resolve(__dirname, '../../../react-native-pointr'),
13
- ],
14
- resolver: {
15
- nodeModulesPaths: [
16
- path.resolve(__dirname, 'node_modules'),
17
- path.resolve(__dirname, '../../../react-native-pointr/node_modules'),
18
- ],
19
- },
20
- };
21
-
22
- module.exports = mergeConfig(getDefaultConfig(__dirname), config);
@@ -1,47 +0,0 @@
1
- {
2
- "name": "pointr_rn_demo",
3
- "version": "9.5.0",
4
- "private": true,
5
- "scripts": {
6
- "clean": "watchman watch-del-all || true && rm -rf node_modules ios/Pods ios/Podfile.lock ios/build android/.gradle android/app/build android/build",
7
- "reset": "npm run clean && npm install && cd ios && pod install && cd ..",
8
- "start": "npx react-native start",
9
- "start:clean": "npx react-native start --reset-cache",
10
- "android": "npx react-native run-android",
11
- "ios": "npx react-native run-ios",
12
- "lint": "eslint .",
13
- "test": "jest",
14
- "prepare-dist": "chmod +x prepare-demo-distribution.sh && ./prepare-demo-distribution.sh"
15
- },
16
- "dependencies": {
17
- "@react-native/new-app-screen": "0.82.1",
18
- "react": "19.1.1",
19
- "react-native": "^0.82.1",
20
- "react-native-pointr": "file:../../../react-native-pointr",
21
- "react-native-safe-area-context": "^5.6.2"
22
- },
23
- "devDependencies": {
24
- "@babel/core": "^7.25.2",
25
- "@babel/preset-env": "^7.25.3",
26
- "@babel/runtime": "^7.25.0",
27
- "@react-native-community/cli": "20.0.0",
28
- "@react-native-community/cli-platform-android": "20.0.0",
29
- "@react-native-community/cli-platform-ios": "20.0.0",
30
- "@react-native/babel-preset": "0.82.1",
31
- "@react-native/eslint-config": "0.82.1",
32
- "@react-native/gradle-plugin": "^0.83.1",
33
- "@react-native/metro-config": "0.82.1",
34
- "@react-native/typescript-config": "0.82.1",
35
- "@types/jest": "^29.5.13",
36
- "@types/react": "^19.1.1",
37
- "@types/react-test-renderer": "^19.1.0",
38
- "eslint": "^8.19.0",
39
- "jest": "^29.6.3",
40
- "prettier": "2.8.8",
41
- "react-test-renderer": "19.1.1",
42
- "typescript": "^5.8.3"
43
- },
44
- "engines": {
45
- "node": ">=20"
46
- }
47
- }