diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-01-17 20:21:11 -0600 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2023-01-17 20:21:11 -0600 |
commit | a13f9bf0916f80417ea20cc98ad86fe51f1a60dd (patch) | |
tree | f124df035d35e80ce287c9ee87b034e2e8382b16 /android/app/src/main/jni/MainComponentsRegistry.h | |
parent | b449ab842fc64177f8ba1e17199911f02cb99526 (diff) | |
download | voidsky-a13f9bf0916f80417ea20cc98ad86fe51f1a60dd.tar.zst |
Upgrade to react-native 0.71.0
Diffstat (limited to 'android/app/src/main/jni/MainComponentsRegistry.h')
-rw-r--r-- | android/app/src/main/jni/MainComponentsRegistry.h | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/android/app/src/main/jni/MainComponentsRegistry.h b/android/app/src/main/jni/MainComponentsRegistry.h deleted file mode 100644 index b3ddfe703..000000000 --- a/android/app/src/main/jni/MainComponentsRegistry.h +++ /dev/null @@ -1,32 +0,0 @@ -#pragma once - -#include <ComponentFactory.h> -#include <fbjni/fbjni.h> -#include <react/renderer/componentregistry/ComponentDescriptorProviderRegistry.h> -#include <react/renderer/componentregistry/ComponentDescriptorRegistry.h> - -namespace facebook { -namespace react { - -class MainComponentsRegistry - : public facebook::jni::HybridClass<MainComponentsRegistry> { - public: - // Adapt it to the package you used for your Java class. - constexpr static auto kJavaDescriptor = - "Lcom/app/newarchitecture/components/MainComponentsRegistry;"; - - static void registerNatives(); - - MainComponentsRegistry(ComponentFactory *delegate); - - private: - static std::shared_ptr<ComponentDescriptorProviderRegistry const> - sharedProviderRegistry(); - - static jni::local_ref<jhybriddata> initHybrid( - jni::alias_ref<jclass>, - ComponentFactory *delegate); -}; - -} // namespace react -} // namespace facebook |