@react-native-firebase/installations 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
@@ -33,6 +33,15 @@ Pod::Spec.new do |s|
33
33
  s.private_header_files = "ios/**/*.h"
34
34
  s.exclude_files = 'ios/generated/RCTThirdPartyComponentsProvider.*', 'ios/generated/RCTAppDependencyProvider.*', 'ios/generated/RCTModuleProviders.*', 'ios/generated/RCTModulesConformingToProtocolsProvider.*', 'ios/generated/RCTUnstableModulesRequiringMainQueueSetupProvider.*'
35
35
 
36
+ # Must be set before install_modules_dependencies so RN can append use_frameworks
37
+ # HEADER_SEARCH_PATHS (React-debug etc.). Assigning after overwrites those paths
38
+ # and breaks from-source builds: react/timing/primitives.h → react/debug/flags.h.
39
+ # CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES is required so the
40
+ # framework module validates when consumers build with use_frameworks!.
41
+ s.pod_target_xcconfig = {
42
+ "CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES" => "YES",
43
+ }
44
+
36
45
  s.dependency 'RNFBApp'
37
46
 
38
47
  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_RNFBInstallationsTurboModules
30
- PRIVATE
31
- -DLOG_TAG=\"ReactNative\"
32
- -fexceptions
33
- -frtti
34
- -std=c++20
35
- -Wall
36
- )
28
+ target_compile_reactnative_options(react_codegen_RNFBInstallationsTurboModules PRIVATE)
@@ -15,75 +15,43 @@
15
15
  namespace facebook::react {
16
16
 
17
17
 
18
- class JSI_EXPORT NativeRNFBTurboInstallationsCxxSpecJSI : public TurboModule {
19
- protected:
20
- NativeRNFBTurboInstallationsCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker);
21
-
22
- public:
23
- virtual jsi::Value deleteInstallations(jsi::Runtime &rt, jsi::String appName) = 0;
24
- virtual jsi::Value getId(jsi::Runtime &rt, jsi::String appName) = 0;
25
- virtual jsi::Value getToken(jsi::Runtime &rt, jsi::String appName, bool forceRefresh) = 0;
26
-
27
- };
28
-
29
18
  template <typename T>
30
19
  class JSI_EXPORT NativeRNFBTurboInstallationsCxxSpec : public TurboModule {
31
20
  public:
32
- jsi::Value create(jsi::Runtime &rt, const jsi::PropNameID &propName) override {
33
- return delegate_.create(rt, propName);
34
- }
35
-
36
- std::vector<jsi::PropNameID> getPropertyNames(jsi::Runtime& runtime) override {
37
- return delegate_.getPropertyNames(runtime);
38
- }
39
-
40
21
  static constexpr std::string_view kModuleName = "NativeRNFBTurboInstallations";
41
22
 
42
23
  protected:
43
- NativeRNFBTurboInstallationsCxxSpec(std::shared_ptr<CallInvoker> jsInvoker)
44
- : TurboModule(std::string{NativeRNFBTurboInstallationsCxxSpec::kModuleName}, jsInvoker),
45
- delegate_(reinterpret_cast<T*>(this), jsInvoker) {}
46
-
47
-
24
+ NativeRNFBTurboInstallationsCxxSpec(std::shared_ptr<CallInvoker> jsInvoker) : TurboModule(std::string{NativeRNFBTurboInstallationsCxxSpec::kModuleName}, jsInvoker) {
25
+ methodMap_["deleteInstallations"] = MethodMetadata {.argCount = 1, .invoker = __deleteInstallations};
26
+ methodMap_["getId"] = MethodMetadata {.argCount = 1, .invoker = __getId};
27
+ methodMap_["getToken"] = MethodMetadata {.argCount = 2, .invoker = __getToken};
28
+ }
29
+
48
30
  private:
49
- class Delegate : public NativeRNFBTurboInstallationsCxxSpecJSI {
50
- public:
51
- Delegate(T *instance, std::shared_ptr<CallInvoker> jsInvoker) :
52
- NativeRNFBTurboInstallationsCxxSpecJSI(std::move(jsInvoker)), instance_(instance) {
53
-
54
- }
55
-
56
- jsi::Value deleteInstallations(jsi::Runtime &rt, jsi::String appName) override {
57
- static_assert(
58
- bridging::getParameterCount(&T::deleteInstallations) == 2,
59
- "Expected deleteInstallations(...) to have 2 parameters");
60
-
61
- return bridging::callFromJs<jsi::Value>(
62
- rt, &T::deleteInstallations, jsInvoker_, instance_, std::move(appName));
63
- }
64
- jsi::Value getId(jsi::Runtime &rt, jsi::String appName) override {
65
- static_assert(
66
- bridging::getParameterCount(&T::getId) == 2,
67
- "Expected getId(...) to have 2 parameters");
68
-
69
- return bridging::callFromJs<jsi::Value>(
70
- rt, &T::getId, jsInvoker_, instance_, std::move(appName));
71
- }
72
- jsi::Value getToken(jsi::Runtime &rt, jsi::String appName, bool forceRefresh) override {
73
- static_assert(
74
- bridging::getParameterCount(&T::getToken) == 3,
75
- "Expected getToken(...) to have 3 parameters");
76
-
77
- return bridging::callFromJs<jsi::Value>(
78
- rt, &T::getToken, jsInvoker_, instance_, std::move(appName), std::move(forceRefresh));
79
- }
31
+ static jsi::Value __deleteInstallations(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
32
+ static_assert(
33
+ bridging::getParameterCount(&T::deleteInstallations) == 2,
34
+ "Expected deleteInstallations(...) to have 2 parameters");
35
+ return bridging::callFromJs<jsi::Value>(rt, &T::deleteInstallations, static_cast<NativeRNFBTurboInstallationsCxxSpec*>(&turboModule)->jsInvoker_, static_cast<T*>(&turboModule),
36
+ count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt));
37
+ }
80
38
 
81
- private:
82
- friend class NativeRNFBTurboInstallationsCxxSpec;
83
- T *instance_;
84
- };
39
+ static jsi::Value __getId(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
40
+ static_assert(
41
+ bridging::getParameterCount(&T::getId) == 2,
42
+ "Expected getId(...) to have 2 parameters");
43
+ return bridging::callFromJs<jsi::Value>(rt, &T::getId, static_cast<NativeRNFBTurboInstallationsCxxSpec*>(&turboModule)->jsInvoker_, static_cast<T*>(&turboModule),
44
+ count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt));
45
+ }
85
46
 
86
- Delegate delegate_;
47
+ static jsi::Value __getToken(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
48
+ static_assert(
49
+ bridging::getParameterCount(&T::getToken) == 3,
50
+ "Expected getToken(...) to have 3 parameters");
51
+ return bridging::callFromJs<jsi::Value>(rt, &T::getToken, static_cast<NativeRNFBTurboInstallationsCxxSpec*>(&turboModule)->jsInvoker_, static_cast<T*>(&turboModule),
52
+ count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt),
53
+ count <= 1 ? throw jsi::JSError(rt, "Expected argument in position 1 to be passed") : args[1].asBool());
54
+ }
87
55
  };
88
56
 
89
57
  } // 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
@@ -6,7 +6,7 @@ import type { IdChangeCallbackFn, IdChangeUnsubscribeFn, Installations } from '.
6
6
  *
7
7
  * The firebase-js-sdk does not export `SDK_VERSION` from `@firebase/installations`.
8
8
  */
9
- export declare const SDK_VERSION = "26.2.0";
9
+ export declare const SDK_VERSION = "26.3.0";
10
10
  /**
11
11
  * Returns the {@link Installations} instance for the default or given {@link FirebaseApp}.
12
12
  *
@@ -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,75 +15,43 @@
15
15
  namespace facebook::react {
16
16
 
17
17
 
18
- class JSI_EXPORT NativeRNFBTurboInstallationsCxxSpecJSI : public TurboModule {
19
- protected:
20
- NativeRNFBTurboInstallationsCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker);
21
-
22
- public:
23
- virtual jsi::Value deleteInstallations(jsi::Runtime &rt, jsi::String appName) = 0;
24
- virtual jsi::Value getId(jsi::Runtime &rt, jsi::String appName) = 0;
25
- virtual jsi::Value getToken(jsi::Runtime &rt, jsi::String appName, bool forceRefresh) = 0;
26
-
27
- };
28
-
29
18
  template <typename T>
30
19
  class JSI_EXPORT NativeRNFBTurboInstallationsCxxSpec : public TurboModule {
31
20
  public:
32
- jsi::Value create(jsi::Runtime &rt, const jsi::PropNameID &propName) override {
33
- return delegate_.create(rt, propName);
34
- }
35
-
36
- std::vector<jsi::PropNameID> getPropertyNames(jsi::Runtime& runtime) override {
37
- return delegate_.getPropertyNames(runtime);
38
- }
39
-
40
21
  static constexpr std::string_view kModuleName = "NativeRNFBTurboInstallations";
41
22
 
42
23
  protected:
43
- NativeRNFBTurboInstallationsCxxSpec(std::shared_ptr<CallInvoker> jsInvoker)
44
- : TurboModule(std::string{NativeRNFBTurboInstallationsCxxSpec::kModuleName}, jsInvoker),
45
- delegate_(reinterpret_cast<T*>(this), jsInvoker) {}
46
-
47
-
24
+ NativeRNFBTurboInstallationsCxxSpec(std::shared_ptr<CallInvoker> jsInvoker) : TurboModule(std::string{NativeRNFBTurboInstallationsCxxSpec::kModuleName}, jsInvoker) {
25
+ methodMap_["deleteInstallations"] = MethodMetadata {.argCount = 1, .invoker = __deleteInstallations};
26
+ methodMap_["getId"] = MethodMetadata {.argCount = 1, .invoker = __getId};
27
+ methodMap_["getToken"] = MethodMetadata {.argCount = 2, .invoker = __getToken};
28
+ }
29
+
48
30
  private:
49
- class Delegate : public NativeRNFBTurboInstallationsCxxSpecJSI {
50
- public:
51
- Delegate(T *instance, std::shared_ptr<CallInvoker> jsInvoker) :
52
- NativeRNFBTurboInstallationsCxxSpecJSI(std::move(jsInvoker)), instance_(instance) {
53
-
54
- }
55
-
56
- jsi::Value deleteInstallations(jsi::Runtime &rt, jsi::String appName) override {
57
- static_assert(
58
- bridging::getParameterCount(&T::deleteInstallations) == 2,
59
- "Expected deleteInstallations(...) to have 2 parameters");
60
-
61
- return bridging::callFromJs<jsi::Value>(
62
- rt, &T::deleteInstallations, jsInvoker_, instance_, std::move(appName));
63
- }
64
- jsi::Value getId(jsi::Runtime &rt, jsi::String appName) override {
65
- static_assert(
66
- bridging::getParameterCount(&T::getId) == 2,
67
- "Expected getId(...) to have 2 parameters");
68
-
69
- return bridging::callFromJs<jsi::Value>(
70
- rt, &T::getId, jsInvoker_, instance_, std::move(appName));
71
- }
72
- jsi::Value getToken(jsi::Runtime &rt, jsi::String appName, bool forceRefresh) override {
73
- static_assert(
74
- bridging::getParameterCount(&T::getToken) == 3,
75
- "Expected getToken(...) to have 3 parameters");
76
-
77
- return bridging::callFromJs<jsi::Value>(
78
- rt, &T::getToken, jsInvoker_, instance_, std::move(appName), std::move(forceRefresh));
79
- }
31
+ static jsi::Value __deleteInstallations(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
32
+ static_assert(
33
+ bridging::getParameterCount(&T::deleteInstallations) == 2,
34
+ "Expected deleteInstallations(...) to have 2 parameters");
35
+ return bridging::callFromJs<jsi::Value>(rt, &T::deleteInstallations, static_cast<NativeRNFBTurboInstallationsCxxSpec*>(&turboModule)->jsInvoker_, static_cast<T*>(&turboModule),
36
+ count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt));
37
+ }
80
38
 
81
- private:
82
- friend class NativeRNFBTurboInstallationsCxxSpec;
83
- T *instance_;
84
- };
39
+ static jsi::Value __getId(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
40
+ static_assert(
41
+ bridging::getParameterCount(&T::getId) == 2,
42
+ "Expected getId(...) to have 2 parameters");
43
+ return bridging::callFromJs<jsi::Value>(rt, &T::getId, static_cast<NativeRNFBTurboInstallationsCxxSpec*>(&turboModule)->jsInvoker_, static_cast<T*>(&turboModule),
44
+ count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt));
45
+ }
85
46
 
86
- Delegate delegate_;
47
+ static jsi::Value __getToken(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
48
+ static_assert(
49
+ bridging::getParameterCount(&T::getToken) == 3,
50
+ "Expected getToken(...) to have 3 parameters");
51
+ return bridging::callFromJs<jsi::Value>(rt, &T::getToken, static_cast<NativeRNFBTurboInstallationsCxxSpec*>(&turboModule)->jsInvoker_, static_cast<T*>(&turboModule),
52
+ count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt),
53
+ count <= 1 ? throw jsi::JSError(rt, "Expected argument in position 1 to be passed") : args[1].asBool());
54
+ }
87
55
  };
88
56
 
89
57
  } // 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/installations",
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 - Installations",
6
6
  "main": "./dist/module/index.js",
@@ -25,8 +25,8 @@
25
25
  "compile": "bob build",
26
26
  "prepare": "yarn run build && yarn compile",
27
27
  "codegen": "yarn android:codegen && yarn ios:codegen",
28
- "android:codegen": "rimraf android/src/main/java/io/invertase/firebase/installations/generated && npx @react-native-community/cli codegen --platform android --outputPath=./android/src/main/java/io/invertase/firebase/installations/generated",
29
- "ios:codegen": "rimraf ios/generated && npx @react-native-community/cli codegen --platform ios --outputPath=./ios/generated"
28
+ "android:codegen": "node ../../scripts/codegen-package.mjs installations android",
29
+ "ios:codegen": "node ../../scripts/codegen-package.mjs installations ios"
30
30
  },
31
31
  "repository": {
32
32
  "type": "git",
@@ -40,14 +40,14 @@
40
40
  "installations"
41
41
  ],
42
42
  "peerDependencies": {
43
- "@react-native-firebase/app": "26.2.0"
43
+ "@react-native-firebase/app": "26.3.0"
44
44
  },
45
45
  "publishConfig": {
46
46
  "access": "public",
47
47
  "provenance": true
48
48
  },
49
49
  "devDependencies": {
50
- "@react-native-firebase/app": "26.2.0",
50
+ "@react-native-firebase/app": "26.3.0",
51
51
  "react-native-builder-bob": "^0.40.13"
52
52
  },
53
53
  "exports": {
@@ -76,5 +76,5 @@
76
76
  ]
77
77
  ]
78
78
  },
79
- "gitHead": "b7efa8ca2781b5102975ee5169ee6fc52e9c1588"
79
+ "gitHead": "12a52d40c0d156d05a16f4b49eb0e507c0f5d8c5"
80
80
  }
@@ -1,42 +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 "RNFBInstallationsTurboModulesJSI.h"
11
-
12
- namespace facebook::react {
13
-
14
- static jsi::Value __hostFunction_NativeRNFBTurboInstallationsCxxSpecJSI_deleteInstallations(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
15
- return static_cast<NativeRNFBTurboInstallationsCxxSpecJSI *>(&turboModule)->deleteInstallations(
16
- rt,
17
- count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt)
18
- );
19
- }
20
- static jsi::Value __hostFunction_NativeRNFBTurboInstallationsCxxSpecJSI_getId(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
21
- return static_cast<NativeRNFBTurboInstallationsCxxSpecJSI *>(&turboModule)->getId(
22
- rt,
23
- count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt)
24
- );
25
- }
26
- static jsi::Value __hostFunction_NativeRNFBTurboInstallationsCxxSpecJSI_getToken(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
27
- return static_cast<NativeRNFBTurboInstallationsCxxSpecJSI *>(&turboModule)->getToken(
28
- rt,
29
- count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt),
30
- count <= 1 ? throw jsi::JSError(rt, "Expected argument in position 1 to be passed") : args[1].asBool()
31
- );
32
- }
33
-
34
- NativeRNFBTurboInstallationsCxxSpecJSI::NativeRNFBTurboInstallationsCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
35
- : TurboModule("NativeRNFBTurboInstallations", jsInvoker) {
36
- methodMap_["deleteInstallations"] = MethodMetadata {1, __hostFunction_NativeRNFBTurboInstallationsCxxSpecJSI_deleteInstallations};
37
- methodMap_["getId"] = MethodMetadata {1, __hostFunction_NativeRNFBTurboInstallationsCxxSpecJSI_getId};
38
- methodMap_["getToken"] = MethodMetadata {2, __hostFunction_NativeRNFBTurboInstallationsCxxSpecJSI_getToken};
39
- }
40
-
41
-
42
- } // 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,42 +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 "RNFBInstallationsTurboModulesJSI.h"
11
-
12
- namespace facebook::react {
13
-
14
- static jsi::Value __hostFunction_NativeRNFBTurboInstallationsCxxSpecJSI_deleteInstallations(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
15
- return static_cast<NativeRNFBTurboInstallationsCxxSpecJSI *>(&turboModule)->deleteInstallations(
16
- rt,
17
- count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt)
18
- );
19
- }
20
- static jsi::Value __hostFunction_NativeRNFBTurboInstallationsCxxSpecJSI_getId(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
21
- return static_cast<NativeRNFBTurboInstallationsCxxSpecJSI *>(&turboModule)->getId(
22
- rt,
23
- count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt)
24
- );
25
- }
26
- static jsi::Value __hostFunction_NativeRNFBTurboInstallationsCxxSpecJSI_getToken(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
27
- return static_cast<NativeRNFBTurboInstallationsCxxSpecJSI *>(&turboModule)->getToken(
28
- rt,
29
- count <= 0 ? throw jsi::JSError(rt, "Expected argument in position 0 to be passed") : args[0].asString(rt),
30
- count <= 1 ? throw jsi::JSError(rt, "Expected argument in position 1 to be passed") : args[1].asBool()
31
- );
32
- }
33
-
34
- NativeRNFBTurboInstallationsCxxSpecJSI::NativeRNFBTurboInstallationsCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
35
- : TurboModule("NativeRNFBTurboInstallations", jsInvoker) {
36
- methodMap_["deleteInstallations"] = MethodMetadata {1, __hostFunction_NativeRNFBTurboInstallationsCxxSpecJSI_deleteInstallations};
37
- methodMap_["getId"] = MethodMetadata {1, __hostFunction_NativeRNFBTurboInstallationsCxxSpecJSI_getId};
38
- methodMap_["getToken"] = MethodMetadata {2, __hostFunction_NativeRNFBTurboInstallationsCxxSpecJSI_getToken};
39
- }
40
-
41
-
42
- } // 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