React Native Image Upload with Expo and PHP 🤩

Поделиться
HTML-код
  • Опубликовано: 29 июн 2024
  • In this React Native tutorial, you will learn to capture images with Expo, store them inside the filesystem of your app, and finally upload images to a PHP server!
    🔥 Learn React Native FAST: galaxies.dev/reactnative
    🔗 Full tutorial: galaxies.dev/react-native-ima...
    #############################
    ❤️ You can also find me on:
    Twitter: / schlimmson
    TikTok: / simongrimm_
    Instagram: / simongrimm_
    #############################
    Chapters:
    00:00 What you will learn
    00:56 Setting up the Expo app and Plugins
    02:40 Using the FIlesystem and Camera
    07:25 Saving Images
    11:13 Uploading Images
    17:50 Outro
    #reactjs #reactnative #expo
  • НаукаНаука

Комментарии • 26

  • @SallyLahman
    @SallyLahman 2 месяца назад

    This is a life saver for me since I'm competent with PHP servers, thank you Simon

  • @donavandaniels3099
    @donavandaniels3099 6 месяцев назад +2

    Thanks so much Simon, i have been looking for a React/PHP combo for weeks. I really appreciate the time you spent in putting this together. If ever you are in South Africa, I will take you for lunch 🙂

    • @galaxies_dev
      @galaxies_dev  5 месяцев назад

      Glad I could help - still so many devs use PHP but there are rarely videos about it these days in combination with RN 🤷‍♂️

  • @eclipse4049
    @eclipse4049 7 месяцев назад

    Hi, Simon. Thank you very much for the tutorial, its helped me a lot

    • @galaxies_dev
      @galaxies_dev  7 месяцев назад

      Glad to hear, would be awesome if you can share it ✌️

  • @saurabhpurohit20
    @saurabhpurohit20 3 месяца назад +1

    Nice explanation & well documented ❤

  • @kuntalbhatt
    @kuntalbhatt Год назад +2

    Plz teach us real time chat application using angular. And also in live server. Thanks for ur support. ❤

  • @bryanaustin1007
    @bryanaustin1007 9 месяцев назад +1

    This tutorial has worked for me. I have been stuck for 2 days. Thanks @Simon for the Video. I had to subscribe. 👏👏

    • @galaxies_dev
      @galaxies_dev  8 месяцев назад

      Glad I could help!

    • @bryanaustin1007
      @bryanaustin1007 8 месяцев назад

      Could you help with a tutorial on how to add a URL image to a Word document in react native (expo) @@galaxies_dev

  • @angelecg
    @angelecg 9 месяцев назад +1

    Woow, thanks men, I'm taking the time to say THANKS!!!!.. cristal clear explanation. I have an API with python and it was really easy to send and receive the files.
    I added the option to select multiple files and did some modifications into the example taht you show us.

  • @galaxies_dev
    @galaxies_dev  11 месяцев назад +1

    Learn React Native FAST by becoming a member of Galaxies.dev today

  • @user-hz2jf4ql7c
    @user-hz2jf4ql7c 3 месяца назад

    Noice. How would you save this file inside Internal Storage like Android/AppName or Android/media/appuniquename/foldername ?

  • @fallanstar
    @fallanstar Год назад +1

    How we implement 360 image slider in react native with camera and hotspot button to handle the image plz make video on this

    • @galaxies_dev
      @galaxies_dev  11 месяцев назад

      Sounds interesting, will take a look at it!

  • @tomiwaajayi8288
    @tomiwaajayi8288 5 месяцев назад

    Thanks a lot Simon @galaxies_dev
    Question:
    Is there any possible downside to just keeping them in a useState hook and then sending them to my api.
    Basically, can I do without the file system ?
    What are the advantages of using the filesystem and possible downsides to not using it.
    Look forward to your reply.

    • @galaxies_dev
      @galaxies_dev  4 месяца назад +1

      Yeah as long as you don't have too much in memory (in useState) it should be fine and you shouldn't experience any performance drawbacks!

  • @ShiNoBiize
    @ShiNoBiize 4 месяца назад

    Anyone got the error i'm getting?
    TypeError: Cannot read property 'documentDirectory' of undefined
    For some reason FileSystem.documentDirectory is being undefiend...

  • @Karthicklog
    @Karthicklog 11 месяцев назад

    Hi Simon,
    really appreciate on this one but i coudn't follow up with the setps, most of the codes are auto genrated, but i have done my own solutions

    • @galaxies_dev
      @galaxies_dev  11 месяцев назад

      I will try to slow down next time! But you can find the code linked below the video as well :)

  • @alex2261997
    @alex2261997 10 месяцев назад

    Hi Simon,
    Would you have any idea why this same code can work for me in development but fails in production?

    • @galaxies_dev
      @galaxies_dev  10 месяцев назад

      Not really :/ Have you tried to look into the logs, or make a custom dev build and get as close to a "production" case as possible?

  • @chidiebereernest5928
    @chidiebereernest5928 9 месяцев назад

    I'd like to know the extension you're using?

    • @galaxies_dev
      @galaxies_dev  9 месяцев назад

      Most likely React Snippets in VSC!