• Y
  • List All
  • Feedback
    • This Project
    • All Projects
Profile Account settings Log out
  • Favorite
  • Project
  • All
Loading...
  • Log in
  • Sign up
ansdpwn / 도로위험상황_모니터링및안내시스템 star
  • Project homeH
  • CodeC
  • IssueI
  • Pull requestP
  • Review R
  • MilestoneM
  • BoardB 1
  • Files
  • Commit
  • Branches
도로위험상황_모니터링및안내시스템androidappsrcmainjniMainComponentsRegistry.cpp
Download as .zip file
File name
Commit message
Commit date
.bundle
[FEAT] fogapp
2023-11-14
__tests__
[FEAT] fogapp
2023-11-14
android
[FIX] api key 변경, color.js 로 관리 변경
2023-11-14
ios
[FEAT] fogapp
2023-11-14
src
[FIX] api key 변경, color.js 로 관리 변경
2023-11-14
.buckconfig
[FEAT] fogapp
2023-11-14
.eslintrc.js
[FEAT] fogapp
2023-11-14
.flowconfig
[FEAT] fogapp
2023-11-14
.gitignore
[FEAT] fogapp
2023-11-14
.node-version
[FEAT] fogapp
2023-11-14
.prettierrc.js
[FEAT] fogapp
2023-11-14
.ruby-version
[FEAT] fogapp
2023-11-14
.watchmanconfig
[FEAT] fogapp
2023-11-14
App.js
[FEAT] fogapp
2023-11-14
Gemfile
[FEAT] fogapp
2023-11-14
app.json
[FIX] api key 변경, color.js 로 관리 변경
2023-11-14
babel.config.js
[FEAT] fogapp
2023-11-14
index.js
[FEAT] fogapp
2023-11-14
metro.config.js
[FEAT] fogapp
2023-11-14
package-lock.json
[FIX] api key 변경, color.js 로 관리 변경
2023-11-14
package.json
[FIX] api key 변경, color.js 로 관리 변경
2023-11-14
test.json
[FEAT] fogapp
2023-11-14
File name
Commit message
Commit date
app
[FIX] api key 변경, color.js 로 관리 변경
2023-11-14
gradle/wrapper
[FEAT] fogapp
2023-11-14
build.gradle
[FEAT] fogapp
2023-11-14
gradle.properties
[FEAT] fogapp
2023-11-14
gradlew
[FEAT] fogapp
2023-11-14
gradlew.bat
[FEAT] fogapp
2023-11-14
settings.gradle
[FIX] api key 변경, color.js 로 관리 변경
2023-11-14
File name
Commit message
Commit date
src
[FIX] api key 변경, color.js 로 관리 변경
2023-11-14
_BUCK
[FIX] api key 변경, color.js 로 관리 변경
2023-11-14
build.gradle
[FIX] api key 변경, color.js 로 관리 변경
2023-11-14
build_defs.bzl
[FEAT] fogapp
2023-11-14
debug.keystore
[FEAT] fogapp
2023-11-14
proguard-rules.pro
[FEAT] fogapp
2023-11-14
File name
Commit message
Commit date
debug
[FIX] api key 변경, color.js 로 관리 변경
2023-11-14
main
[FIX] api key 변경, color.js 로 관리 변경
2023-11-14
File name
Commit message
Commit date
assets
[FEAT] fogapp
2023-11-14
java/com/aitron
[FIX] api key 변경, color.js 로 관리 변경
2023-11-14
jni
[FIX] api key 변경, color.js 로 관리 변경
2023-11-14
res
[FIX] api key 변경, color.js 로 관리 변경
2023-11-14
AndroidManifest.xml
[FIX] api key 변경, color.js 로 관리 변경
2023-11-14
File name
Commit message
Commit date
CMakeLists.txt
[FIX] api key 변경, color.js 로 관리 변경
2023-11-14
MainApplicationModuleProvider.cpp
[FEAT] fogapp
2023-11-14
MainApplicationModuleProvider.h
[FEAT] fogapp
2023-11-14
MainApplicationTurboModuleManagerDelegate.cpp
[FEAT] fogapp
2023-11-14
MainApplicationTurboModuleManagerDelegate.h
[FIX] api key 변경, color.js 로 관리 변경
2023-11-14
MainComponentsRegistry.cpp
[FEAT] fogapp
2023-11-14
MainComponentsRegistry.h
[FIX] api key 변경, color.js 로 관리 변경
2023-11-14
OnLoad.cpp
[FEAT] fogapp
2023-11-14
moonyeju 2023-11-14 d7c9c2b [FEAT] fogapp UNIX
Raw Open in browser Change history
#include "MainComponentsRegistry.h" #include <CoreComponentsRegistry.h> #include <fbjni/fbjni.h> #include <react/renderer/componentregistry/ComponentDescriptorProviderRegistry.h> #include <react/renderer/components/rncore/ComponentDescriptors.h> #include <rncli.h> namespace facebook { namespace react { MainComponentsRegistry::MainComponentsRegistry(ComponentFactory *delegate) {} std::shared_ptr<ComponentDescriptorProviderRegistry const> MainComponentsRegistry::sharedProviderRegistry() { auto providerRegistry = CoreComponentsRegistry::sharedProviderRegistry(); // Autolinked providers registered by RN CLI rncli_registerProviders(providerRegistry); // Custom Fabric Components go here. You can register custom // components coming from your App or from 3rd party libraries here. // // providerRegistry->add(concreteComponentDescriptorProvider< // AocViewerComponentDescriptor>()); return providerRegistry; } jni::local_ref<MainComponentsRegistry::jhybriddata> MainComponentsRegistry::initHybrid( jni::alias_ref<jclass>, ComponentFactory *delegate) { auto instance = makeCxxInstance(delegate); auto buildRegistryFunction = [](EventDispatcher::Weak const &eventDispatcher, ContextContainer::Shared const &contextContainer) -> ComponentDescriptorRegistry::Shared { auto registry = MainComponentsRegistry::sharedProviderRegistry() ->createComponentDescriptorRegistry( {eventDispatcher, contextContainer}); auto mutableRegistry = std::const_pointer_cast<ComponentDescriptorRegistry>(registry); mutableRegistry->setFallbackComponentDescriptor( std::make_shared<UnimplementedNativeViewComponentDescriptor>( ComponentDescriptorParameters{ eventDispatcher, contextContainer, nullptr})); return registry; }; delegate->buildRegistryFunction = buildRegistryFunction; return instance; } void MainComponentsRegistry::registerNatives() { registerHybrid({ makeNativeMethod("initHybrid", MainComponentsRegistry::initHybrid), }); } } // namespace react } // namespace facebook

          
        
    
    
Copyright Yona authors & © NAVER Corp. & NAVER LABS Supported by NAVER CLOUD PLATFORM

or
Sign in with github login with Google Sign in with Google
Reset password | Sign up