mobilyflow-react-native-sdk 0.6.1 → 0.7.0-alpha.4
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.
- package/MobilyflowReactNativeSdk.podspec +1 -1
- package/android/build.gradle +12 -16
- package/android/generated/jni/CMakeLists.txt +1 -9
- package/android/generated/jni/react/renderer/components/RNMobilyflowReactNativeSdkSpec/RNMobilyflowReactNativeSdkSpecJSI.h +178 -218
- package/ios/MobilyflowReactNativeSdk.h +2 -4
- package/ios/MobilyflowReactNativeSdk.mm +4 -0
- package/ios/generated/Package.swift +66 -0
- package/ios/generated/ReactAppDependencyProvider/RCTAppDependencyProvider.h +25 -0
- package/ios/generated/ReactAppDependencyProvider/RCTAppDependencyProvider.mm +40 -0
- package/ios/generated/ReactAppDependencyProvider/ReactAppDependencyProvider.podspec +34 -0
- package/ios/generated/ReactCodegen/RCTModuleProviders.h +16 -0
- package/ios/generated/ReactCodegen/RCTModuleProviders.mm +51 -0
- package/ios/generated/ReactCodegen/RCTModulesConformingToProtocolsProvider.h +18 -0
- package/ios/generated/ReactCodegen/RCTModulesConformingToProtocolsProvider.mm +54 -0
- package/ios/generated/ReactCodegen/RCTThirdPartyComponentsProvider.h +16 -0
- package/ios/generated/ReactCodegen/RCTThirdPartyComponentsProvider.mm +30 -0
- package/ios/generated/ReactCodegen/RCTUnstableModulesRequiringMainQueueSetupProvider.h +14 -0
- package/ios/generated/ReactCodegen/RCTUnstableModulesRequiringMainQueueSetupProvider.mm +19 -0
- package/ios/generated/ReactCodegen/RNMobilyflowReactNativeSdkSpecJSI.h +328 -0
- package/ios/generated/ReactCodegen/ReactCodegen.podspec +110 -0
- package/lib/commonjs/enums/mobily-event-type.js +15 -15
- package/lib/commonjs/enums/mobily-product-status.js +3 -3
- package/lib/commonjs/enums/mobily-product-type.js +2 -2
- package/lib/commonjs/enums/mobily-refund-dialog-result.js +3 -3
- package/lib/commonjs/enums/mobily-transaction-status.js +3 -3
- package/lib/commonjs/enums/mobily-transfer-ownership-status.js +5 -4
- package/lib/commonjs/enums/mobily-transfer-ownership-status.js.map +1 -1
- package/lib/commonjs/enums/mobily-webhook-status.js +4 -3
- package/lib/commonjs/enums/mobily-webhook-status.js.map +1 -1
- package/lib/module/enums/mobily-event-type.js +15 -15
- package/lib/module/enums/mobily-product-status.js +3 -3
- package/lib/module/enums/mobily-product-type.js +2 -2
- package/lib/module/enums/mobily-refund-dialog-result.js +3 -3
- package/lib/module/enums/mobily-transaction-status.js +3 -3
- package/lib/module/enums/mobily-transfer-ownership-status.js +5 -4
- package/lib/module/enums/mobily-transfer-ownership-status.js.map +1 -1
- package/lib/module/enums/mobily-webhook-status.js +4 -3
- package/lib/module/enums/mobily-webhook-status.js.map +1 -1
- package/lib/typescript/commonjs/src/enums/mobily-event-type.d.ts +15 -15
- package/lib/typescript/commonjs/src/enums/mobily-event-type.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/enums/mobily-product-status.d.ts +3 -3
- package/lib/typescript/commonjs/src/enums/mobily-product-type.d.ts +2 -2
- package/lib/typescript/commonjs/src/enums/mobily-refund-dialog-result.d.ts +3 -3
- package/lib/typescript/commonjs/src/enums/mobily-transaction-status.d.ts +3 -3
- package/lib/typescript/commonjs/src/enums/mobily-transfer-ownership-status.d.ts +5 -4
- package/lib/typescript/commonjs/src/enums/mobily-transfer-ownership-status.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/enums/mobily-webhook-status.d.ts +4 -3
- package/lib/typescript/commonjs/src/enums/mobily-webhook-status.d.ts.map +1 -1
- package/lib/typescript/module/src/enums/mobily-event-type.d.ts +15 -15
- package/lib/typescript/module/src/enums/mobily-event-type.d.ts.map +1 -1
- package/lib/typescript/module/src/enums/mobily-product-status.d.ts +3 -3
- package/lib/typescript/module/src/enums/mobily-product-type.d.ts +2 -2
- package/lib/typescript/module/src/enums/mobily-refund-dialog-result.d.ts +3 -3
- package/lib/typescript/module/src/enums/mobily-transaction-status.d.ts +3 -3
- package/lib/typescript/module/src/enums/mobily-transfer-ownership-status.d.ts +5 -4
- package/lib/typescript/module/src/enums/mobily-transfer-ownership-status.d.ts.map +1 -1
- package/lib/typescript/module/src/enums/mobily-webhook-status.d.ts +4 -3
- package/lib/typescript/module/src/enums/mobily-webhook-status.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/enums/mobily-event-type.ts +15 -15
- package/src/enums/mobily-product-status.ts +3 -3
- package/src/enums/mobily-product-type.ts +2 -2
- package/src/enums/mobily-refund-dialog-result.ts +3 -3
- package/src/enums/mobily-transaction-status.ts +3 -3
- package/src/enums/mobily-transfer-ownership-status.ts +5 -4
- package/src/enums/mobily-webhook-status.ts +4 -3
- package/android/generated/jni/react/renderer/components/RNMobilyflowReactNativeSdkSpec/RNMobilyflowReactNativeSdkSpecJSI-generated.cpp +0 -172
- package/android/gradle.properties +0 -5
- package/ios/generated/RNMobilyflowReactNativeSdkSpecJSI-generated.cpp +0 -172
- package/ios/generated/RNMobilyflowReactNativeSdkSpecJSI.h +0 -368
- /package/ios/generated/{RNMobilyflowReactNativeSdkSpec → ReactCodegen/RNMobilyflowReactNativeSdkSpec}/RNMobilyflowReactNativeSdkSpec-generated.mm +0 -0
- /package/ios/generated/{RNMobilyflowReactNativeSdkSpec → ReactCodegen/RNMobilyflowReactNativeSdkSpec}/RNMobilyflowReactNativeSdkSpec.h +0 -0
|
@@ -1,172 +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 "RNMobilyflowReactNativeSdkSpecJSI.h"
|
|
11
|
-
|
|
12
|
-
namespace facebook::react {
|
|
13
|
-
|
|
14
|
-
static jsi::Value __hostFunction_NativeMobilyflowReactNativeSdkCxxSpecJSI_initialize(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
15
|
-
static_cast<NativeMobilyflowReactNativeSdkCxxSpecJSI *>(&turboModule)->initialize(
|
|
16
|
-
rt,
|
|
17
|
-
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt),
|
|
18
|
-
count <= 1 ? throw jsi::JSError(rt, "Expected argument in position 1 to be passed") : args[1].asString(rt),
|
|
19
|
-
count <= 2 ? throw jsi::JSError(rt, "Expected argument in position 2 to be passed") : args[2].asString(rt),
|
|
20
|
-
count <= 3 || args[3].isUndefined() ? std::nullopt : std::make_optional(args[3].asObject(rt))
|
|
21
|
-
);
|
|
22
|
-
return jsi::Value::undefined();
|
|
23
|
-
}
|
|
24
|
-
static jsi::Value __hostFunction_NativeMobilyflowReactNativeSdkCxxSpecJSI_close(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
25
|
-
static_cast<NativeMobilyflowReactNativeSdkCxxSpecJSI *>(&turboModule)->close(
|
|
26
|
-
rt
|
|
27
|
-
);
|
|
28
|
-
return jsi::Value::undefined();
|
|
29
|
-
}
|
|
30
|
-
static jsi::Value __hostFunction_NativeMobilyflowReactNativeSdkCxxSpecJSI_login(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
31
|
-
return static_cast<NativeMobilyflowReactNativeSdkCxxSpecJSI *>(&turboModule)->login(
|
|
32
|
-
rt,
|
|
33
|
-
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt)
|
|
34
|
-
);
|
|
35
|
-
}
|
|
36
|
-
static jsi::Value __hostFunction_NativeMobilyflowReactNativeSdkCxxSpecJSI_logout(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
37
|
-
return static_cast<NativeMobilyflowReactNativeSdkCxxSpecJSI *>(&turboModule)->logout(
|
|
38
|
-
rt
|
|
39
|
-
);
|
|
40
|
-
}
|
|
41
|
-
static jsi::Value __hostFunction_NativeMobilyflowReactNativeSdkCxxSpecJSI_getProducts(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
42
|
-
return static_cast<NativeMobilyflowReactNativeSdkCxxSpecJSI *>(&turboModule)->getProducts(
|
|
43
|
-
rt,
|
|
44
|
-
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asObject(rt).asArray(rt),
|
|
45
|
-
count <= 1 ? throw jsi::JSError(rt, "Expected argument in position 1 to be passed") : args[1].asBool()
|
|
46
|
-
);
|
|
47
|
-
}
|
|
48
|
-
static jsi::Value __hostFunction_NativeMobilyflowReactNativeSdkCxxSpecJSI_getSubscriptionGroups(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
49
|
-
return static_cast<NativeMobilyflowReactNativeSdkCxxSpecJSI *>(&turboModule)->getSubscriptionGroups(
|
|
50
|
-
rt,
|
|
51
|
-
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asObject(rt).asArray(rt),
|
|
52
|
-
count <= 1 ? throw jsi::JSError(rt, "Expected argument in position 1 to be passed") : args[1].asBool()
|
|
53
|
-
);
|
|
54
|
-
}
|
|
55
|
-
static jsi::Value __hostFunction_NativeMobilyflowReactNativeSdkCxxSpecJSI_getSubscriptionGroupById(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
56
|
-
return static_cast<NativeMobilyflowReactNativeSdkCxxSpecJSI *>(&turboModule)->getSubscriptionGroupById(
|
|
57
|
-
rt,
|
|
58
|
-
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt)
|
|
59
|
-
);
|
|
60
|
-
}
|
|
61
|
-
static jsi::Value __hostFunction_NativeMobilyflowReactNativeSdkCxxSpecJSI_getEntitlementForSubscription(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
62
|
-
return static_cast<NativeMobilyflowReactNativeSdkCxxSpecJSI *>(&turboModule)->getEntitlementForSubscription(
|
|
63
|
-
rt,
|
|
64
|
-
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt)
|
|
65
|
-
);
|
|
66
|
-
}
|
|
67
|
-
static jsi::Value __hostFunction_NativeMobilyflowReactNativeSdkCxxSpecJSI_getEntitlement(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
68
|
-
return static_cast<NativeMobilyflowReactNativeSdkCxxSpecJSI *>(&turboModule)->getEntitlement(
|
|
69
|
-
rt,
|
|
70
|
-
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt)
|
|
71
|
-
);
|
|
72
|
-
}
|
|
73
|
-
static jsi::Value __hostFunction_NativeMobilyflowReactNativeSdkCxxSpecJSI_getEntitlements(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
74
|
-
return static_cast<NativeMobilyflowReactNativeSdkCxxSpecJSI *>(&turboModule)->getEntitlements(
|
|
75
|
-
rt,
|
|
76
|
-
count <= 0 || args[0].isUndefined() ? std::nullopt : std::make_optional(args[0].asObject(rt).asArray(rt))
|
|
77
|
-
);
|
|
78
|
-
}
|
|
79
|
-
static jsi::Value __hostFunction_NativeMobilyflowReactNativeSdkCxxSpecJSI_getExternalEntitlements(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
80
|
-
return static_cast<NativeMobilyflowReactNativeSdkCxxSpecJSI *>(&turboModule)->getExternalEntitlements(
|
|
81
|
-
rt
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
static jsi::Value __hostFunction_NativeMobilyflowReactNativeSdkCxxSpecJSI_requestTransferOwnership(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
85
|
-
return static_cast<NativeMobilyflowReactNativeSdkCxxSpecJSI *>(&turboModule)->requestTransferOwnership(
|
|
86
|
-
rt
|
|
87
|
-
);
|
|
88
|
-
}
|
|
89
|
-
static jsi::Value __hostFunction_NativeMobilyflowReactNativeSdkCxxSpecJSI_openManageSubscription(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
90
|
-
return static_cast<NativeMobilyflowReactNativeSdkCxxSpecJSI *>(&turboModule)->openManageSubscription(
|
|
91
|
-
rt
|
|
92
|
-
);
|
|
93
|
-
}
|
|
94
|
-
static jsi::Value __hostFunction_NativeMobilyflowReactNativeSdkCxxSpecJSI_openRefundDialogForProduct(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
95
|
-
return static_cast<NativeMobilyflowReactNativeSdkCxxSpecJSI *>(&turboModule)->openRefundDialogForProduct(
|
|
96
|
-
rt,
|
|
97
|
-
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt)
|
|
98
|
-
);
|
|
99
|
-
}
|
|
100
|
-
static jsi::Value __hostFunction_NativeMobilyflowReactNativeSdkCxxSpecJSI_openRefundDialogForTransactionId(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
101
|
-
return static_cast<NativeMobilyflowReactNativeSdkCxxSpecJSI *>(&turboModule)->openRefundDialogForTransactionId(
|
|
102
|
-
rt,
|
|
103
|
-
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt)
|
|
104
|
-
);
|
|
105
|
-
}
|
|
106
|
-
static jsi::Value __hostFunction_NativeMobilyflowReactNativeSdkCxxSpecJSI_purchaseProduct(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
107
|
-
return static_cast<NativeMobilyflowReactNativeSdkCxxSpecJSI *>(&turboModule)->purchaseProduct(
|
|
108
|
-
rt,
|
|
109
|
-
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt),
|
|
110
|
-
count <= 1 || args[1].isUndefined() ? std::nullopt : std::make_optional(args[1].asObject(rt))
|
|
111
|
-
);
|
|
112
|
-
}
|
|
113
|
-
static jsi::Value __hostFunction_NativeMobilyflowReactNativeSdkCxxSpecJSI_sendDiagnostic(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
114
|
-
return static_cast<NativeMobilyflowReactNativeSdkCxxSpecJSI *>(&turboModule)->sendDiagnostic(
|
|
115
|
-
rt
|
|
116
|
-
);
|
|
117
|
-
}
|
|
118
|
-
static jsi::Value __hostFunction_NativeMobilyflowReactNativeSdkCxxSpecJSI_getStoreCountry(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
119
|
-
return static_cast<NativeMobilyflowReactNativeSdkCxxSpecJSI *>(&turboModule)->getStoreCountry(
|
|
120
|
-
rt
|
|
121
|
-
);
|
|
122
|
-
}
|
|
123
|
-
static jsi::Value __hostFunction_NativeMobilyflowReactNativeSdkCxxSpecJSI_isBillingAvailable(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
124
|
-
return static_cast<NativeMobilyflowReactNativeSdkCxxSpecJSI *>(&turboModule)->isBillingAvailable(
|
|
125
|
-
rt
|
|
126
|
-
);
|
|
127
|
-
}
|
|
128
|
-
static jsi::Value __hostFunction_NativeMobilyflowReactNativeSdkCxxSpecJSI_isForwardingEnable(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
129
|
-
return static_cast<NativeMobilyflowReactNativeSdkCxxSpecJSI *>(&turboModule)->isForwardingEnable(
|
|
130
|
-
rt,
|
|
131
|
-
count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt)
|
|
132
|
-
);
|
|
133
|
-
}
|
|
134
|
-
static jsi::Value __hostFunction_NativeMobilyflowReactNativeSdkCxxSpecJSI_getCustomer(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
135
|
-
return static_cast<NativeMobilyflowReactNativeSdkCxxSpecJSI *>(&turboModule)->getCustomer(
|
|
136
|
-
rt
|
|
137
|
-
);
|
|
138
|
-
}
|
|
139
|
-
static jsi::Value __hostFunction_NativeMobilyflowReactNativeSdkCxxSpecJSI_getSDKVersion(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
140
|
-
return static_cast<NativeMobilyflowReactNativeSdkCxxSpecJSI *>(&turboModule)->getSDKVersion(
|
|
141
|
-
rt
|
|
142
|
-
);
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
NativeMobilyflowReactNativeSdkCxxSpecJSI::NativeMobilyflowReactNativeSdkCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
146
|
-
: TurboModule("MobilyflowReactNativeSdk", jsInvoker) {
|
|
147
|
-
methodMap_["initialize"] = MethodMetadata {4, __hostFunction_NativeMobilyflowReactNativeSdkCxxSpecJSI_initialize};
|
|
148
|
-
methodMap_["close"] = MethodMetadata {0, __hostFunction_NativeMobilyflowReactNativeSdkCxxSpecJSI_close};
|
|
149
|
-
methodMap_["login"] = MethodMetadata {1, __hostFunction_NativeMobilyflowReactNativeSdkCxxSpecJSI_login};
|
|
150
|
-
methodMap_["logout"] = MethodMetadata {0, __hostFunction_NativeMobilyflowReactNativeSdkCxxSpecJSI_logout};
|
|
151
|
-
methodMap_["getProducts"] = MethodMetadata {2, __hostFunction_NativeMobilyflowReactNativeSdkCxxSpecJSI_getProducts};
|
|
152
|
-
methodMap_["getSubscriptionGroups"] = MethodMetadata {2, __hostFunction_NativeMobilyflowReactNativeSdkCxxSpecJSI_getSubscriptionGroups};
|
|
153
|
-
methodMap_["getSubscriptionGroupById"] = MethodMetadata {1, __hostFunction_NativeMobilyflowReactNativeSdkCxxSpecJSI_getSubscriptionGroupById};
|
|
154
|
-
methodMap_["getEntitlementForSubscription"] = MethodMetadata {1, __hostFunction_NativeMobilyflowReactNativeSdkCxxSpecJSI_getEntitlementForSubscription};
|
|
155
|
-
methodMap_["getEntitlement"] = MethodMetadata {1, __hostFunction_NativeMobilyflowReactNativeSdkCxxSpecJSI_getEntitlement};
|
|
156
|
-
methodMap_["getEntitlements"] = MethodMetadata {1, __hostFunction_NativeMobilyflowReactNativeSdkCxxSpecJSI_getEntitlements};
|
|
157
|
-
methodMap_["getExternalEntitlements"] = MethodMetadata {0, __hostFunction_NativeMobilyflowReactNativeSdkCxxSpecJSI_getExternalEntitlements};
|
|
158
|
-
methodMap_["requestTransferOwnership"] = MethodMetadata {0, __hostFunction_NativeMobilyflowReactNativeSdkCxxSpecJSI_requestTransferOwnership};
|
|
159
|
-
methodMap_["openManageSubscription"] = MethodMetadata {0, __hostFunction_NativeMobilyflowReactNativeSdkCxxSpecJSI_openManageSubscription};
|
|
160
|
-
methodMap_["openRefundDialogForProduct"] = MethodMetadata {1, __hostFunction_NativeMobilyflowReactNativeSdkCxxSpecJSI_openRefundDialogForProduct};
|
|
161
|
-
methodMap_["openRefundDialogForTransactionId"] = MethodMetadata {1, __hostFunction_NativeMobilyflowReactNativeSdkCxxSpecJSI_openRefundDialogForTransactionId};
|
|
162
|
-
methodMap_["purchaseProduct"] = MethodMetadata {2, __hostFunction_NativeMobilyflowReactNativeSdkCxxSpecJSI_purchaseProduct};
|
|
163
|
-
methodMap_["sendDiagnostic"] = MethodMetadata {0, __hostFunction_NativeMobilyflowReactNativeSdkCxxSpecJSI_sendDiagnostic};
|
|
164
|
-
methodMap_["getStoreCountry"] = MethodMetadata {0, __hostFunction_NativeMobilyflowReactNativeSdkCxxSpecJSI_getStoreCountry};
|
|
165
|
-
methodMap_["isBillingAvailable"] = MethodMetadata {0, __hostFunction_NativeMobilyflowReactNativeSdkCxxSpecJSI_isBillingAvailable};
|
|
166
|
-
methodMap_["isForwardingEnable"] = MethodMetadata {1, __hostFunction_NativeMobilyflowReactNativeSdkCxxSpecJSI_isForwardingEnable};
|
|
167
|
-
methodMap_["getCustomer"] = MethodMetadata {0, __hostFunction_NativeMobilyflowReactNativeSdkCxxSpecJSI_getCustomer};
|
|
168
|
-
methodMap_["getSDKVersion"] = MethodMetadata {0, __hostFunction_NativeMobilyflowReactNativeSdkCxxSpecJSI_getSDKVersion};
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
} // namespace facebook::react
|
|
@@ -1,368 +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 - NativeMobilyflowReactNativeSdkMobilyPurchaseSDKOptions
|
|
20
|
-
|
|
21
|
-
template <typename P0, typename P1, typename P2>
|
|
22
|
-
struct NativeMobilyflowReactNativeSdkMobilyPurchaseSDKOptions {
|
|
23
|
-
P0 languages;
|
|
24
|
-
P1 debug;
|
|
25
|
-
P2 apiURL;
|
|
26
|
-
bool operator==(const NativeMobilyflowReactNativeSdkMobilyPurchaseSDKOptions &other) const {
|
|
27
|
-
return languages == other.languages && debug == other.debug && apiURL == other.apiURL;
|
|
28
|
-
}
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
template <typename T>
|
|
32
|
-
struct NativeMobilyflowReactNativeSdkMobilyPurchaseSDKOptionsBridging {
|
|
33
|
-
static T types;
|
|
34
|
-
|
|
35
|
-
static T fromJs(
|
|
36
|
-
jsi::Runtime &rt,
|
|
37
|
-
const jsi::Object &value,
|
|
38
|
-
const std::shared_ptr<CallInvoker> &jsInvoker) {
|
|
39
|
-
T result{
|
|
40
|
-
bridging::fromJs<decltype(types.languages)>(rt, value.getProperty(rt, "languages"), jsInvoker),
|
|
41
|
-
bridging::fromJs<decltype(types.debug)>(rt, value.getProperty(rt, "debug"), jsInvoker),
|
|
42
|
-
bridging::fromJs<decltype(types.apiURL)>(rt, value.getProperty(rt, "apiURL"), jsInvoker)};
|
|
43
|
-
return result;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
#ifdef DEBUG
|
|
47
|
-
static jsi::Array languagesToJs(jsi::Runtime &rt, decltype(types.languages) value) {
|
|
48
|
-
return bridging::toJs(rt, value);
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
static bool debugToJs(jsi::Runtime &rt, decltype(types.debug) value) {
|
|
52
|
-
return bridging::toJs(rt, value);
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
static jsi::String apiURLToJs(jsi::Runtime &rt, decltype(types.apiURL) value) {
|
|
56
|
-
return bridging::toJs(rt, value);
|
|
57
|
-
}
|
|
58
|
-
#endif
|
|
59
|
-
|
|
60
|
-
static jsi::Object toJs(
|
|
61
|
-
jsi::Runtime &rt,
|
|
62
|
-
const T &value,
|
|
63
|
-
const std::shared_ptr<CallInvoker> &jsInvoker) {
|
|
64
|
-
auto result = facebook::jsi::Object(rt);
|
|
65
|
-
if (value.languages) {
|
|
66
|
-
result.setProperty(rt, "languages", bridging::toJs(rt, value.languages.value(), jsInvoker));
|
|
67
|
-
}
|
|
68
|
-
if (value.debug) {
|
|
69
|
-
result.setProperty(rt, "debug", bridging::toJs(rt, value.debug.value(), jsInvoker));
|
|
70
|
-
}
|
|
71
|
-
if (value.apiURL) {
|
|
72
|
-
result.setProperty(rt, "apiURL", bridging::toJs(rt, value.apiURL.value(), jsInvoker));
|
|
73
|
-
}
|
|
74
|
-
return result;
|
|
75
|
-
}
|
|
76
|
-
};
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
#pragma mark - NativeMobilyflowReactNativeSdkPurchaseOptions
|
|
81
|
-
|
|
82
|
-
template <typename P0, typename P1>
|
|
83
|
-
struct NativeMobilyflowReactNativeSdkPurchaseOptions {
|
|
84
|
-
P0 offerId;
|
|
85
|
-
P1 quantity;
|
|
86
|
-
bool operator==(const NativeMobilyflowReactNativeSdkPurchaseOptions &other) const {
|
|
87
|
-
return offerId == other.offerId && quantity == other.quantity;
|
|
88
|
-
}
|
|
89
|
-
};
|
|
90
|
-
|
|
91
|
-
template <typename T>
|
|
92
|
-
struct NativeMobilyflowReactNativeSdkPurchaseOptionsBridging {
|
|
93
|
-
static T types;
|
|
94
|
-
|
|
95
|
-
static T fromJs(
|
|
96
|
-
jsi::Runtime &rt,
|
|
97
|
-
const jsi::Object &value,
|
|
98
|
-
const std::shared_ptr<CallInvoker> &jsInvoker) {
|
|
99
|
-
T result{
|
|
100
|
-
bridging::fromJs<decltype(types.offerId)>(rt, value.getProperty(rt, "offerId"), jsInvoker),
|
|
101
|
-
bridging::fromJs<decltype(types.quantity)>(rt, value.getProperty(rt, "quantity"), jsInvoker)};
|
|
102
|
-
return result;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
#ifdef DEBUG
|
|
106
|
-
static std::optional<jsi::String> offerIdToJs(jsi::Runtime &rt, decltype(types.offerId) value) {
|
|
107
|
-
return bridging::toJs(rt, value);
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
static std::optional<double> quantityToJs(jsi::Runtime &rt, decltype(types.quantity) value) {
|
|
111
|
-
return bridging::toJs(rt, value);
|
|
112
|
-
}
|
|
113
|
-
#endif
|
|
114
|
-
|
|
115
|
-
static jsi::Object toJs(
|
|
116
|
-
jsi::Runtime &rt,
|
|
117
|
-
const T &value,
|
|
118
|
-
const std::shared_ptr<CallInvoker> &jsInvoker) {
|
|
119
|
-
auto result = facebook::jsi::Object(rt);
|
|
120
|
-
result.setProperty(rt, "offerId", bridging::toJs(rt, value.offerId, jsInvoker));
|
|
121
|
-
result.setProperty(rt, "quantity", bridging::toJs(rt, value.quantity, jsInvoker));
|
|
122
|
-
return result;
|
|
123
|
-
}
|
|
124
|
-
};
|
|
125
|
-
|
|
126
|
-
class JSI_EXPORT NativeMobilyflowReactNativeSdkCxxSpecJSI : public TurboModule {
|
|
127
|
-
protected:
|
|
128
|
-
NativeMobilyflowReactNativeSdkCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker);
|
|
129
|
-
|
|
130
|
-
public:
|
|
131
|
-
virtual void initialize(jsi::Runtime &rt, jsi::String appId, jsi::String apiKey, jsi::String environment, std::optional<jsi::Object> options) = 0;
|
|
132
|
-
virtual void close(jsi::Runtime &rt) = 0;
|
|
133
|
-
virtual jsi::Value login(jsi::Runtime &rt, jsi::String externalRef) = 0;
|
|
134
|
-
virtual jsi::Value logout(jsi::Runtime &rt) = 0;
|
|
135
|
-
virtual jsi::Value getProducts(jsi::Runtime &rt, jsi::Array identifiers, bool onlyAvailable) = 0;
|
|
136
|
-
virtual jsi::Value getSubscriptionGroups(jsi::Runtime &rt, jsi::Array identifiers, bool onlyAvailable) = 0;
|
|
137
|
-
virtual jsi::Value getSubscriptionGroupById(jsi::Runtime &rt, jsi::String id) = 0;
|
|
138
|
-
virtual jsi::Value getEntitlementForSubscription(jsi::Runtime &rt, jsi::String subscriptionGroupId) = 0;
|
|
139
|
-
virtual jsi::Value getEntitlement(jsi::Runtime &rt, jsi::String productId) = 0;
|
|
140
|
-
virtual jsi::Value getEntitlements(jsi::Runtime &rt, std::optional<jsi::Array> productIds) = 0;
|
|
141
|
-
virtual jsi::Value getExternalEntitlements(jsi::Runtime &rt) = 0;
|
|
142
|
-
virtual jsi::Value requestTransferOwnership(jsi::Runtime &rt) = 0;
|
|
143
|
-
virtual jsi::Value openManageSubscription(jsi::Runtime &rt) = 0;
|
|
144
|
-
virtual jsi::Value openRefundDialogForProduct(jsi::Runtime &rt, jsi::String productId) = 0;
|
|
145
|
-
virtual jsi::Value openRefundDialogForTransactionId(jsi::Runtime &rt, jsi::String transactionId) = 0;
|
|
146
|
-
virtual jsi::Value purchaseProduct(jsi::Runtime &rt, jsi::String productId, std::optional<jsi::Object> options) = 0;
|
|
147
|
-
virtual jsi::Value sendDiagnostic(jsi::Runtime &rt) = 0;
|
|
148
|
-
virtual jsi::Value getStoreCountry(jsi::Runtime &rt) = 0;
|
|
149
|
-
virtual jsi::Value isBillingAvailable(jsi::Runtime &rt) = 0;
|
|
150
|
-
virtual jsi::Value isForwardingEnable(jsi::Runtime &rt, jsi::String externalRef) = 0;
|
|
151
|
-
virtual jsi::Value getCustomer(jsi::Runtime &rt) = 0;
|
|
152
|
-
virtual jsi::Value getSDKVersion(jsi::Runtime &rt) = 0;
|
|
153
|
-
|
|
154
|
-
};
|
|
155
|
-
|
|
156
|
-
template <typename T>
|
|
157
|
-
class JSI_EXPORT NativeMobilyflowReactNativeSdkCxxSpec : public TurboModule {
|
|
158
|
-
public:
|
|
159
|
-
jsi::Value create(jsi::Runtime &rt, const jsi::PropNameID &propName) override {
|
|
160
|
-
return delegate_.create(rt, propName);
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
std::vector<jsi::PropNameID> getPropertyNames(jsi::Runtime& runtime) override {
|
|
164
|
-
return delegate_.getPropertyNames(runtime);
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
static constexpr std::string_view kModuleName = "MobilyflowReactNativeSdk";
|
|
168
|
-
|
|
169
|
-
protected:
|
|
170
|
-
NativeMobilyflowReactNativeSdkCxxSpec(std::shared_ptr<CallInvoker> jsInvoker)
|
|
171
|
-
: TurboModule(std::string{NativeMobilyflowReactNativeSdkCxxSpec::kModuleName}, jsInvoker),
|
|
172
|
-
delegate_(reinterpret_cast<T*>(this), jsInvoker) {}
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
private:
|
|
176
|
-
class Delegate : public NativeMobilyflowReactNativeSdkCxxSpecJSI {
|
|
177
|
-
public:
|
|
178
|
-
Delegate(T *instance, std::shared_ptr<CallInvoker> jsInvoker) :
|
|
179
|
-
NativeMobilyflowReactNativeSdkCxxSpecJSI(std::move(jsInvoker)), instance_(instance) {
|
|
180
|
-
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
void initialize(jsi::Runtime &rt, jsi::String appId, jsi::String apiKey, jsi::String environment, std::optional<jsi::Object> options) override {
|
|
184
|
-
static_assert(
|
|
185
|
-
bridging::getParameterCount(&T::initialize) == 5,
|
|
186
|
-
"Expected initialize(...) to have 5 parameters");
|
|
187
|
-
|
|
188
|
-
return bridging::callFromJs<void>(
|
|
189
|
-
rt, &T::initialize, jsInvoker_, instance_, std::move(appId), std::move(apiKey), std::move(environment), std::move(options));
|
|
190
|
-
}
|
|
191
|
-
void close(jsi::Runtime &rt) override {
|
|
192
|
-
static_assert(
|
|
193
|
-
bridging::getParameterCount(&T::close) == 1,
|
|
194
|
-
"Expected close(...) to have 1 parameters");
|
|
195
|
-
|
|
196
|
-
return bridging::callFromJs<void>(
|
|
197
|
-
rt, &T::close, jsInvoker_, instance_);
|
|
198
|
-
}
|
|
199
|
-
jsi::Value login(jsi::Runtime &rt, jsi::String externalRef) override {
|
|
200
|
-
static_assert(
|
|
201
|
-
bridging::getParameterCount(&T::login) == 2,
|
|
202
|
-
"Expected login(...) to have 2 parameters");
|
|
203
|
-
|
|
204
|
-
return bridging::callFromJs<jsi::Value>(
|
|
205
|
-
rt, &T::login, jsInvoker_, instance_, std::move(externalRef));
|
|
206
|
-
}
|
|
207
|
-
jsi::Value logout(jsi::Runtime &rt) override {
|
|
208
|
-
static_assert(
|
|
209
|
-
bridging::getParameterCount(&T::logout) == 1,
|
|
210
|
-
"Expected logout(...) to have 1 parameters");
|
|
211
|
-
|
|
212
|
-
return bridging::callFromJs<jsi::Value>(
|
|
213
|
-
rt, &T::logout, jsInvoker_, instance_);
|
|
214
|
-
}
|
|
215
|
-
jsi::Value getProducts(jsi::Runtime &rt, jsi::Array identifiers, bool onlyAvailable) override {
|
|
216
|
-
static_assert(
|
|
217
|
-
bridging::getParameterCount(&T::getProducts) == 3,
|
|
218
|
-
"Expected getProducts(...) to have 3 parameters");
|
|
219
|
-
|
|
220
|
-
return bridging::callFromJs<jsi::Value>(
|
|
221
|
-
rt, &T::getProducts, jsInvoker_, instance_, std::move(identifiers), std::move(onlyAvailable));
|
|
222
|
-
}
|
|
223
|
-
jsi::Value getSubscriptionGroups(jsi::Runtime &rt, jsi::Array identifiers, bool onlyAvailable) override {
|
|
224
|
-
static_assert(
|
|
225
|
-
bridging::getParameterCount(&T::getSubscriptionGroups) == 3,
|
|
226
|
-
"Expected getSubscriptionGroups(...) to have 3 parameters");
|
|
227
|
-
|
|
228
|
-
return bridging::callFromJs<jsi::Value>(
|
|
229
|
-
rt, &T::getSubscriptionGroups, jsInvoker_, instance_, std::move(identifiers), std::move(onlyAvailable));
|
|
230
|
-
}
|
|
231
|
-
jsi::Value getSubscriptionGroupById(jsi::Runtime &rt, jsi::String id) override {
|
|
232
|
-
static_assert(
|
|
233
|
-
bridging::getParameterCount(&T::getSubscriptionGroupById) == 2,
|
|
234
|
-
"Expected getSubscriptionGroupById(...) to have 2 parameters");
|
|
235
|
-
|
|
236
|
-
return bridging::callFromJs<jsi::Value>(
|
|
237
|
-
rt, &T::getSubscriptionGroupById, jsInvoker_, instance_, std::move(id));
|
|
238
|
-
}
|
|
239
|
-
jsi::Value getEntitlementForSubscription(jsi::Runtime &rt, jsi::String subscriptionGroupId) override {
|
|
240
|
-
static_assert(
|
|
241
|
-
bridging::getParameterCount(&T::getEntitlementForSubscription) == 2,
|
|
242
|
-
"Expected getEntitlementForSubscription(...) to have 2 parameters");
|
|
243
|
-
|
|
244
|
-
return bridging::callFromJs<jsi::Value>(
|
|
245
|
-
rt, &T::getEntitlementForSubscription, jsInvoker_, instance_, std::move(subscriptionGroupId));
|
|
246
|
-
}
|
|
247
|
-
jsi::Value getEntitlement(jsi::Runtime &rt, jsi::String productId) override {
|
|
248
|
-
static_assert(
|
|
249
|
-
bridging::getParameterCount(&T::getEntitlement) == 2,
|
|
250
|
-
"Expected getEntitlement(...) to have 2 parameters");
|
|
251
|
-
|
|
252
|
-
return bridging::callFromJs<jsi::Value>(
|
|
253
|
-
rt, &T::getEntitlement, jsInvoker_, instance_, std::move(productId));
|
|
254
|
-
}
|
|
255
|
-
jsi::Value getEntitlements(jsi::Runtime &rt, std::optional<jsi::Array> productIds) override {
|
|
256
|
-
static_assert(
|
|
257
|
-
bridging::getParameterCount(&T::getEntitlements) == 2,
|
|
258
|
-
"Expected getEntitlements(...) to have 2 parameters");
|
|
259
|
-
|
|
260
|
-
return bridging::callFromJs<jsi::Value>(
|
|
261
|
-
rt, &T::getEntitlements, jsInvoker_, instance_, std::move(productIds));
|
|
262
|
-
}
|
|
263
|
-
jsi::Value getExternalEntitlements(jsi::Runtime &rt) override {
|
|
264
|
-
static_assert(
|
|
265
|
-
bridging::getParameterCount(&T::getExternalEntitlements) == 1,
|
|
266
|
-
"Expected getExternalEntitlements(...) to have 1 parameters");
|
|
267
|
-
|
|
268
|
-
return bridging::callFromJs<jsi::Value>(
|
|
269
|
-
rt, &T::getExternalEntitlements, jsInvoker_, instance_);
|
|
270
|
-
}
|
|
271
|
-
jsi::Value requestTransferOwnership(jsi::Runtime &rt) override {
|
|
272
|
-
static_assert(
|
|
273
|
-
bridging::getParameterCount(&T::requestTransferOwnership) == 1,
|
|
274
|
-
"Expected requestTransferOwnership(...) to have 1 parameters");
|
|
275
|
-
|
|
276
|
-
return bridging::callFromJs<jsi::Value>(
|
|
277
|
-
rt, &T::requestTransferOwnership, jsInvoker_, instance_);
|
|
278
|
-
}
|
|
279
|
-
jsi::Value openManageSubscription(jsi::Runtime &rt) override {
|
|
280
|
-
static_assert(
|
|
281
|
-
bridging::getParameterCount(&T::openManageSubscription) == 1,
|
|
282
|
-
"Expected openManageSubscription(...) to have 1 parameters");
|
|
283
|
-
|
|
284
|
-
return bridging::callFromJs<jsi::Value>(
|
|
285
|
-
rt, &T::openManageSubscription, jsInvoker_, instance_);
|
|
286
|
-
}
|
|
287
|
-
jsi::Value openRefundDialogForProduct(jsi::Runtime &rt, jsi::String productId) override {
|
|
288
|
-
static_assert(
|
|
289
|
-
bridging::getParameterCount(&T::openRefundDialogForProduct) == 2,
|
|
290
|
-
"Expected openRefundDialogForProduct(...) to have 2 parameters");
|
|
291
|
-
|
|
292
|
-
return bridging::callFromJs<jsi::Value>(
|
|
293
|
-
rt, &T::openRefundDialogForProduct, jsInvoker_, instance_, std::move(productId));
|
|
294
|
-
}
|
|
295
|
-
jsi::Value openRefundDialogForTransactionId(jsi::Runtime &rt, jsi::String transactionId) override {
|
|
296
|
-
static_assert(
|
|
297
|
-
bridging::getParameterCount(&T::openRefundDialogForTransactionId) == 2,
|
|
298
|
-
"Expected openRefundDialogForTransactionId(...) to have 2 parameters");
|
|
299
|
-
|
|
300
|
-
return bridging::callFromJs<jsi::Value>(
|
|
301
|
-
rt, &T::openRefundDialogForTransactionId, jsInvoker_, instance_, std::move(transactionId));
|
|
302
|
-
}
|
|
303
|
-
jsi::Value purchaseProduct(jsi::Runtime &rt, jsi::String productId, std::optional<jsi::Object> options) override {
|
|
304
|
-
static_assert(
|
|
305
|
-
bridging::getParameterCount(&T::purchaseProduct) == 3,
|
|
306
|
-
"Expected purchaseProduct(...) to have 3 parameters");
|
|
307
|
-
|
|
308
|
-
return bridging::callFromJs<jsi::Value>(
|
|
309
|
-
rt, &T::purchaseProduct, jsInvoker_, instance_, std::move(productId), std::move(options));
|
|
310
|
-
}
|
|
311
|
-
jsi::Value sendDiagnostic(jsi::Runtime &rt) override {
|
|
312
|
-
static_assert(
|
|
313
|
-
bridging::getParameterCount(&T::sendDiagnostic) == 1,
|
|
314
|
-
"Expected sendDiagnostic(...) to have 1 parameters");
|
|
315
|
-
|
|
316
|
-
return bridging::callFromJs<jsi::Value>(
|
|
317
|
-
rt, &T::sendDiagnostic, jsInvoker_, instance_);
|
|
318
|
-
}
|
|
319
|
-
jsi::Value getStoreCountry(jsi::Runtime &rt) override {
|
|
320
|
-
static_assert(
|
|
321
|
-
bridging::getParameterCount(&T::getStoreCountry) == 1,
|
|
322
|
-
"Expected getStoreCountry(...) to have 1 parameters");
|
|
323
|
-
|
|
324
|
-
return bridging::callFromJs<jsi::Value>(
|
|
325
|
-
rt, &T::getStoreCountry, jsInvoker_, instance_);
|
|
326
|
-
}
|
|
327
|
-
jsi::Value isBillingAvailable(jsi::Runtime &rt) override {
|
|
328
|
-
static_assert(
|
|
329
|
-
bridging::getParameterCount(&T::isBillingAvailable) == 1,
|
|
330
|
-
"Expected isBillingAvailable(...) to have 1 parameters");
|
|
331
|
-
|
|
332
|
-
return bridging::callFromJs<jsi::Value>(
|
|
333
|
-
rt, &T::isBillingAvailable, jsInvoker_, instance_);
|
|
334
|
-
}
|
|
335
|
-
jsi::Value isForwardingEnable(jsi::Runtime &rt, jsi::String externalRef) override {
|
|
336
|
-
static_assert(
|
|
337
|
-
bridging::getParameterCount(&T::isForwardingEnable) == 2,
|
|
338
|
-
"Expected isForwardingEnable(...) to have 2 parameters");
|
|
339
|
-
|
|
340
|
-
return bridging::callFromJs<jsi::Value>(
|
|
341
|
-
rt, &T::isForwardingEnable, jsInvoker_, instance_, std::move(externalRef));
|
|
342
|
-
}
|
|
343
|
-
jsi::Value getCustomer(jsi::Runtime &rt) override {
|
|
344
|
-
static_assert(
|
|
345
|
-
bridging::getParameterCount(&T::getCustomer) == 1,
|
|
346
|
-
"Expected getCustomer(...) to have 1 parameters");
|
|
347
|
-
|
|
348
|
-
return bridging::callFromJs<jsi::Value>(
|
|
349
|
-
rt, &T::getCustomer, jsInvoker_, instance_);
|
|
350
|
-
}
|
|
351
|
-
jsi::Value getSDKVersion(jsi::Runtime &rt) override {
|
|
352
|
-
static_assert(
|
|
353
|
-
bridging::getParameterCount(&T::getSDKVersion) == 1,
|
|
354
|
-
"Expected getSDKVersion(...) to have 1 parameters");
|
|
355
|
-
|
|
356
|
-
return bridging::callFromJs<jsi::Value>(
|
|
357
|
-
rt, &T::getSDKVersion, jsInvoker_, instance_);
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
private:
|
|
361
|
-
friend class NativeMobilyflowReactNativeSdkCxxSpec;
|
|
362
|
-
T *instance_;
|
|
363
|
-
};
|
|
364
|
-
|
|
365
|
-
Delegate delegate_;
|
|
366
|
-
};
|
|
367
|
-
|
|
368
|
-
} // namespace facebook::react
|
|
File without changes
|