snackbar support

This commit is contained in:
Akinwale Ariwodola 2019-12-18 11:48:29 +01:00
parent a519b5c0b1
commit 2b3397bc85
5 changed files with 7 additions and 1 deletions

2
app

@ -1 +1 @@
Subproject commit 3662834fbae588f4c000a2d95eb89891f7c81c3f Subproject commit f23174178972c940679504d0e11da5e57f8ab506

View file

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

View file

@ -111,6 +111,7 @@ dependencies {
compile project(':react-native-fs') compile project(':react-native-fs')
compile project(':react-native-gesture-handler') compile project(':react-native-gesture-handler')
compile project(':react-native-reanimated') compile project(':react-native-reanimated')
compile project(':react-native-snackbar')
compile project(':react-native-video') compile project(':react-native-video')
compile project(':rn-fetch-blob') compile project(':rn-fetch-blob')
{%- for aar in aars %} {%- 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') project(':react-native-gesture-handler').projectDir = new File(rootProject.projectDir, './react/node_modules/react-native-gesture-handler/android')
include ':react-native-reanimated' include ':react-native-reanimated'
project(':react-native-reanimated').projectDir = new File(rootProject.projectDir, './react/node_modules/react-native-reanimated/android') 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' include ':react-native-video'
project(':react-native-video').projectDir = new File(rootProject.projectDir, './react/node_modules/react-native-video/android-exoplayer') project(':react-native-video').projectDir = new File(rootProject.projectDir, './react/node_modules/react-native-video/android-exoplayer')
include ':rn-fetch-blob' include ':rn-fetch-blob'

View file

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