mirror of
https://github.com/zoriya/react-native-video.git
synced 2026-08-16 02:56:22 +00:00
feat: bump nitro modules (#4720)
This commit is contained in:
+1
-2
@@ -35,8 +35,7 @@ int initialize(JavaVM* vm) {
|
||||
[]() -> std::shared_ptr<HybridObject> {
|
||||
static DefaultConstructableObject<JHybridPluginManagerSpec::javaobject> object("com/margelo/nitro/videodrm/PluginManager");
|
||||
auto instance = object.create();
|
||||
auto globalRef = jni::make_global(instance);
|
||||
return globalRef->cthis()->shared();
|
||||
return instance->cthis()->shared();
|
||||
}
|
||||
);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user