#pragma once #include #include #include /** * Note this imports and that they are not present in autogenerated header file * under android/build/generated/source/codegen/jni/rnpicker.h * * It is added here to make the custom symbols visible in autogenerated file with * code responsible for registering component descriptor providers. See that rncli.cpp, * located under /android/app/build/generated/rncli/src/main/jni/rncli.cpp, * includes autogenerated rnpicker.h header by default. We change this behaviour * by appropriate include path configuration so that this header file gets included. */ #include #include namespace facebook { namespace react { JSI_EXPORT std::shared_ptr rnpicker_ModuleProvider(const std::string &moduleName, const JavaTurboModule::InitParams ¶ms); } // namespace react } // namespace facebook