Remove react-native-dialogs plugin from the sample app

This commit is contained in:
DevHossamHassan 2017-07-09 17:05:09 +02:00
parent ac12541a7f
commit 41c9af6727
4 changed files with 2 additions and 8 deletions

View File

@ -130,7 +130,6 @@ android {
dependencies {
compile project(':instabug-reactnative')
compile project(':react-native-dialogs')
compile fileTree(dir: "libs", include: ["*.jar"])
compile "com.android.support:appcompat-v7:23.0.1"
compile "com.facebook.react:react-native:+" // From node_modules

View File

@ -5,7 +5,6 @@ import android.util.Log;
import com.facebook.react.ReactApplication;
import com.instabug.reactlibrary.RNInstabugReactnativePackage;
import com.aakashns.reactnativedialogs.ReactNativeDialogsPackage;
import com.facebook.react.ReactInstanceManager;
import com.facebook.react.ReactNativeHost;
import com.facebook.react.ReactPackage;
@ -27,8 +26,7 @@ public class MainApplication extends Application implements ReactApplication {
protected List<ReactPackage> getPackages() {
return Arrays.<ReactPackage>asList(
new MainReactPackage(),
new RNInstabugReactnativePackage("YOUR_ANDROID_APPLICATION_TOKEN",MainApplication.this,"shake","#1D82DC"),
new ReactNativeDialogsPackage()
new RNInstabugReactnativePackage("YOUR_ANDROID_APPLICATION_TOKEN",MainApplication.this,"shake","#1D82DC")
);
}
};

View File

@ -1,7 +1,5 @@
rootProject.name = 'InstabugSample'
include ':instabug-reactnative'
project(':instabug-reactnative').projectDir = new File(rootProject.projectDir, '../node_modules/instabug-reactnative/android')
include ':react-native-dialogs'
project(':react-native-dialogs').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-dialogs/android')
include ':app'

View File

@ -9,8 +9,7 @@
"dependencies": {
"instabug-reactnative": "file:..",
"react": "15.4.2",
"react-native": "^0.41.2",
"react-native-dialogs": "0.0.19"
"react-native": "^0.41.2"
},
"devDependencies": {
"babel-jest": "18.0.0",