Do not link libraries manually.

This commit is contained in:
Filipe Brito 2019-08-22 14:52:07 -03:00
parent 56a7759326
commit 5be22d88d6
3 changed files with 0 additions and 5 deletions

View File

@ -204,7 +204,6 @@ dependencies {
addUnimodulesDependencies()
implementation project(':reactnativenotifications')
implementation project(":reactnativekeyboardinput")
implementation project(':rn-user-defaults')
implementation fileTree(dir: "libs", include: ["*.jar"])
implementation "com.facebook.react:react-native:+" // From node_modules

View File

@ -14,7 +14,6 @@ import com.facebook.react.ReactPackage;
import com.facebook.soloader.SoLoader;
import chat.rocket.reactnative.generated.BasePackageList;
import chat.rocket.userdefaults;
import org.unimodules.adapters.react.ModuleRegistryAdapter;
import org.unimodules.adapters.react.ReactModuleRegistryProvider;
@ -55,7 +54,6 @@ public class MainApplication extends Application implements ReactApplication, IN
packages.add(new KeyboardInputPackage(MainApplication.this));
packages.add(new RNNotificationsPackage(MainApplication.this));
packages.add(new ModuleRegistryAdapter(mModuleRegistryProvider));
packages.add(new RNUserDefaultsPackage());
return packages;
}

View File

@ -7,6 +7,4 @@ project(':reactnativenotifications').projectDir = new File(rootProject.projectDi
include ':reactnativekeyboardinput'
project(':reactnativekeyboardinput').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-keyboard-input/lib/android')
apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings)
include ':rn-user-defaults'
project(':rn-user-defaults').projectDir = new File(rootProject.projectDir, '../node_modules/rn-user-defaults/android')
include ':app'