Merge pull request #800 from lbryio/snackbars

snackbar support
This commit is contained in:
Akinwale Ariwodola 2019-12-20 08:00:07 +01:00 committed by GitHub
commit 4dc0b19c5d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 7 additions and 1 deletions

2
app

@ -1 +1 @@
Subproject commit 3662834fbae588f4c000a2d95eb89891f7c81c3f
Subproject commit 696ff616f7b1c72c56b37174cdb3d89fcc93e282

View file

@ -111,6 +111,7 @@ dependencies {
compile project(':react-native-fs')
compile project(':react-native-gesture-handler')
compile project(':react-native-reanimated')
compile project(':react-native-snackbar')
compile project(':react-native-video')
compile project(':rn-fetch-blob')
{%- for aar in aars %}

View file

@ -111,6 +111,7 @@ dependencies {
compile project(':react-native-fs')
compile project(':react-native-gesture-handler')
compile project(':react-native-reanimated')
compile project(':react-native-snackbar')
compile project(':react-native-video')
compile project(':rn-fetch-blob')
{%- for aar in aars %}

View file

@ -13,6 +13,8 @@ include ':react-native-gesture-handler'
project(':react-native-gesture-handler').projectDir = new File(rootProject.projectDir, './react/node_modules/react-native-gesture-handler/android')
include ':react-native-reanimated'
project(':react-native-reanimated').projectDir = new File(rootProject.projectDir, './react/node_modules/react-native-reanimated/android')
include ':react-native-snackbar'
project(':react-native-snackbar').projectDir = new File(rootProject.projectDir, './react/node_modules/react-native-snackbar/android')
include ':react-native-video'
project(':react-native-video').projectDir = new File(rootProject.projectDir, './react/node_modules/react-native-video/android-exoplayer')
include ':rn-fetch-blob'

View file

@ -27,6 +27,7 @@ import android.telephony.SmsMessage;
import android.telephony.TelephonyManager;
import android.widget.Toast;
import com.azendoo.reactnativesnackbar.SnackbarPackage;
import com.brentvatne.react.ReactVideoPackage;
import com.dylanvann.fastimage.FastImageViewPackage;
import com.facebook.react.common.LifecycleState;
@ -168,6 +169,7 @@ public class MainActivity extends Activity implements DefaultHardwareBackBtnHand
.addPackage(new RNFetchBlobPackage())
.addPackage(new RNFSPackage())
.addPackage(new RNGestureHandlerPackage())
.addPackage(new SnackbarPackage())
.addPackage(new LbryReactPackage())
.setUseDeveloperSupport(true)
.setInitialLifecycleState(LifecycleState.RESUMED)