* chore: upgrade react native and target android 31 (#7)

This commit is contained in:
Richard Ramos
2022-08-29 11:32:20 -04:00
committed by GitHub
parent 98b7fb8bff
commit cebd58464c
72 changed files with 6817 additions and 5799 deletions
@@ -0,0 +1,26 @@
#include "MainApplicationModuleProvider.h"
#include <rncore.h>
namespace facebook {
namespace react {
std::shared_ptr<TurboModule> MainApplicationModuleProvider(
const std::string moduleName,
const JavaTurboModule::InitParams &params) {
// Here you can provide your own module provider for TurboModules coming from
// either your application or from external libraries. The approach to follow
// is similar to the following (for a library called `samplelibrary`:
//
// auto module = samplelibrary_ModuleProvider(moduleName, params);
// if (module != nullptr) {
// return module;
// }
// return rncore_ModuleProvider(moduleName, params);
return rncore_ModuleProvider(moduleName, params);
}
} // namespace react
} // namespace facebook