fix java compile errors on android

This commit is contained in:
Bart Akeley 2019-06-29 09:44:29 -05:00
parent 4ce85e15c0
commit baf5b43fc1
2 changed files with 2 additions and 29 deletions

View file

@ -141,7 +141,7 @@ android {
dependencies {
compile project(':react-native-google-places')
api project(':react-native-firebase')
// api project(':react-native-firebase')
api project(':react-native-snackbar')
api project(':react-native-google-places')
api project(':react-native-auth0')
@ -151,7 +151,7 @@ dependencies {
api project(':react-native-vector-icons')
api project(':react-native-image-picker')
implementation 'com.google.firebase:firebase-core:16.0.1'
// implementation 'com.google.firebase:firebase-core:16.0.1'
implementation('com.crashlytics.sdk.android:crashlytics:2.9.5@aar') {
transitive = true

View file

@ -8,25 +8,12 @@ import com.azendoo.reactnativesnackbar.SnackbarPackage;
import com.airbnb.android.react.maps.MapsPackage;
import fr.bamlab.rnimageresizer.ImageResizerPackage;
import com.imagepicker.ImagePickerPackage;
import com.oblador.vectoricons.VectorIconsPackage;
import com.azendoo.reactnativesnackbar.SnackbarPackage;
import com.airbnb.android.react.maps.MapsPackage;
import fr.bamlab.rnimageresizer.ImageResizerPackage;
import com.imagepicker.ImagePickerPackage;
import com.arttitude360.reactnative.rngoogleplaces.RNGooglePlacesPackage;
import com.azendoo.reactnativesnackbar.SnackbarPackage;
import com.arttitude360.reactnative.rngoogleplaces.RNGooglePlacesPackage;
import com.auth0.react.A0Auth0Package;
import fr.bamlab.rnimageresizer.ImageResizerPackage;
import com.airbnb.android.react.maps.MapsPackage;
import com.oblador.vectoricons.VectorIconsPackage;
import com.imagepicker.ImagePickerPackage;
import com.facebook.react.ReactNativeHost;
import com.facebook.react.ReactPackage;
import com.facebook.react.shell.MainReactPackage;
import com.facebook.soloader.SoLoader;
import io.invertase.firebase.RNFirebasePackage;
import io.invertase.firebase.fabric.crashlytics.RNFirebaseCrashlyticsPackage;
import java.util.Arrays;
import java.util.List;
@ -43,25 +30,11 @@ public class MainApplication extends Application implements ReactApplication {
protected List<ReactPackage> getPackages() {
return Arrays.<ReactPackage>asList(
new MainReactPackage(),
new VectorIconsPackage(),
new SnackbarPackage(),
new MapsPackage(),
new ImageResizerPackage(),
new ImagePickerPackage(),
new VectorIconsPackage(),
new SnackbarPackage(),
new MapsPackage(),
new ImageResizerPackage(),
new ImagePickerPackage(),
new RNGooglePlacesPackage(),
new RNFirebasePackage(),
new RNFirebaseCrashlyticsPackage(),
new SnackbarPackage(),
new RNGooglePlacesPackage(),
new A0Auth0Package(),
new ImageResizerPackage(),
new MapsPackage(),
new VectorIconsPackage(),
new ImagePickerPackage()
);
}