gradle update one more time

This commit is contained in:
feruz 2021-01-25 21:43:07 +02:00
parent 193407f334
commit 340a911acb
3 changed files with 6 additions and 1 deletions

View File

@ -203,7 +203,9 @@ android {
def name = variant.name.toLowerCase() def name = variant.name.toLowerCase()
if (name.contains("staging") || name.contains("debug")) { if (name.contains("staging") || name.contains("debug")) {
enabled = false enabled = false
}
uploadReactNativeMappings = true
}
uploadReactNativeMappings = true uploadReactNativeMappings = true
} }
} }

View File

@ -9,6 +9,7 @@ import com.facebook.react.ReactNativeHost;
import com.facebook.react.ReactPackage; import com.facebook.react.ReactPackage;
import com.facebook.soloader.SoLoader; import com.facebook.soloader.SoLoader;
import androidx.multidex.MultiDexApplication; import androidx.multidex.MultiDexApplication;
import com.bugsnag.android.Bugsnag;
//See below, Webview debugging //See below, Webview debugging
//import android.webkit.WebView; //import android.webkit.WebView;
@ -54,6 +55,7 @@ public class MainApplication extends MultiDexApplication implements ReactApplica
SoLoader.init(this, /* native exopackage */ false); SoLoader.init(this, /* native exopackage */ false);
// Uncomment below line to Debug Webview // Uncomment below line to Debug Webview
// WebView.setWebContentsDebuggingEnabled(true); // WebView.setWebContentsDebuggingEnabled(true);
Bugsnag.start(this);
initializeFlipper(this); // Remove this line if you don't want Flipper enabled initializeFlipper(this); // Remove this line if you don't want Flipper enabled
} }

View File

@ -28,6 +28,7 @@ buildscript {
} }
dependencies { dependencies {
classpath('com.android.tools.build:gradle:4.0.1') classpath('com.android.tools.build:gradle:4.0.1')
classpath("com.bugsnag:bugsnag-android-gradle-plugin:5.+")
classpath 'com.google.gms:google-services:4.3.3' classpath 'com.google.gms:google-services:4.3.3'
classpath 'com.bugsnag:bugsnag-android-gradle-plugin:5.+' classpath 'com.bugsnag:bugsnag-android-gradle-plugin:5.+'