react-native-maps 1.21.0-alpha.92 → 1.21.0-alpha.93

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 (67) hide show
  1. package/ios/AirGoogleMaps/RNMapsGoogleMapView.mm +4 -1
  2. package/ios/AirGoogleMaps/RNMapsGooglePolygonView.mm +4 -2
  3. package/ios/AirMaps/RNMapsAirModule.h +1 -1
  4. package/ios/AirMaps/RNMapsMapView.mm +4 -1
  5. package/ios/AirMaps/RNMapsMarkerView.mm +4 -1
  6. package/package.json +1 -2
  7. package/android/generated/RCTAppDependencyProvider.h +0 -25
  8. package/android/generated/RCTAppDependencyProvider.mm +0 -55
  9. package/android/generated/RCTModulesConformingToProtocolsProvider.h +0 -18
  10. package/android/generated/RCTModulesConformingToProtocolsProvider.mm +0 -33
  11. package/android/generated/RCTThirdPartyComponentsProvider.h +0 -16
  12. package/android/generated/RCTThirdPartyComponentsProvider.mm +0 -26
  13. package/android/generated/ReactAppDependencyProvider.podspec +0 -34
  14. package/android/generated/java/com/facebook/fbreact/specs/NativeAirMapsModuleSpec.java +0 -63
  15. package/android/generated/java/com/facebook/react/viewmanagers/RNMapsCalloutManagerDelegate.java +0 -35
  16. package/android/generated/java/com/facebook/react/viewmanagers/RNMapsCalloutManagerInterface.java +0 -18
  17. package/android/generated/java/com/facebook/react/viewmanagers/RNMapsCircleManagerDelegate.java +0 -49
  18. package/android/generated/java/com/facebook/react/viewmanagers/RNMapsCircleManagerInterface.java +0 -24
  19. package/android/generated/java/com/facebook/react/viewmanagers/RNMapsGooglePolygonManagerDelegate.java +0 -49
  20. package/android/generated/java/com/facebook/react/viewmanagers/RNMapsGooglePolygonManagerInterface.java +0 -24
  21. package/android/generated/java/com/facebook/react/viewmanagers/RNMapsMapViewManagerDelegate.java +0 -206
  22. package/android/generated/java/com/facebook/react/viewmanagers/RNMapsMapViewManagerInterface.java +0 -74
  23. package/android/generated/java/com/facebook/react/viewmanagers/RNMapsMarkerManagerDelegate.java +0 -104
  24. package/android/generated/java/com/facebook/react/viewmanagers/RNMapsMarkerManagerInterface.java +0 -40
  25. package/android/generated/java/com/facebook/react/viewmanagers/RNMapsOverlayManagerDelegate.java +0 -46
  26. package/android/generated/java/com/facebook/react/viewmanagers/RNMapsOverlayManagerInterface.java +0 -24
  27. package/android/generated/java/com/facebook/react/viewmanagers/RNMapsPolylineManagerDelegate.java +0 -58
  28. package/android/generated/java/com/facebook/react/viewmanagers/RNMapsPolylineManagerInterface.java +0 -27
  29. package/android/generated/jni/CMakeLists.txt +0 -36
  30. package/android/generated/jni/RNMapsSpecs-generated.cpp +0 -68
  31. package/android/generated/jni/RNMapsSpecs.h +0 -31
  32. package/android/generated/jni/react/renderer/components/RNMapsSpecs/ComponentDescriptors.cpp +0 -29
  33. package/android/generated/jni/react/renderer/components/RNMapsSpecs/ComponentDescriptors.h +0 -31
  34. package/android/generated/jni/react/renderer/components/RNMapsSpecs/EventEmitters.cpp +0 -984
  35. package/android/generated/jni/react/renderer/components/RNMapsSpecs/EventEmitters.h +0 -853
  36. package/android/generated/jni/react/renderer/components/RNMapsSpecs/Props.cpp +0 -193
  37. package/android/generated/jni/react/renderer/components/RNMapsSpecs/Props.h +0 -1223
  38. package/android/generated/jni/react/renderer/components/RNMapsSpecs/RNMapsSpecsJSI-generated.cpp +0 -74
  39. package/android/generated/jni/react/renderer/components/RNMapsSpecs/RNMapsSpecsJSI.h +0 -268
  40. package/android/generated/jni/react/renderer/components/RNMapsSpecs/ShadowNodes.cpp +0 -24
  41. package/android/generated/jni/react/renderer/components/RNMapsSpecs/ShadowNodes.h +0 -109
  42. package/android/generated/jni/react/renderer/components/RNMapsSpecs/States.cpp +0 -16
  43. package/android/generated/jni/react/renderer/components/RNMapsSpecs/States.h +0 -113
  44. package/ios/generated/RCTAppDependencyProvider.h +0 -25
  45. package/ios/generated/RCTAppDependencyProvider.mm +0 -55
  46. package/ios/generated/RCTModulesConformingToProtocolsProvider.h +0 -18
  47. package/ios/generated/RCTModulesConformingToProtocolsProvider.mm +0 -33
  48. package/ios/generated/RCTThirdPartyComponentsProvider.h +0 -16
  49. package/ios/generated/RCTThirdPartyComponentsProvider.mm +0 -26
  50. package/ios/generated/RNMapsSpecs/ComponentDescriptors.cpp +0 -29
  51. package/ios/generated/RNMapsSpecs/ComponentDescriptors.h +0 -31
  52. package/ios/generated/RNMapsSpecs/EventEmitters.cpp +0 -984
  53. package/ios/generated/RNMapsSpecs/EventEmitters.h +0 -853
  54. package/ios/generated/RNMapsSpecs/Props.cpp +0 -193
  55. package/ios/generated/RNMapsSpecs/Props.h +0 -1223
  56. package/ios/generated/RNMapsSpecs/RCTComponentViewHelpers.h +0 -603
  57. package/ios/generated/RNMapsSpecs/RNMapsSpecs-generated.mm +0 -92
  58. package/ios/generated/RNMapsSpecs/RNMapsSpecs.h +0 -137
  59. package/ios/generated/RNMapsSpecs/ShadowNodes.cpp +0 -24
  60. package/ios/generated/RNMapsSpecs/ShadowNodes.h +0 -109
  61. package/ios/generated/RNMapsSpecs/States.cpp +0 -16
  62. package/ios/generated/RNMapsSpecs/States.h +0 -113
  63. package/ios/generated/RNMapsSpecsJSI-generated.cpp +0 -74
  64. package/ios/generated/RNMapsSpecsJSI.h +0 -268
  65. package/ios/generated/ReactAppDependencyProvider.podspec +0 -34
  66. package/ios/generated/module.modulemap +0 -4
  67. package/ios/generated/react-native-maps-generated-umbrella.h +0 -14
@@ -1,74 +0,0 @@
1
- /**
2
- * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
3
- *
4
- * Do not edit this file as changes may cause incorrect behavior and will be lost
5
- * once the code is regenerated.
6
- *
7
- * @generated by codegen project: GenerateModuleCpp.js
8
- */
9
-
10
- #include "RNMapsSpecsJSI.h"
11
-
12
- namespace facebook::react {
13
-
14
- static jsi::Value __hostFunction_NativeAirMapsModuleCxxSpecJSI_getCamera(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
15
- return static_cast<NativeAirMapsModuleCxxSpecJSI *>(&turboModule)->getCamera(
16
- rt,
17
- count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asNumber()
18
- );
19
- }
20
- static jsi::Value __hostFunction_NativeAirMapsModuleCxxSpecJSI_getMarkersFrames(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
21
- return static_cast<NativeAirMapsModuleCxxSpecJSI *>(&turboModule)->getMarkersFrames(
22
- rt,
23
- count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asNumber(),
24
- count <= 1 ? throw jsi::JSError(rt, "Expected argument in position 1 to be passed") : args[1].asBool()
25
- );
26
- }
27
- static jsi::Value __hostFunction_NativeAirMapsModuleCxxSpecJSI_getMapBoundaries(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
28
- return static_cast<NativeAirMapsModuleCxxSpecJSI *>(&turboModule)->getMapBoundaries(
29
- rt,
30
- count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asNumber()
31
- );
32
- }
33
- static jsi::Value __hostFunction_NativeAirMapsModuleCxxSpecJSI_takeSnapshot(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
34
- return static_cast<NativeAirMapsModuleCxxSpecJSI *>(&turboModule)->takeSnapshot(
35
- rt,
36
- count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asNumber(),
37
- count <= 1 ? throw jsi::JSError(rt, "Expected argument in position 1 to be passed") : args[1].asString(rt)
38
- );
39
- }
40
- static jsi::Value __hostFunction_NativeAirMapsModuleCxxSpecJSI_getAddressFromCoordinates(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
41
- return static_cast<NativeAirMapsModuleCxxSpecJSI *>(&turboModule)->getAddressFromCoordinates(
42
- rt,
43
- count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asNumber(),
44
- count <= 1 ? throw jsi::JSError(rt, "Expected argument in position 1 to be passed") : args[1].asObject(rt)
45
- );
46
- }
47
- static jsi::Value __hostFunction_NativeAirMapsModuleCxxSpecJSI_getPointForCoordinate(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
48
- return static_cast<NativeAirMapsModuleCxxSpecJSI *>(&turboModule)->getPointForCoordinate(
49
- rt,
50
- count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asNumber(),
51
- count <= 1 ? throw jsi::JSError(rt, "Expected argument in position 1 to be passed") : args[1].asObject(rt)
52
- );
53
- }
54
- static jsi::Value __hostFunction_NativeAirMapsModuleCxxSpecJSI_getCoordinateForPoint(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
55
- return static_cast<NativeAirMapsModuleCxxSpecJSI *>(&turboModule)->getCoordinateForPoint(
56
- rt,
57
- count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asNumber(),
58
- count <= 1 ? throw jsi::JSError(rt, "Expected argument in position 1 to be passed") : args[1].asObject(rt)
59
- );
60
- }
61
-
62
- NativeAirMapsModuleCxxSpecJSI::NativeAirMapsModuleCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
63
- : TurboModule("RNMapsAirModule", jsInvoker) {
64
- methodMap_["getCamera"] = MethodMetadata {1, __hostFunction_NativeAirMapsModuleCxxSpecJSI_getCamera};
65
- methodMap_["getMarkersFrames"] = MethodMetadata {2, __hostFunction_NativeAirMapsModuleCxxSpecJSI_getMarkersFrames};
66
- methodMap_["getMapBoundaries"] = MethodMetadata {1, __hostFunction_NativeAirMapsModuleCxxSpecJSI_getMapBoundaries};
67
- methodMap_["takeSnapshot"] = MethodMetadata {2, __hostFunction_NativeAirMapsModuleCxxSpecJSI_takeSnapshot};
68
- methodMap_["getAddressFromCoordinates"] = MethodMetadata {2, __hostFunction_NativeAirMapsModuleCxxSpecJSI_getAddressFromCoordinates};
69
- methodMap_["getPointForCoordinate"] = MethodMetadata {2, __hostFunction_NativeAirMapsModuleCxxSpecJSI_getPointForCoordinate};
70
- methodMap_["getCoordinateForPoint"] = MethodMetadata {2, __hostFunction_NativeAirMapsModuleCxxSpecJSI_getCoordinateForPoint};
71
- }
72
-
73
-
74
- } // namespace facebook::react
@@ -1,268 +0,0 @@
1
- /**
2
- * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
3
- *
4
- * Do not edit this file as changes may cause incorrect behavior and will be lost
5
- * once the code is regenerated.
6
- *
7
- * @generated by codegen project: GenerateModuleH.js
8
- */
9
-
10
- #pragma once
11
-
12
- #include <ReactCommon/TurboModule.h>
13
- #include <react/bridging/Bridging.h>
14
-
15
- namespace facebook::react {
16
-
17
-
18
-
19
- #pragma mark - NativeAirMapsModuleLatLng
20
-
21
- template <typename P0, typename P1>
22
- struct NativeAirMapsModuleLatLng {
23
- P0 latitude;
24
- P1 longitude;
25
- bool operator==(const NativeAirMapsModuleLatLng &other) const {
26
- return latitude == other.latitude && longitude == other.longitude;
27
- }
28
- };
29
-
30
- template <typename T>
31
- struct NativeAirMapsModuleLatLngBridging {
32
- static T types;
33
-
34
- static T fromJs(
35
- jsi::Runtime &rt,
36
- const jsi::Object &value,
37
- const std::shared_ptr<CallInvoker> &jsInvoker) {
38
- T result{
39
- bridging::fromJs<decltype(types.latitude)>(rt, value.getProperty(rt, "latitude"), jsInvoker),
40
- bridging::fromJs<decltype(types.longitude)>(rt, value.getProperty(rt, "longitude"), jsInvoker)};
41
- return result;
42
- }
43
-
44
- #ifdef DEBUG
45
- static double latitudeToJs(jsi::Runtime &rt, decltype(types.latitude) value) {
46
- return bridging::toJs(rt, value);
47
- }
48
-
49
- static double longitudeToJs(jsi::Runtime &rt, decltype(types.longitude) value) {
50
- return bridging::toJs(rt, value);
51
- }
52
- #endif
53
-
54
- static jsi::Object toJs(
55
- jsi::Runtime &rt,
56
- const T &value,
57
- const std::shared_ptr<CallInvoker> &jsInvoker) {
58
- auto result = facebook::jsi::Object(rt);
59
- result.setProperty(rt, "latitude", bridging::toJs(rt, value.latitude, jsInvoker));
60
- result.setProperty(rt, "longitude", bridging::toJs(rt, value.longitude, jsInvoker));
61
- return result;
62
- }
63
- };
64
-
65
-
66
-
67
- #pragma mark - NativeAirMapsModuleMapBoundaries
68
-
69
- template <typename P0, typename P1>
70
- struct NativeAirMapsModuleMapBoundaries {
71
- P0 northEast;
72
- P1 southWest;
73
- bool operator==(const NativeAirMapsModuleMapBoundaries &other) const {
74
- return northEast == other.northEast && southWest == other.southWest;
75
- }
76
- };
77
-
78
- template <typename T>
79
- struct NativeAirMapsModuleMapBoundariesBridging {
80
- static T types;
81
-
82
- static T fromJs(
83
- jsi::Runtime &rt,
84
- const jsi::Object &value,
85
- const std::shared_ptr<CallInvoker> &jsInvoker) {
86
- T result{
87
- bridging::fromJs<decltype(types.northEast)>(rt, value.getProperty(rt, "northEast"), jsInvoker),
88
- bridging::fromJs<decltype(types.southWest)>(rt, value.getProperty(rt, "southWest"), jsInvoker)};
89
- return result;
90
- }
91
-
92
- #ifdef DEBUG
93
- static jsi::Object northEastToJs(jsi::Runtime &rt, decltype(types.northEast) value) {
94
- return bridging::toJs(rt, value);
95
- }
96
-
97
- static jsi::Object southWestToJs(jsi::Runtime &rt, decltype(types.southWest) value) {
98
- return bridging::toJs(rt, value);
99
- }
100
- #endif
101
-
102
- static jsi::Object toJs(
103
- jsi::Runtime &rt,
104
- const T &value,
105
- const std::shared_ptr<CallInvoker> &jsInvoker) {
106
- auto result = facebook::jsi::Object(rt);
107
- result.setProperty(rt, "northEast", bridging::toJs(rt, value.northEast, jsInvoker));
108
- result.setProperty(rt, "southWest", bridging::toJs(rt, value.southWest, jsInvoker));
109
- return result;
110
- }
111
- };
112
-
113
-
114
-
115
- #pragma mark - NativeAirMapsModulePoint
116
-
117
- template <typename P0, typename P1>
118
- struct NativeAirMapsModulePoint {
119
- P0 x;
120
- P1 y;
121
- bool operator==(const NativeAirMapsModulePoint &other) const {
122
- return x == other.x && y == other.y;
123
- }
124
- };
125
-
126
- template <typename T>
127
- struct NativeAirMapsModulePointBridging {
128
- static T types;
129
-
130
- static T fromJs(
131
- jsi::Runtime &rt,
132
- const jsi::Object &value,
133
- const std::shared_ptr<CallInvoker> &jsInvoker) {
134
- T result{
135
- bridging::fromJs<decltype(types.x)>(rt, value.getProperty(rt, "x"), jsInvoker),
136
- bridging::fromJs<decltype(types.y)>(rt, value.getProperty(rt, "y"), jsInvoker)};
137
- return result;
138
- }
139
-
140
- #ifdef DEBUG
141
- static double xToJs(jsi::Runtime &rt, decltype(types.x) value) {
142
- return bridging::toJs(rt, value);
143
- }
144
-
145
- static double yToJs(jsi::Runtime &rt, decltype(types.y) value) {
146
- return bridging::toJs(rt, value);
147
- }
148
- #endif
149
-
150
- static jsi::Object toJs(
151
- jsi::Runtime &rt,
152
- const T &value,
153
- const std::shared_ptr<CallInvoker> &jsInvoker) {
154
- auto result = facebook::jsi::Object(rt);
155
- result.setProperty(rt, "x", bridging::toJs(rt, value.x, jsInvoker));
156
- result.setProperty(rt, "y", bridging::toJs(rt, value.y, jsInvoker));
157
- return result;
158
- }
159
- };
160
-
161
- class JSI_EXPORT NativeAirMapsModuleCxxSpecJSI : public TurboModule {
162
- protected:
163
- NativeAirMapsModuleCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker);
164
-
165
- public:
166
- virtual jsi::Value getCamera(jsi::Runtime &rt, double tag) = 0;
167
- virtual jsi::Value getMarkersFrames(jsi::Runtime &rt, double tag, bool onlyVisible) = 0;
168
- virtual jsi::Value getMapBoundaries(jsi::Runtime &rt, double tag) = 0;
169
- virtual jsi::Value takeSnapshot(jsi::Runtime &rt, double tag, jsi::String config) = 0;
170
- virtual jsi::Value getAddressFromCoordinates(jsi::Runtime &rt, double tag, jsi::Object coordinate) = 0;
171
- virtual jsi::Value getPointForCoordinate(jsi::Runtime &rt, double tag, jsi::Object coordinate) = 0;
172
- virtual jsi::Value getCoordinateForPoint(jsi::Runtime &rt, double tag, jsi::Object point) = 0;
173
-
174
- };
175
-
176
- template <typename T>
177
- class JSI_EXPORT NativeAirMapsModuleCxxSpec : public TurboModule {
178
- public:
179
- jsi::Value create(jsi::Runtime &rt, const jsi::PropNameID &propName) override {
180
- return delegate_.create(rt, propName);
181
- }
182
-
183
- std::vector<jsi::PropNameID> getPropertyNames(jsi::Runtime& runtime) override {
184
- return delegate_.getPropertyNames(runtime);
185
- }
186
-
187
- static constexpr std::string_view kModuleName = "RNMapsAirModule";
188
-
189
- protected:
190
- NativeAirMapsModuleCxxSpec(std::shared_ptr<CallInvoker> jsInvoker)
191
- : TurboModule(std::string{NativeAirMapsModuleCxxSpec::kModuleName}, jsInvoker),
192
- delegate_(reinterpret_cast<T*>(this), jsInvoker) {}
193
-
194
-
195
- private:
196
- class Delegate : public NativeAirMapsModuleCxxSpecJSI {
197
- public:
198
- Delegate(T *instance, std::shared_ptr<CallInvoker> jsInvoker) :
199
- NativeAirMapsModuleCxxSpecJSI(std::move(jsInvoker)), instance_(instance) {
200
-
201
- }
202
-
203
- jsi::Value getCamera(jsi::Runtime &rt, double tag) override {
204
- static_assert(
205
- bridging::getParameterCount(&T::getCamera) == 2,
206
- "Expected getCamera(...) to have 2 parameters");
207
-
208
- return bridging::callFromJs<jsi::Value>(
209
- rt, &T::getCamera, jsInvoker_, instance_, std::move(tag));
210
- }
211
- jsi::Value getMarkersFrames(jsi::Runtime &rt, double tag, bool onlyVisible) override {
212
- static_assert(
213
- bridging::getParameterCount(&T::getMarkersFrames) == 3,
214
- "Expected getMarkersFrames(...) to have 3 parameters");
215
-
216
- return bridging::callFromJs<jsi::Value>(
217
- rt, &T::getMarkersFrames, jsInvoker_, instance_, std::move(tag), std::move(onlyVisible));
218
- }
219
- jsi::Value getMapBoundaries(jsi::Runtime &rt, double tag) override {
220
- static_assert(
221
- bridging::getParameterCount(&T::getMapBoundaries) == 2,
222
- "Expected getMapBoundaries(...) to have 2 parameters");
223
-
224
- return bridging::callFromJs<jsi::Value>(
225
- rt, &T::getMapBoundaries, jsInvoker_, instance_, std::move(tag));
226
- }
227
- jsi::Value takeSnapshot(jsi::Runtime &rt, double tag, jsi::String config) override {
228
- static_assert(
229
- bridging::getParameterCount(&T::takeSnapshot) == 3,
230
- "Expected takeSnapshot(...) to have 3 parameters");
231
-
232
- return bridging::callFromJs<jsi::Value>(
233
- rt, &T::takeSnapshot, jsInvoker_, instance_, std::move(tag), std::move(config));
234
- }
235
- jsi::Value getAddressFromCoordinates(jsi::Runtime &rt, double tag, jsi::Object coordinate) override {
236
- static_assert(
237
- bridging::getParameterCount(&T::getAddressFromCoordinates) == 3,
238
- "Expected getAddressFromCoordinates(...) to have 3 parameters");
239
-
240
- return bridging::callFromJs<jsi::Value>(
241
- rt, &T::getAddressFromCoordinates, jsInvoker_, instance_, std::move(tag), std::move(coordinate));
242
- }
243
- jsi::Value getPointForCoordinate(jsi::Runtime &rt, double tag, jsi::Object coordinate) override {
244
- static_assert(
245
- bridging::getParameterCount(&T::getPointForCoordinate) == 3,
246
- "Expected getPointForCoordinate(...) to have 3 parameters");
247
-
248
- return bridging::callFromJs<jsi::Value>(
249
- rt, &T::getPointForCoordinate, jsInvoker_, instance_, std::move(tag), std::move(coordinate));
250
- }
251
- jsi::Value getCoordinateForPoint(jsi::Runtime &rt, double tag, jsi::Object point) override {
252
- static_assert(
253
- bridging::getParameterCount(&T::getCoordinateForPoint) == 3,
254
- "Expected getCoordinateForPoint(...) to have 3 parameters");
255
-
256
- return bridging::callFromJs<jsi::Value>(
257
- rt, &T::getCoordinateForPoint, jsInvoker_, instance_, std::move(tag), std::move(point));
258
- }
259
-
260
- private:
261
- friend class NativeAirMapsModuleCxxSpec;
262
- T *instance_;
263
- };
264
-
265
- Delegate delegate_;
266
- };
267
-
268
- } // namespace facebook::react
@@ -1,24 +0,0 @@
1
-
2
- /**
3
- * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
4
- *
5
- * Do not edit this file as changes may cause incorrect behavior and will be lost
6
- * once the code is regenerated.
7
- *
8
- * @generated by codegen project: GenerateShadowNodeCpp.js
9
- */
10
-
11
- #include "ShadowNodes.h"
12
-
13
- namespace facebook::react {
14
-
15
- extern const char RNMapsCalloutComponentName[] = "RNMapsCallout";
16
- extern const char RNMapsCircleComponentName[] = "RNMapsCircle";
17
- extern const char RNMapsGoogleMapViewComponentName[] = "RNMapsGoogleMapView";
18
- extern const char RNMapsGooglePolygonComponentName[] = "RNMapsGooglePolygon";
19
- extern const char RNMapsMapViewComponentName[] = "RNMapsMapView";
20
- extern const char RNMapsMarkerComponentName[] = "RNMapsMarker";
21
- extern const char RNMapsOverlayComponentName[] = "RNMapsOverlay";
22
- extern const char RNMapsPolylineComponentName[] = "RNMapsPolyline";
23
-
24
- } // namespace facebook::react
@@ -1,109 +0,0 @@
1
-
2
- /**
3
- * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
4
- *
5
- * Do not edit this file as changes may cause incorrect behavior and will be lost
6
- * once the code is regenerated.
7
- *
8
- * @generated by codegen project: GenerateShadowNodeH.js
9
- */
10
-
11
- #pragma once
12
-
13
- #include "EventEmitters.h"
14
- #include "Props.h"
15
- #include "States.h"
16
- #include <react/renderer/components/view/ConcreteViewShadowNode.h>
17
- #include <jsi/jsi.h>
18
-
19
- namespace facebook::react {
20
-
21
- JSI_EXPORT extern const char RNMapsCalloutComponentName[];
22
-
23
- /*
24
- * `ShadowNode` for <RNMapsCallout> component.
25
- */
26
- using RNMapsCalloutShadowNode = ConcreteViewShadowNode<
27
- RNMapsCalloutComponentName,
28
- RNMapsCalloutProps,
29
- RNMapsCalloutEventEmitter,
30
- RNMapsCalloutState>;
31
-
32
- JSI_EXPORT extern const char RNMapsCircleComponentName[];
33
-
34
- /*
35
- * `ShadowNode` for <RNMapsCircle> component.
36
- */
37
- using RNMapsCircleShadowNode = ConcreteViewShadowNode<
38
- RNMapsCircleComponentName,
39
- RNMapsCircleProps,
40
- RNMapsCircleEventEmitter,
41
- RNMapsCircleState>;
42
-
43
- JSI_EXPORT extern const char RNMapsGoogleMapViewComponentName[];
44
-
45
- /*
46
- * `ShadowNode` for <RNMapsGoogleMapView> component.
47
- */
48
- using RNMapsGoogleMapViewShadowNode = ConcreteViewShadowNode<
49
- RNMapsGoogleMapViewComponentName,
50
- RNMapsGoogleMapViewProps,
51
- RNMapsGoogleMapViewEventEmitter,
52
- RNMapsGoogleMapViewState>;
53
-
54
- JSI_EXPORT extern const char RNMapsGooglePolygonComponentName[];
55
-
56
- /*
57
- * `ShadowNode` for <RNMapsGooglePolygon> component.
58
- */
59
- using RNMapsGooglePolygonShadowNode = ConcreteViewShadowNode<
60
- RNMapsGooglePolygonComponentName,
61
- RNMapsGooglePolygonProps,
62
- RNMapsGooglePolygonEventEmitter,
63
- RNMapsGooglePolygonState>;
64
-
65
- JSI_EXPORT extern const char RNMapsMapViewComponentName[];
66
-
67
- /*
68
- * `ShadowNode` for <RNMapsMapView> component.
69
- */
70
- using RNMapsMapViewShadowNode = ConcreteViewShadowNode<
71
- RNMapsMapViewComponentName,
72
- RNMapsMapViewProps,
73
- RNMapsMapViewEventEmitter,
74
- RNMapsMapViewState>;
75
-
76
- JSI_EXPORT extern const char RNMapsMarkerComponentName[];
77
-
78
- /*
79
- * `ShadowNode` for <RNMapsMarker> component.
80
- */
81
- using RNMapsMarkerShadowNode = ConcreteViewShadowNode<
82
- RNMapsMarkerComponentName,
83
- RNMapsMarkerProps,
84
- RNMapsMarkerEventEmitter,
85
- RNMapsMarkerState>;
86
-
87
- JSI_EXPORT extern const char RNMapsOverlayComponentName[];
88
-
89
- /*
90
- * `ShadowNode` for <RNMapsOverlay> component.
91
- */
92
- using RNMapsOverlayShadowNode = ConcreteViewShadowNode<
93
- RNMapsOverlayComponentName,
94
- RNMapsOverlayProps,
95
- RNMapsOverlayEventEmitter,
96
- RNMapsOverlayState>;
97
-
98
- JSI_EXPORT extern const char RNMapsPolylineComponentName[];
99
-
100
- /*
101
- * `ShadowNode` for <RNMapsPolyline> component.
102
- */
103
- using RNMapsPolylineShadowNode = ConcreteViewShadowNode<
104
- RNMapsPolylineComponentName,
105
- RNMapsPolylineProps,
106
- RNMapsPolylineEventEmitter,
107
- RNMapsPolylineState>;
108
-
109
- } // namespace facebook::react
@@ -1,16 +0,0 @@
1
-
2
- /**
3
- * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
4
- *
5
- * Do not edit this file as changes may cause incorrect behavior and will be lost
6
- * once the code is regenerated.
7
- *
8
- * @generated by codegen project: GenerateStateCpp.js
9
- */
10
- #include "States.h"
11
-
12
- namespace facebook::react {
13
-
14
-
15
-
16
- } // namespace facebook::react
@@ -1,113 +0,0 @@
1
- /**
2
- * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
3
- *
4
- * Do not edit this file as changes may cause incorrect behavior and will be lost
5
- * once the code is regenerated.
6
- *
7
- * @generated by codegen project: GenerateStateH.js
8
- */
9
- #pragma once
10
-
11
- #ifdef ANDROID
12
- #include <folly/dynamic.h>
13
- #endif
14
-
15
- namespace facebook::react {
16
-
17
- class RNMapsCalloutState {
18
- public:
19
- RNMapsCalloutState() = default;
20
-
21
- #ifdef ANDROID
22
- RNMapsCalloutState(RNMapsCalloutState const &previousState, folly::dynamic data){};
23
- folly::dynamic getDynamic() const {
24
- return {};
25
- };
26
- #endif
27
- };
28
-
29
- class RNMapsCircleState {
30
- public:
31
- RNMapsCircleState() = default;
32
-
33
- #ifdef ANDROID
34
- RNMapsCircleState(RNMapsCircleState const &previousState, folly::dynamic data){};
35
- folly::dynamic getDynamic() const {
36
- return {};
37
- };
38
- #endif
39
- };
40
-
41
- class RNMapsGoogleMapViewState {
42
- public:
43
- RNMapsGoogleMapViewState() = default;
44
-
45
- #ifdef ANDROID
46
- RNMapsGoogleMapViewState(RNMapsGoogleMapViewState const &previousState, folly::dynamic data){};
47
- folly::dynamic getDynamic() const {
48
- return {};
49
- };
50
- #endif
51
- };
52
-
53
- class RNMapsGooglePolygonState {
54
- public:
55
- RNMapsGooglePolygonState() = default;
56
-
57
- #ifdef ANDROID
58
- RNMapsGooglePolygonState(RNMapsGooglePolygonState const &previousState, folly::dynamic data){};
59
- folly::dynamic getDynamic() const {
60
- return {};
61
- };
62
- #endif
63
- };
64
-
65
- class RNMapsMapViewState {
66
- public:
67
- RNMapsMapViewState() = default;
68
-
69
- #ifdef ANDROID
70
- RNMapsMapViewState(RNMapsMapViewState const &previousState, folly::dynamic data){};
71
- folly::dynamic getDynamic() const {
72
- return {};
73
- };
74
- #endif
75
- };
76
-
77
- class RNMapsMarkerState {
78
- public:
79
- RNMapsMarkerState() = default;
80
-
81
- #ifdef ANDROID
82
- RNMapsMarkerState(RNMapsMarkerState const &previousState, folly::dynamic data){};
83
- folly::dynamic getDynamic() const {
84
- return {};
85
- };
86
- #endif
87
- };
88
-
89
- class RNMapsOverlayState {
90
- public:
91
- RNMapsOverlayState() = default;
92
-
93
- #ifdef ANDROID
94
- RNMapsOverlayState(RNMapsOverlayState const &previousState, folly::dynamic data){};
95
- folly::dynamic getDynamic() const {
96
- return {};
97
- };
98
- #endif
99
- };
100
-
101
- class RNMapsPolylineState {
102
- public:
103
- RNMapsPolylineState() = default;
104
-
105
- #ifdef ANDROID
106
- RNMapsPolylineState(RNMapsPolylineState const &previousState, folly::dynamic data){};
107
- folly::dynamic getDynamic() const {
108
- return {};
109
- };
110
- #endif
111
- };
112
-
113
- } // namespace facebook::react
@@ -1,25 +0,0 @@
1
- /*
2
- * Copyright (c) Meta Platforms, Inc. and affiliates.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- */
7
-
8
-
9
- #import <Foundation/Foundation.h>
10
-
11
- #if __has_include(<React-RCTAppDelegate/RCTDependencyProvider.h>)
12
- #import <React-RCTAppDelegate/RCTDependencyProvider.h>
13
- #elif __has_include(<React_RCTAppDelegate/RCTDependencyProvider.h>)
14
- #import <React_RCTAppDelegate/RCTDependencyProvider.h>
15
- #else
16
- #import "RCTDependencyProvider.h"
17
- #endif
18
-
19
- NS_ASSUME_NONNULL_BEGIN
20
-
21
- @interface RCTAppDependencyProvider : NSObject <RCTDependencyProvider>
22
-
23
- @end
24
-
25
- NS_ASSUME_NONNULL_END
@@ -1,55 +0,0 @@
1
- /*
2
- * Copyright (c) Meta Platforms, Inc. and affiliates.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- */
7
-
8
- #import "RCTAppDependencyProvider.h"
9
- #import <ReactCodegen/RCTModulesConformingToProtocolsProvider.h>
10
- #import <ReactCodegen/RCTThirdPartyComponentsProvider.h>
11
-
12
- @implementation RCTAppDependencyProvider {
13
- NSArray<NSString *> * _URLRequestHandlerClassNames;
14
- NSArray<NSString *> * _imageDataDecoderClassNames;
15
- NSArray<NSString *> * _imageURLLoaderClassNames;
16
- NSDictionary<NSString *,Class<RCTComponentViewProtocol>> * _thirdPartyFabricComponents;
17
- }
18
-
19
- - (nonnull NSArray<NSString *> *)URLRequestHandlerClassNames {
20
- static dispatch_once_t requestUrlToken;
21
- dispatch_once(&requestUrlToken, ^{
22
- self->_URLRequestHandlerClassNames = RCTModulesConformingToProtocolsProvider.URLRequestHandlerClassNames;
23
- });
24
-
25
- return _URLRequestHandlerClassNames;
26
- }
27
-
28
- - (nonnull NSArray<NSString *> *)imageDataDecoderClassNames {
29
- static dispatch_once_t dataDecoderToken;
30
- dispatch_once(&dataDecoderToken, ^{
31
- _imageDataDecoderClassNames = RCTModulesConformingToProtocolsProvider.imageDataDecoderClassNames;
32
- });
33
-
34
- return _imageDataDecoderClassNames;
35
- }
36
-
37
- - (nonnull NSArray<NSString *> *)imageURLLoaderClassNames {
38
- static dispatch_once_t urlLoaderToken;
39
- dispatch_once(&urlLoaderToken, ^{
40
- _imageURLLoaderClassNames = RCTModulesConformingToProtocolsProvider.imageURLLoaderClassNames;
41
- });
42
-
43
- return _imageURLLoaderClassNames;
44
- }
45
-
46
- - (nonnull NSDictionary<NSString *,Class<RCTComponentViewProtocol>> *)thirdPartyFabricComponents {
47
- static dispatch_once_t nativeComponentsToken;
48
- dispatch_once(&nativeComponentsToken, ^{
49
- _thirdPartyFabricComponents = RCTThirdPartyComponentsProvider.thirdPartyFabricComponents;
50
- });
51
-
52
- return _thirdPartyFabricComponents;
53
- }
54
-
55
- @end