@react-native-firebase/analytics 26.2.0 → 26.3.1

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.
@@ -1,33 +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 "RCTModulesConformingToProtocolsProvider.h"
9
-
10
- @implementation RCTModulesConformingToProtocolsProvider
11
-
12
- +(NSArray<NSString *> *)imageURLLoaderClassNames
13
- {
14
- return @[
15
-
16
- ];
17
- }
18
-
19
- +(NSArray<NSString *> *)imageDataDecoderClassNames
20
- {
21
- return @[
22
-
23
- ];
24
- }
25
-
26
- +(NSArray<NSString *> *)URLRequestHandlerClassNames
27
- {
28
- return @[
29
-
30
- ];
31
- }
32
-
33
- @end
@@ -1,16 +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 <Foundation/Foundation.h>
9
-
10
- @protocol RCTComponentViewProtocol;
11
-
12
- @interface RCTThirdPartyComponentsProvider: NSObject
13
-
14
- + (NSDictionary<NSString *, Class<RCTComponentViewProtocol>> *)thirdPartyFabricComponents;
15
-
16
- @end
@@ -1,23 +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
- #import "RCTThirdPartyComponentsProvider.h"
12
- #import <React/RCTComponentViewProtocol.h>
13
-
14
- @implementation RCTThirdPartyComponentsProvider
15
-
16
- + (NSDictionary<NSString *, Class<RCTComponentViewProtocol>> *)thirdPartyFabricComponents
17
- {
18
- return @{
19
-
20
- };
21
- }
22
-
23
- @end
@@ -1,131 +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 "RNFBAnalyticsTurboModulesJSI.h"
11
-
12
- namespace facebook::react {
13
-
14
- static jsi::Value __hostFunction_NativeRNFBTurboAnalyticsCxxSpecJSI_logEvent(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
15
- return static_cast<NativeRNFBTurboAnalyticsCxxSpecJSI *>(&turboModule)->logEvent(
16
- rt,
17
- count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt),
18
- count <= 1 || args[1].isNull() || args[1].isUndefined() ? std::nullopt : std::make_optional(args[1].asObject(rt))
19
- );
20
- }
21
- static jsi::Value __hostFunction_NativeRNFBTurboAnalyticsCxxSpecJSI_setAnalyticsCollectionEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
22
- return static_cast<NativeRNFBTurboAnalyticsCxxSpecJSI *>(&turboModule)->setAnalyticsCollectionEnabled(
23
- rt,
24
- count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asBool()
25
- );
26
- }
27
- static jsi::Value __hostFunction_NativeRNFBTurboAnalyticsCxxSpecJSI_setSessionTimeoutDuration(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
28
- return static_cast<NativeRNFBTurboAnalyticsCxxSpecJSI *>(&turboModule)->setSessionTimeoutDuration(
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_NativeRNFBTurboAnalyticsCxxSpecJSI_getAppInstanceId(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
34
- return static_cast<NativeRNFBTurboAnalyticsCxxSpecJSI *>(&turboModule)->getAppInstanceId(
35
- rt
36
- );
37
- }
38
- static jsi::Value __hostFunction_NativeRNFBTurboAnalyticsCxxSpecJSI_getSessionId(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
39
- return static_cast<NativeRNFBTurboAnalyticsCxxSpecJSI *>(&turboModule)->getSessionId(
40
- rt
41
- );
42
- }
43
- static jsi::Value __hostFunction_NativeRNFBTurboAnalyticsCxxSpecJSI_setUserId(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
44
- return static_cast<NativeRNFBTurboAnalyticsCxxSpecJSI *>(&turboModule)->setUserId(
45
- rt,
46
- count <= 0 || args[0].isNull() || args[0].isUndefined() ? std::nullopt : std::make_optional(args[0].asString(rt))
47
- );
48
- }
49
- static jsi::Value __hostFunction_NativeRNFBTurboAnalyticsCxxSpecJSI_setUserProperty(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
50
- return static_cast<NativeRNFBTurboAnalyticsCxxSpecJSI *>(&turboModule)->setUserProperty(
51
- rt,
52
- count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt),
53
- count <= 1 || args[1].isNull() || args[1].isUndefined() ? std::nullopt : std::make_optional(args[1].asString(rt))
54
- );
55
- }
56
- static jsi::Value __hostFunction_NativeRNFBTurboAnalyticsCxxSpecJSI_setUserProperties(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
57
- return static_cast<NativeRNFBTurboAnalyticsCxxSpecJSI *>(&turboModule)->setUserProperties(
58
- rt,
59
- count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asObject(rt)
60
- );
61
- }
62
- static jsi::Value __hostFunction_NativeRNFBTurboAnalyticsCxxSpecJSI_resetAnalyticsData(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
63
- return static_cast<NativeRNFBTurboAnalyticsCxxSpecJSI *>(&turboModule)->resetAnalyticsData(
64
- rt
65
- );
66
- }
67
- static jsi::Value __hostFunction_NativeRNFBTurboAnalyticsCxxSpecJSI_setDefaultEventParameters(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
68
- return static_cast<NativeRNFBTurboAnalyticsCxxSpecJSI *>(&turboModule)->setDefaultEventParameters(
69
- rt,
70
- count <= 0 || args[0].isNull() || args[0].isUndefined() ? std::nullopt : std::make_optional(args[0].asObject(rt))
71
- );
72
- }
73
- static jsi::Value __hostFunction_NativeRNFBTurboAnalyticsCxxSpecJSI_setConsent(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
74
- return static_cast<NativeRNFBTurboAnalyticsCxxSpecJSI *>(&turboModule)->setConsent(
75
- rt,
76
- count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asObject(rt)
77
- );
78
- }
79
- static jsi::Value __hostFunction_NativeRNFBTurboAnalyticsCxxSpecJSI_logTransaction(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
80
- return static_cast<NativeRNFBTurboAnalyticsCxxSpecJSI *>(&turboModule)->logTransaction(
81
- rt,
82
- count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt)
83
- );
84
- }
85
- static jsi::Value __hostFunction_NativeRNFBTurboAnalyticsCxxSpecJSI_initiateOnDeviceConversionMeasurementWithEmailAddress(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
86
- return static_cast<NativeRNFBTurboAnalyticsCxxSpecJSI *>(&turboModule)->initiateOnDeviceConversionMeasurementWithEmailAddress(
87
- rt,
88
- count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt)
89
- );
90
- }
91
- static jsi::Value __hostFunction_NativeRNFBTurboAnalyticsCxxSpecJSI_initiateOnDeviceConversionMeasurementWithHashedEmailAddress(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
92
- return static_cast<NativeRNFBTurboAnalyticsCxxSpecJSI *>(&turboModule)->initiateOnDeviceConversionMeasurementWithHashedEmailAddress(
93
- rt,
94
- count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt)
95
- );
96
- }
97
- static jsi::Value __hostFunction_NativeRNFBTurboAnalyticsCxxSpecJSI_initiateOnDeviceConversionMeasurementWithPhoneNumber(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
98
- return static_cast<NativeRNFBTurboAnalyticsCxxSpecJSI *>(&turboModule)->initiateOnDeviceConversionMeasurementWithPhoneNumber(
99
- rt,
100
- count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt)
101
- );
102
- }
103
- static jsi::Value __hostFunction_NativeRNFBTurboAnalyticsCxxSpecJSI_initiateOnDeviceConversionMeasurementWithHashedPhoneNumber(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
104
- return static_cast<NativeRNFBTurboAnalyticsCxxSpecJSI *>(&turboModule)->initiateOnDeviceConversionMeasurementWithHashedPhoneNumber(
105
- rt,
106
- count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt)
107
- );
108
- }
109
-
110
- NativeRNFBTurboAnalyticsCxxSpecJSI::NativeRNFBTurboAnalyticsCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
111
- : TurboModule("NativeRNFBTurboAnalytics", jsInvoker) {
112
- methodMap_["logEvent"] = MethodMetadata {2, __hostFunction_NativeRNFBTurboAnalyticsCxxSpecJSI_logEvent};
113
- methodMap_["setAnalyticsCollectionEnabled"] = MethodMetadata {1, __hostFunction_NativeRNFBTurboAnalyticsCxxSpecJSI_setAnalyticsCollectionEnabled};
114
- methodMap_["setSessionTimeoutDuration"] = MethodMetadata {1, __hostFunction_NativeRNFBTurboAnalyticsCxxSpecJSI_setSessionTimeoutDuration};
115
- methodMap_["getAppInstanceId"] = MethodMetadata {0, __hostFunction_NativeRNFBTurboAnalyticsCxxSpecJSI_getAppInstanceId};
116
- methodMap_["getSessionId"] = MethodMetadata {0, __hostFunction_NativeRNFBTurboAnalyticsCxxSpecJSI_getSessionId};
117
- methodMap_["setUserId"] = MethodMetadata {1, __hostFunction_NativeRNFBTurboAnalyticsCxxSpecJSI_setUserId};
118
- methodMap_["setUserProperty"] = MethodMetadata {2, __hostFunction_NativeRNFBTurboAnalyticsCxxSpecJSI_setUserProperty};
119
- methodMap_["setUserProperties"] = MethodMetadata {1, __hostFunction_NativeRNFBTurboAnalyticsCxxSpecJSI_setUserProperties};
120
- methodMap_["resetAnalyticsData"] = MethodMetadata {0, __hostFunction_NativeRNFBTurboAnalyticsCxxSpecJSI_resetAnalyticsData};
121
- methodMap_["setDefaultEventParameters"] = MethodMetadata {1, __hostFunction_NativeRNFBTurboAnalyticsCxxSpecJSI_setDefaultEventParameters};
122
- methodMap_["setConsent"] = MethodMetadata {1, __hostFunction_NativeRNFBTurboAnalyticsCxxSpecJSI_setConsent};
123
- methodMap_["logTransaction"] = MethodMetadata {1, __hostFunction_NativeRNFBTurboAnalyticsCxxSpecJSI_logTransaction};
124
- methodMap_["initiateOnDeviceConversionMeasurementWithEmailAddress"] = MethodMetadata {1, __hostFunction_NativeRNFBTurboAnalyticsCxxSpecJSI_initiateOnDeviceConversionMeasurementWithEmailAddress};
125
- methodMap_["initiateOnDeviceConversionMeasurementWithHashedEmailAddress"] = MethodMetadata {1, __hostFunction_NativeRNFBTurboAnalyticsCxxSpecJSI_initiateOnDeviceConversionMeasurementWithHashedEmailAddress};
126
- methodMap_["initiateOnDeviceConversionMeasurementWithPhoneNumber"] = MethodMetadata {1, __hostFunction_NativeRNFBTurboAnalyticsCxxSpecJSI_initiateOnDeviceConversionMeasurementWithPhoneNumber};
127
- methodMap_["initiateOnDeviceConversionMeasurementWithHashedPhoneNumber"] = MethodMetadata {1, __hostFunction_NativeRNFBTurboAnalyticsCxxSpecJSI_initiateOnDeviceConversionMeasurementWithHashedPhoneNumber};
128
- }
129
-
130
-
131
- } // namespace facebook::react
@@ -1,34 +0,0 @@
1
- # Copyright (c) Meta Platforms, Inc. and affiliates.
2
- #
3
- # This source code is licensed under the MIT license found in the
4
- # LICENSE file in the root directory of this source tree.
5
-
6
- version = "0.78.3"
7
- source = { :git => 'https://github.com/facebook/react-native.git' }
8
- if version == '1000.0.0'
9
- # This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
10
- source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
11
- else
12
- source[:tag] = "v#{version}"
13
- end
14
-
15
- Pod::Spec.new do |s|
16
- s.name = "ReactAppDependencyProvider"
17
- s.version = version
18
- s.summary = "The third party dependency provider for the app"
19
- s.homepage = "https://reactnative.dev/"
20
- s.documentation_url = "https://reactnative.dev/"
21
- s.license = "MIT"
22
- s.author = "Meta Platforms, Inc. and its affiliates"
23
- s.platforms = min_supported_versions
24
- s.source = source
25
- s.source_files = "**/RCTAppDependencyProvider.{h,mm}"
26
-
27
- # This guard prevent to install the dependencies when we run `pod install` in the old architecture.
28
- s.pod_target_xcconfig = {
29
- "CLANG_CXX_LANGUAGE_STANDARD" => rct_cxx_language_standard(),
30
- "DEFINES_MODULE" => "YES"
31
- }
32
-
33
- s.dependency "ReactCodegen"
34
- end