V1 dependencies and bump to RN 0.67.2 (#5908) (#5922)

This commit is contained in:
Mattermost Build
2022-02-02 20:04:24 +01:00
committed by GitHub
parent 62258b5d64
commit 74365b11a7
269 changed files with 10214 additions and 15000 deletions

View File

@@ -8,13 +8,11 @@ import java.util.Collections;
import java.util.List;
import com.swmansion.reanimated.ReanimatedJSIModulePackage;
import com.ammarahmed.mmkv.RNMMKVModule;
public class CustomMMKVJSIModulePackage extends ReanimatedJSIModulePackage {
@Override
public List<JSIModuleSpec> getJSIModules(ReactApplicationContext reactApplicationContext, JavaScriptContextHolder jsContext) {
super.getJSIModules(reactApplicationContext, jsContext);
reactApplicationContext.getNativeModule(RNMMKVModule.class).installLib(jsContext, reactApplicationContext.getFilesDir().getAbsolutePath() + "/mmkv");
return Collections.emptyList();
}