@react-native-firebase/app-distribution 26.2.0 → 26.3.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,12 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [26.3.0](https://github.com/invertase/react-native-firebase/compare/v26.2.0...v26.3.0) (2026-08-20)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **ios:** allow non-modular React includes in RNFB podspecs ([#9200](https://github.com/invertase/react-native-firebase/issues/9200)) ([dd453ff](https://github.com/invertase/react-native-firebase/commit/dd453ff17a8bd645b9d0eb56bef74df53f217f93))
11
+
6
12
  ## [26.2.0](https://github.com/invertase/react-native-firebase/compare/v26.1.0...v26.2.0) (2026-08-10)
7
13
 
8
14
  ### Bug Fixes
@@ -30,6 +30,15 @@ Pod::Spec.new do |s|
30
30
  s.private_header_files = "ios/**/*.h"
31
31
  s.exclude_files = 'ios/generated/RCTThirdPartyComponentsProvider.*', 'ios/generated/RCTAppDependencyProvider.*', 'ios/generated/RCTModuleProviders.*', 'ios/generated/RCTModulesConformingToProtocolsProvider.*', 'ios/generated/RCTUnstableModulesRequiringMainQueueSetupProvider.*'
32
32
 
33
+ # Must be set before install_modules_dependencies so RN can append use_frameworks
34
+ # HEADER_SEARCH_PATHS (React-debug etc.). Assigning after overwrites those paths
35
+ # and breaks from-source builds: react/timing/primitives.h → react/debug/flags.h.
36
+ # CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES is required so the
37
+ # framework module validates when consumers build with use_frameworks!.
38
+ s.pod_target_xcconfig = {
39
+ "CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES" => "YES",
40
+ }
41
+
33
42
  s.dependency 'RNFBApp'
34
43
 
35
44
  install_modules_dependencies(s);
@@ -25,12 +25,4 @@ target_link_libraries(
25
25
  reactnative
26
26
  )
27
27
 
28
- target_compile_options(
29
- react_codegen_RNFBAppDistributionTurboModules
30
- PRIVATE
31
- -DLOG_TAG=\"ReactNative\"
32
- -fexceptions
33
- -frtti
34
- -std=c++20
35
- -Wall
36
- )
28
+ target_compile_reactnative_options(react_codegen_RNFBAppDistributionTurboModules PRIVATE)
@@ -15,15 +15,14 @@
15
15
  namespace facebook::react {
16
16
 
17
17
 
18
-
19
18
  #pragma mark - NativeRNFBTurboAppDistributionAppDistributionRelease
20
19
 
21
20
  template <typename P0, typename P1, typename P2, typename P3, typename P4>
22
21
  struct NativeRNFBTurboAppDistributionAppDistributionRelease {
23
- P0 displayVersion;
24
- P1 buildVersion;
25
- P2 releaseNotes;
26
- P3 isExpired;
22
+ P0 displayVersion{};
23
+ P1 buildVersion{};
24
+ P2 releaseNotes{};
25
+ P3 isExpired{};
27
26
  P4 downloadURL;
28
27
  bool operator==(const NativeRNFBTurboAppDistributionAppDistributionRelease &other) const {
29
28
  return displayVersion == other.displayVersion && buildVersion == other.buildVersion && releaseNotes == other.releaseNotes && isExpired == other.isExpired && downloadURL == other.downloadURL;
@@ -51,19 +50,15 @@ struct NativeRNFBTurboAppDistributionAppDistributionReleaseBridging {
51
50
  static jsi::String displayVersionToJs(jsi::Runtime &rt, decltype(types.displayVersion) value) {
52
51
  return bridging::toJs(rt, value);
53
52
  }
54
-
55
53
  static jsi::String buildVersionToJs(jsi::Runtime &rt, decltype(types.buildVersion) value) {
56
54
  return bridging::toJs(rt, value);
57
55
  }
58
-
59
56
  static std::optional<jsi::String> releaseNotesToJs(jsi::Runtime &rt, decltype(types.releaseNotes) value) {
60
57
  return bridging::toJs(rt, value);
61
58
  }
62
-
63
59
  static bool isExpiredToJs(jsi::Runtime &rt, decltype(types.isExpired) value) {
64
60
  return bridging::toJs(rt, value);
65
61
  }
66
-
67
62
  static jsi::String downloadURLToJs(jsi::Runtime &rt, decltype(types.downloadURL) value) {
68
63
  return bridging::toJs(rt, value);
69
64
  }
@@ -83,84 +78,48 @@ struct NativeRNFBTurboAppDistributionAppDistributionReleaseBridging {
83
78
  }
84
79
  };
85
80
 
86
- class JSI_EXPORT NativeRNFBTurboAppDistributionCxxSpecJSI : public TurboModule {
87
- protected:
88
- NativeRNFBTurboAppDistributionCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker);
89
-
90
- public:
91
- virtual jsi::Value isTesterSignedIn(jsi::Runtime &rt) = 0;
92
- virtual jsi::Value signInTester(jsi::Runtime &rt) = 0;
93
- virtual jsi::Value signOutTester(jsi::Runtime &rt) = 0;
94
- virtual jsi::Value checkForUpdate(jsi::Runtime &rt) = 0;
95
-
96
- };
97
81
 
98
82
  template <typename T>
99
83
  class JSI_EXPORT NativeRNFBTurboAppDistributionCxxSpec : public TurboModule {
100
84
  public:
101
- jsi::Value create(jsi::Runtime &rt, const jsi::PropNameID &propName) override {
102
- return delegate_.create(rt, propName);
103
- }
104
-
105
- std::vector<jsi::PropNameID> getPropertyNames(jsi::Runtime& runtime) override {
106
- return delegate_.getPropertyNames(runtime);
107
- }
108
-
109
85
  static constexpr std::string_view kModuleName = "NativeRNFBTurboAppDistribution";
110
86
 
111
87
  protected:
112
- NativeRNFBTurboAppDistributionCxxSpec(std::shared_ptr<CallInvoker> jsInvoker)
113
- : TurboModule(std::string{NativeRNFBTurboAppDistributionCxxSpec::kModuleName}, jsInvoker),
114
- delegate_(reinterpret_cast<T*>(this), jsInvoker) {}
88
+ NativeRNFBTurboAppDistributionCxxSpec(std::shared_ptr<CallInvoker> jsInvoker) : TurboModule(std::string{NativeRNFBTurboAppDistributionCxxSpec::kModuleName}, jsInvoker) {
89
+ methodMap_["isTesterSignedIn"] = MethodMetadata {.argCount = 0, .invoker = __isTesterSignedIn};
90
+ methodMap_["signInTester"] = MethodMetadata {.argCount = 0, .invoker = __signInTester};
91
+ methodMap_["signOutTester"] = MethodMetadata {.argCount = 0, .invoker = __signOutTester};
92
+ methodMap_["checkForUpdate"] = MethodMetadata {.argCount = 0, .invoker = __checkForUpdate};
93
+ }
94
+
95
+ private:
96
+ static jsi::Value __isTesterSignedIn(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* /*args*/, size_t /*count*/) {
97
+ static_assert(
98
+ bridging::getParameterCount(&T::isTesterSignedIn) == 1,
99
+ "Expected isTesterSignedIn(...) to have 1 parameters");
100
+ return bridging::callFromJs<jsi::Value>(rt, &T::isTesterSignedIn, static_cast<NativeRNFBTurboAppDistributionCxxSpec*>(&turboModule)->jsInvoker_, static_cast<T*>(&turboModule));
101
+ }
115
102
 
103
+ static jsi::Value __signInTester(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* /*args*/, size_t /*count*/) {
104
+ static_assert(
105
+ bridging::getParameterCount(&T::signInTester) == 1,
106
+ "Expected signInTester(...) to have 1 parameters");
107
+ return bridging::callFromJs<jsi::Value>(rt, &T::signInTester, static_cast<NativeRNFBTurboAppDistributionCxxSpec*>(&turboModule)->jsInvoker_, static_cast<T*>(&turboModule));
108
+ }
116
109
 
117
- private:
118
- class Delegate : public NativeRNFBTurboAppDistributionCxxSpecJSI {
119
- public:
120
- Delegate(T *instance, std::shared_ptr<CallInvoker> jsInvoker) :
121
- NativeRNFBTurboAppDistributionCxxSpecJSI(std::move(jsInvoker)), instance_(instance) {
122
-
123
- }
124
-
125
- jsi::Value isTesterSignedIn(jsi::Runtime &rt) override {
126
- static_assert(
127
- bridging::getParameterCount(&T::isTesterSignedIn) == 1,
128
- "Expected isTesterSignedIn(...) to have 1 parameters");
129
-
130
- return bridging::callFromJs<jsi::Value>(
131
- rt, &T::isTesterSignedIn, jsInvoker_, instance_);
132
- }
133
- jsi::Value signInTester(jsi::Runtime &rt) override {
134
- static_assert(
135
- bridging::getParameterCount(&T::signInTester) == 1,
136
- "Expected signInTester(...) to have 1 parameters");
137
-
138
- return bridging::callFromJs<jsi::Value>(
139
- rt, &T::signInTester, jsInvoker_, instance_);
140
- }
141
- jsi::Value signOutTester(jsi::Runtime &rt) override {
142
- static_assert(
143
- bridging::getParameterCount(&T::signOutTester) == 1,
144
- "Expected signOutTester(...) to have 1 parameters");
145
-
146
- return bridging::callFromJs<jsi::Value>(
147
- rt, &T::signOutTester, jsInvoker_, instance_);
148
- }
149
- jsi::Value checkForUpdate(jsi::Runtime &rt) override {
150
- static_assert(
151
- bridging::getParameterCount(&T::checkForUpdate) == 1,
152
- "Expected checkForUpdate(...) to have 1 parameters");
153
-
154
- return bridging::callFromJs<jsi::Value>(
155
- rt, &T::checkForUpdate, jsInvoker_, instance_);
156
- }
157
-
158
- private:
159
- friend class NativeRNFBTurboAppDistributionCxxSpec;
160
- T *instance_;
161
- };
162
-
163
- Delegate delegate_;
110
+ static jsi::Value __signOutTester(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* /*args*/, size_t /*count*/) {
111
+ static_assert(
112
+ bridging::getParameterCount(&T::signOutTester) == 1,
113
+ "Expected signOutTester(...) to have 1 parameters");
114
+ return bridging::callFromJs<jsi::Value>(rt, &T::signOutTester, static_cast<NativeRNFBTurboAppDistributionCxxSpec*>(&turboModule)->jsInvoker_, static_cast<T*>(&turboModule));
115
+ }
116
+
117
+ static jsi::Value __checkForUpdate(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* /*args*/, size_t /*count*/) {
118
+ static_assert(
119
+ bridging::getParameterCount(&T::checkForUpdate) == 1,
120
+ "Expected checkForUpdate(...) to have 1 parameters");
121
+ return bridging::callFromJs<jsi::Value>(rt, &T::checkForUpdate, static_cast<NativeRNFBTurboAppDistributionCxxSpec*>(&turboModule)->jsInvoker_, static_cast<T*>(&turboModule));
122
+ }
164
123
  };
165
124
 
166
125
  } // namespace facebook::react
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
 
3
3
  // Generated by genversion.
4
- export const version = '26.2.0';
4
+ export const version = '26.3.0';
5
5
  //# sourceMappingURL=version.js.map
@@ -1,7 +1,7 @@
1
1
  import type { FirebaseApp } from '@react-native-firebase/app';
2
2
  import './types/internal';
3
3
  import type { AppDistribution, AppDistributionRelease } from './types/app-distribution';
4
- export declare const SDK_VERSION = "26.2.0";
4
+ export declare const SDK_VERSION = "26.3.0";
5
5
  /**
6
6
  * Returns the {@link AppDistribution} instance for the default or given {@link FirebaseApp}.
7
7
  */
@@ -1,2 +1,2 @@
1
- export declare const version = "26.2.0";
1
+ export declare const version = "26.3.0";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -15,15 +15,14 @@
15
15
  namespace facebook::react {
16
16
 
17
17
 
18
-
19
18
  #pragma mark - NativeRNFBTurboAppDistributionAppDistributionRelease
20
19
 
21
20
  template <typename P0, typename P1, typename P2, typename P3, typename P4>
22
21
  struct NativeRNFBTurboAppDistributionAppDistributionRelease {
23
- P0 displayVersion;
24
- P1 buildVersion;
25
- P2 releaseNotes;
26
- P3 isExpired;
22
+ P0 displayVersion{};
23
+ P1 buildVersion{};
24
+ P2 releaseNotes{};
25
+ P3 isExpired{};
27
26
  P4 downloadURL;
28
27
  bool operator==(const NativeRNFBTurboAppDistributionAppDistributionRelease &other) const {
29
28
  return displayVersion == other.displayVersion && buildVersion == other.buildVersion && releaseNotes == other.releaseNotes && isExpired == other.isExpired && downloadURL == other.downloadURL;
@@ -51,19 +50,15 @@ struct NativeRNFBTurboAppDistributionAppDistributionReleaseBridging {
51
50
  static jsi::String displayVersionToJs(jsi::Runtime &rt, decltype(types.displayVersion) value) {
52
51
  return bridging::toJs(rt, value);
53
52
  }
54
-
55
53
  static jsi::String buildVersionToJs(jsi::Runtime &rt, decltype(types.buildVersion) value) {
56
54
  return bridging::toJs(rt, value);
57
55
  }
58
-
59
56
  static std::optional<jsi::String> releaseNotesToJs(jsi::Runtime &rt, decltype(types.releaseNotes) value) {
60
57
  return bridging::toJs(rt, value);
61
58
  }
62
-
63
59
  static bool isExpiredToJs(jsi::Runtime &rt, decltype(types.isExpired) value) {
64
60
  return bridging::toJs(rt, value);
65
61
  }
66
-
67
62
  static jsi::String downloadURLToJs(jsi::Runtime &rt, decltype(types.downloadURL) value) {
68
63
  return bridging::toJs(rt, value);
69
64
  }
@@ -83,84 +78,48 @@ struct NativeRNFBTurboAppDistributionAppDistributionReleaseBridging {
83
78
  }
84
79
  };
85
80
 
86
- class JSI_EXPORT NativeRNFBTurboAppDistributionCxxSpecJSI : public TurboModule {
87
- protected:
88
- NativeRNFBTurboAppDistributionCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker);
89
-
90
- public:
91
- virtual jsi::Value isTesterSignedIn(jsi::Runtime &rt) = 0;
92
- virtual jsi::Value signInTester(jsi::Runtime &rt) = 0;
93
- virtual jsi::Value signOutTester(jsi::Runtime &rt) = 0;
94
- virtual jsi::Value checkForUpdate(jsi::Runtime &rt) = 0;
95
-
96
- };
97
81
 
98
82
  template <typename T>
99
83
  class JSI_EXPORT NativeRNFBTurboAppDistributionCxxSpec : public TurboModule {
100
84
  public:
101
- jsi::Value create(jsi::Runtime &rt, const jsi::PropNameID &propName) override {
102
- return delegate_.create(rt, propName);
103
- }
104
-
105
- std::vector<jsi::PropNameID> getPropertyNames(jsi::Runtime& runtime) override {
106
- return delegate_.getPropertyNames(runtime);
107
- }
108
-
109
85
  static constexpr std::string_view kModuleName = "NativeRNFBTurboAppDistribution";
110
86
 
111
87
  protected:
112
- NativeRNFBTurboAppDistributionCxxSpec(std::shared_ptr<CallInvoker> jsInvoker)
113
- : TurboModule(std::string{NativeRNFBTurboAppDistributionCxxSpec::kModuleName}, jsInvoker),
114
- delegate_(reinterpret_cast<T*>(this), jsInvoker) {}
88
+ NativeRNFBTurboAppDistributionCxxSpec(std::shared_ptr<CallInvoker> jsInvoker) : TurboModule(std::string{NativeRNFBTurboAppDistributionCxxSpec::kModuleName}, jsInvoker) {
89
+ methodMap_["isTesterSignedIn"] = MethodMetadata {.argCount = 0, .invoker = __isTesterSignedIn};
90
+ methodMap_["signInTester"] = MethodMetadata {.argCount = 0, .invoker = __signInTester};
91
+ methodMap_["signOutTester"] = MethodMetadata {.argCount = 0, .invoker = __signOutTester};
92
+ methodMap_["checkForUpdate"] = MethodMetadata {.argCount = 0, .invoker = __checkForUpdate};
93
+ }
94
+
95
+ private:
96
+ static jsi::Value __isTesterSignedIn(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* /*args*/, size_t /*count*/) {
97
+ static_assert(
98
+ bridging::getParameterCount(&T::isTesterSignedIn) == 1,
99
+ "Expected isTesterSignedIn(...) to have 1 parameters");
100
+ return bridging::callFromJs<jsi::Value>(rt, &T::isTesterSignedIn, static_cast<NativeRNFBTurboAppDistributionCxxSpec*>(&turboModule)->jsInvoker_, static_cast<T*>(&turboModule));
101
+ }
115
102
 
103
+ static jsi::Value __signInTester(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* /*args*/, size_t /*count*/) {
104
+ static_assert(
105
+ bridging::getParameterCount(&T::signInTester) == 1,
106
+ "Expected signInTester(...) to have 1 parameters");
107
+ return bridging::callFromJs<jsi::Value>(rt, &T::signInTester, static_cast<NativeRNFBTurboAppDistributionCxxSpec*>(&turboModule)->jsInvoker_, static_cast<T*>(&turboModule));
108
+ }
116
109
 
117
- private:
118
- class Delegate : public NativeRNFBTurboAppDistributionCxxSpecJSI {
119
- public:
120
- Delegate(T *instance, std::shared_ptr<CallInvoker> jsInvoker) :
121
- NativeRNFBTurboAppDistributionCxxSpecJSI(std::move(jsInvoker)), instance_(instance) {
122
-
123
- }
124
-
125
- jsi::Value isTesterSignedIn(jsi::Runtime &rt) override {
126
- static_assert(
127
- bridging::getParameterCount(&T::isTesterSignedIn) == 1,
128
- "Expected isTesterSignedIn(...) to have 1 parameters");
129
-
130
- return bridging::callFromJs<jsi::Value>(
131
- rt, &T::isTesterSignedIn, jsInvoker_, instance_);
132
- }
133
- jsi::Value signInTester(jsi::Runtime &rt) override {
134
- static_assert(
135
- bridging::getParameterCount(&T::signInTester) == 1,
136
- "Expected signInTester(...) to have 1 parameters");
137
-
138
- return bridging::callFromJs<jsi::Value>(
139
- rt, &T::signInTester, jsInvoker_, instance_);
140
- }
141
- jsi::Value signOutTester(jsi::Runtime &rt) override {
142
- static_assert(
143
- bridging::getParameterCount(&T::signOutTester) == 1,
144
- "Expected signOutTester(...) to have 1 parameters");
145
-
146
- return bridging::callFromJs<jsi::Value>(
147
- rt, &T::signOutTester, jsInvoker_, instance_);
148
- }
149
- jsi::Value checkForUpdate(jsi::Runtime &rt) override {
150
- static_assert(
151
- bridging::getParameterCount(&T::checkForUpdate) == 1,
152
- "Expected checkForUpdate(...) to have 1 parameters");
153
-
154
- return bridging::callFromJs<jsi::Value>(
155
- rt, &T::checkForUpdate, jsInvoker_, instance_);
156
- }
157
-
158
- private:
159
- friend class NativeRNFBTurboAppDistributionCxxSpec;
160
- T *instance_;
161
- };
162
-
163
- Delegate delegate_;
110
+ static jsi::Value __signOutTester(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* /*args*/, size_t /*count*/) {
111
+ static_assert(
112
+ bridging::getParameterCount(&T::signOutTester) == 1,
113
+ "Expected signOutTester(...) to have 1 parameters");
114
+ return bridging::callFromJs<jsi::Value>(rt, &T::signOutTester, static_cast<NativeRNFBTurboAppDistributionCxxSpec*>(&turboModule)->jsInvoker_, static_cast<T*>(&turboModule));
115
+ }
116
+
117
+ static jsi::Value __checkForUpdate(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* /*args*/, size_t /*count*/) {
118
+ static_assert(
119
+ bridging::getParameterCount(&T::checkForUpdate) == 1,
120
+ "Expected checkForUpdate(...) to have 1 parameters");
121
+ return bridging::callFromJs<jsi::Value>(rt, &T::checkForUpdate, static_cast<NativeRNFBTurboAppDistributionCxxSpec*>(&turboModule)->jsInvoker_, static_cast<T*>(&turboModule));
122
+ }
164
123
  };
165
124
 
166
125
  } // namespace facebook::react
package/lib/version.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- export const version = '26.2.0';
2
+ export const version = '26.3.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-native-firebase/app-distribution",
3
- "version": "26.2.0",
3
+ "version": "26.3.0",
4
4
  "author": "Invertase <oss@invertase.io> (http://invertase.io)",
5
5
  "description": "React Native Firebase - App Distribution",
6
6
  "main": "./dist/module/index.js",
@@ -27,8 +27,8 @@
27
27
  "lint:plugin": "eslint plugin/src/*",
28
28
  "prepare": "yarn run build && yarn compile && yarn run build:plugin",
29
29
  "codegen": "yarn android:codegen && yarn ios:codegen",
30
- "android:codegen": "rimraf android/src/main/java/io/invertase/firebase/appdistribution/generated && npx @react-native-community/cli codegen --platform android --outputPath=./android/src/main/java/io/invertase/firebase/appdistribution/generated",
31
- "ios:codegen": "rimraf ios/generated && npx @react-native-community/cli codegen --platform ios --outputPath=./ios/generated"
30
+ "android:codegen": "node ../../scripts/codegen-package.mjs app-distribution android",
31
+ "ios:codegen": "node ../../scripts/codegen-package.mjs app-distribution ios"
32
32
  },
33
33
  "repository": {
34
34
  "type": "git",
@@ -42,11 +42,11 @@
42
42
  "app-distribution"
43
43
  ],
44
44
  "peerDependencies": {
45
- "@react-native-firebase/app": "26.2.0",
45
+ "@react-native-firebase/app": "26.3.0",
46
46
  "expo": ">=47.0.0"
47
47
  },
48
48
  "devDependencies": {
49
- "@react-native-firebase/app": "26.2.0",
49
+ "@react-native-firebase/app": "26.3.0",
50
50
  "expo": "^55.0.18",
51
51
  "react-native-builder-bob": "^0.41.0"
52
52
  },
@@ -97,5 +97,5 @@
97
97
  "node_modules/",
98
98
  "dist/"
99
99
  ],
100
- "gitHead": "b7efa8ca2781b5102975ee5169ee6fc52e9c1588"
100
+ "gitHead": "12a52d40c0d156d05a16f4b49eb0e507c0f5d8c5"
101
101
  }
@@ -1,44 +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 "RNFBAppDistributionTurboModulesJSI.h"
11
-
12
- namespace facebook::react {
13
-
14
- static jsi::Value __hostFunction_NativeRNFBTurboAppDistributionCxxSpecJSI_isTesterSignedIn(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
15
- return static_cast<NativeRNFBTurboAppDistributionCxxSpecJSI *>(&turboModule)->isTesterSignedIn(
16
- rt
17
- );
18
- }
19
- static jsi::Value __hostFunction_NativeRNFBTurboAppDistributionCxxSpecJSI_signInTester(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
20
- return static_cast<NativeRNFBTurboAppDistributionCxxSpecJSI *>(&turboModule)->signInTester(
21
- rt
22
- );
23
- }
24
- static jsi::Value __hostFunction_NativeRNFBTurboAppDistributionCxxSpecJSI_signOutTester(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
25
- return static_cast<NativeRNFBTurboAppDistributionCxxSpecJSI *>(&turboModule)->signOutTester(
26
- rt
27
- );
28
- }
29
- static jsi::Value __hostFunction_NativeRNFBTurboAppDistributionCxxSpecJSI_checkForUpdate(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
30
- return static_cast<NativeRNFBTurboAppDistributionCxxSpecJSI *>(&turboModule)->checkForUpdate(
31
- rt
32
- );
33
- }
34
-
35
- NativeRNFBTurboAppDistributionCxxSpecJSI::NativeRNFBTurboAppDistributionCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
36
- : TurboModule("NativeRNFBTurboAppDistribution", jsInvoker) {
37
- methodMap_["isTesterSignedIn"] = MethodMetadata {0, __hostFunction_NativeRNFBTurboAppDistributionCxxSpecJSI_isTesterSignedIn};
38
- methodMap_["signInTester"] = MethodMetadata {0, __hostFunction_NativeRNFBTurboAppDistributionCxxSpecJSI_signInTester};
39
- methodMap_["signOutTester"] = MethodMetadata {0, __hostFunction_NativeRNFBTurboAppDistributionCxxSpecJSI_signOutTester};
40
- methodMap_["checkForUpdate"] = MethodMetadata {0, __hostFunction_NativeRNFBTurboAppDistributionCxxSpecJSI_checkForUpdate};
41
- }
42
-
43
-
44
- } // 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
@@ -1,18 +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
- @interface RCTModulesConformingToProtocolsProvider: NSObject
11
-
12
- +(NSArray<NSString *> *)imageURLLoaderClassNames;
13
-
14
- +(NSArray<NSString *> *)imageDataDecoderClassNames;
15
-
16
- +(NSArray<NSString *> *)URLRequestHandlerClassNames;
17
-
18
- @end
@@ -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,44 +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 "RNFBAppDistributionTurboModulesJSI.h"
11
-
12
- namespace facebook::react {
13
-
14
- static jsi::Value __hostFunction_NativeRNFBTurboAppDistributionCxxSpecJSI_isTesterSignedIn(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
15
- return static_cast<NativeRNFBTurboAppDistributionCxxSpecJSI *>(&turboModule)->isTesterSignedIn(
16
- rt
17
- );
18
- }
19
- static jsi::Value __hostFunction_NativeRNFBTurboAppDistributionCxxSpecJSI_signInTester(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
20
- return static_cast<NativeRNFBTurboAppDistributionCxxSpecJSI *>(&turboModule)->signInTester(
21
- rt
22
- );
23
- }
24
- static jsi::Value __hostFunction_NativeRNFBTurboAppDistributionCxxSpecJSI_signOutTester(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
25
- return static_cast<NativeRNFBTurboAppDistributionCxxSpecJSI *>(&turboModule)->signOutTester(
26
- rt
27
- );
28
- }
29
- static jsi::Value __hostFunction_NativeRNFBTurboAppDistributionCxxSpecJSI_checkForUpdate(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
30
- return static_cast<NativeRNFBTurboAppDistributionCxxSpecJSI *>(&turboModule)->checkForUpdate(
31
- rt
32
- );
33
- }
34
-
35
- NativeRNFBTurboAppDistributionCxxSpecJSI::NativeRNFBTurboAppDistributionCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
36
- : TurboModule("NativeRNFBTurboAppDistribution", jsInvoker) {
37
- methodMap_["isTesterSignedIn"] = MethodMetadata {0, __hostFunction_NativeRNFBTurboAppDistributionCxxSpecJSI_isTesterSignedIn};
38
- methodMap_["signInTester"] = MethodMetadata {0, __hostFunction_NativeRNFBTurboAppDistributionCxxSpecJSI_signInTester};
39
- methodMap_["signOutTester"] = MethodMetadata {0, __hostFunction_NativeRNFBTurboAppDistributionCxxSpecJSI_signOutTester};
40
- methodMap_["checkForUpdate"] = MethodMetadata {0, __hostFunction_NativeRNFBTurboAppDistributionCxxSpecJSI_checkForUpdate};
41
- }
42
-
43
-
44
- } // 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