Posts

Showing posts with the label expo

Download file using Blob in react-native

Download file using Blob in react-native Since React-native v0.54 and Expo SDK v26 , Blob are now supported. v0.54 SDK v26 I'm trying to download a file available on a URL to my phone (if possible, in my Downloads directory on Android) Downloads All i can find for now is existing solution using react-native-fetch-blob which seems not necessary anymore. react-native-fetch-blob If anyone could provide a brief example on how to start implementing this feature on Expo snack Expo snack By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Expo/GenyMotion throws “ADB server didn't ACK” when running project

Image
Expo/GenyMotion throws “ADB server didn't ACK” when running project I'm trying to set up a React Native project using GenyMotion and Expo on Ubuntu. However, when I click the 'Device' button in Expo to package the app onto the emulator, I get the following error in the Expo console: I initially tried to use React Native through Android Studio, with the inbuilt Android emulator, so I thought the issue might that my computer hasmultiple ADB versions (when I ran $ adb --start-server from the terminal, it'd run the Android Studio binary, not the GenyMotion one). So I: $ adb --start-server Android/Sdk/ $ adb --start-server $ sudo apt-get remove adb android-tools-adb Set the filepath for the Android SDK in GenyMotion to my GenyMotion Android SDK. But I'm guessing is the same as the default setting, so I don't know if I needed to do this? Removed all path variables related to Android Studio from my .bashrc file, including $ANDROID_HOME . (should I instead set $AN...