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 { dependencies {
compile project(':instabug-reactnative') compile project(':instabug-reactnative')
compile project(':react-native-dialogs')
compile fileTree(dir: "libs", include: ["*.jar"]) compile fileTree(dir: "libs", include: ["*.jar"])
compile "com.android.support:appcompat-v7:23.0.1" compile "com.android.support:appcompat-v7:23.0.1"
compile "com.facebook.react:react-native:+" // From node_modules 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.facebook.react.ReactApplication;
import com.instabug.reactlibrary.RNInstabugReactnativePackage; import com.instabug.reactlibrary.RNInstabugReactnativePackage;
import com.aakashns.reactnativedialogs.ReactNativeDialogsPackage;
import com.facebook.react.ReactInstanceManager; import com.facebook.react.ReactInstanceManager;
import com.facebook.react.ReactNativeHost; import com.facebook.react.ReactNativeHost;
import com.facebook.react.ReactPackage; import com.facebook.react.ReactPackage;
@ -27,8 +26,7 @@ public class MainApplication extends Application implements ReactApplication {
protected List<ReactPackage> getPackages() { protected List<ReactPackage> getPackages() {
return Arrays.<ReactPackage>asList( return Arrays.<ReactPackage>asList(
new MainReactPackage(), new MainReactPackage(),
new RNInstabugReactnativePackage("YOUR_ANDROID_APPLICATION_TOKEN",MainApplication.this,"shake","#1D82DC"), new RNInstabugReactnativePackage("YOUR_ANDROID_APPLICATION_TOKEN",MainApplication.this,"shake","#1D82DC")
new ReactNativeDialogsPackage()
); );
} }
}; };

View File

@ -1,7 +1,5 @@
rootProject.name = 'InstabugSample' rootProject.name = 'InstabugSample'
include ':instabug-reactnative' include ':instabug-reactnative'
project(':instabug-reactnative').projectDir = new File(rootProject.projectDir, '../node_modules/instabug-reactnative/android') 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' include ':app'

View File

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