Build a Music Player app with React Native, Expo, Typescript and Zustand

Поделиться
HTML-код
  • Опубликовано: 15 ноя 2024

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

  • @codewithgionatha
    @codewithgionatha  7 месяцев назад +15

    You can check out the official source code repository here: 👉github.com/gionathas/music-player
    It includes some tweaks and fixes I've added along the way, making it a useful resource for the project 🙌

    • @uminhtetoo
      @uminhtetoo 7 месяцев назад +1

      Thank you so much for sharing your experience and knowledge, Sir.

    • @Monishreddy-l2k
      @Monishreddy-l2k 6 месяцев назад

      The Stack-Navigation part is bit confusing not able to follow clearly. and the search bar feature also

    • @codewithgionatha
      @codewithgionatha  6 месяцев назад

      ​@@Monishreddy-l2k Thanks for the feedback🙏If you need help or further clarifications we can discuss on Discord 😄

    • @pikachu-zt9fq
      @pikachu-zt9fq 3 месяца назад

      Hi gionatha, I love the UI design in your project and would like to use it in my music player app, which I plan to publish on Google Play. I'll give you full credit for your work. Would that be okay with you?

    • @portalwebagency
      @portalwebagency 3 месяца назад

      @@pikachu-zt9fq has mit license so u are fine legally

  • @insensibility
    @insensibility Месяц назад +1

    Can you do more of React Native, man? You're a great teacher!

  • @leodang00
    @leodang00 7 месяцев назад +5

    Nice, let vote for the next project. I'm gonna vote Patreon clone using in app purchase for subscription

  • @andrejkling3886
    @andrejkling3886 4 месяца назад +3

    Finally I found right channel… Excellent explanation and amazing coding with your teaching style. Definitely one of best tutorials which I seen… Thank you so very much for your kind efforts and self giving 🔥💯 please keep it up 👍 more projects with React Native 🙏

  • @syketb
    @syketb 7 месяцев назад +1

    Hey bro! I don't know you and I don't know your channel, but I saw this video in my feed, it looks like I found my favorite and wanted channel. Please share this kind of projects video. I liked it, Thank you so much. will be your daily visitors for sure, take love.

    • @codewithgionatha
      @codewithgionatha  7 месяцев назад +1

      Wow, thanks so much 🙏
      I'll try to do my best 😄

  • @hubesh716
    @hubesh716 7 месяцев назад +2

    thanks awaiting for more and Full stack Projects in react native with Backend thanks for this osam project

  • @benadams8998
    @benadams8998 5 месяцев назад +3

    Loved this video Gionatha! Would love to see more just like this one!

  • @dineshsingh-kw6lt
    @dineshsingh-kw6lt 2 месяца назад +1

    great tutoral, very helpfull for music app I am developing

  • @richysel3258
    @richysel3258 3 месяца назад +2

    Amazing tutorial. i loved every part of it. You are amazing teacher. i built the android version, now trying to read the react-native-trackplayer documentation to see if i can load the tracks from local storage, instead of using the json library data prop. Thank you once again

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

      Hhai bro, can you please share the source code

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

      i don't use ios can i follow this tutorial for android??, or do i need to do something by myself??

    • @anasazitff
      @anasazitff Месяц назад

      @@nehalpradhan2229 its not entirely useful for android, since many expo features work only on ios and not on android. i had build my custom header, tab bar etc

  • @INAMULHASAN-d5h
    @INAMULHASAN-d5h 7 месяцев назад +1

    Underrated project 😮

  • @MrCbutters
    @MrCbutters 5 месяцев назад +1

    One of the best tutorials i have watched. Great vid keep them coming! Cheers!

  • @milossavkovic1970
    @milossavkovic1970 7 месяцев назад +3

    Awesome job, thanks for sharing!

  • @danielmoralesgonzalez4908
    @danielmoralesgonzalez4908 3 месяца назад

    Thanks for the tutorial, you're a champion!

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

    How am I just seeing your channel. Bro you're too good. Please make more react native projects, if possible with clerk, supabase or appwrite.

  • @1995thebama
    @1995thebama 6 месяцев назад +1

    awesome thank for share your knowledge , more content about react native please

  • @CantWords
    @CantWords 6 месяцев назад

    Awesome great video I would love to see more React Native project like this

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

    As a beginner it is hard to understand but thank you

  • @chukwudinweze191
    @chukwudinweze191 4 месяца назад +2

    I encountered this error and have been unable to resolve it.
    ERROR Invariant Violation: requireNativeComponent: "FastImageView" was not found in the UIManager.

  • @mma-dost
    @mma-dost 7 месяцев назад

    Thanks man! You channel is great respect and god bless

  • @ryannwaneri6352
    @ryannwaneri6352 2 месяца назад +1

    Notice to people trying to follow this for android some of the things he uses here are ios specific for instance some of the options in the native stack navigator options so you should try finding ways around this and follow up with the rest of the tutorial

    • @anasazitff
      @anasazitff Месяц назад

      exactly, are you done implementing this using android? if yes, share source code.

  • @MuhammadFahreza
    @MuhammadFahreza 4 часа назад

    if I minimize thr app and go to lock screen, will the audio playback can be managed via Lock Screen control / such stuff?

  • @prashlovessamosa
    @prashlovessamosa 6 месяцев назад

    Great explanation brother I just found your channel looking forward to learning awesome stuff from you.

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

    I really like your demo thank you, I have a question. I can see that you use usePlaylist for example to get data to the flatlist, in the case where we fetch data from server, is it possible to do the same concept? like make request to the server inside the usePlaylist, is that going to work ?

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

    Very helpful. Thanks!

  • @Furkan-ce6ww
    @Furkan-ce6ww 13 дней назад

    Is there no database or backend part? Where did we get the music list from?

    • @codewithgionatha
      @codewithgionatha  12 дней назад

      For this project we're using a static file as a database, but it can be easily extended to read from the underline device filesystem..

  • @michealskup5730
    @michealskup5730 7 месяцев назад +2

    Please, more react native videos

  • @thuongphung5646
    @thuongphung5646 Месяц назад

    Great! Could you share figma design this app?

  • @orangvaik
    @orangvaik 6 месяцев назад +1

    awesome project of react native, simple but elegent design i love it!!❤❤❤, can you make more react native project??

  • @Pulsemastery
    @Pulsemastery 7 месяцев назад +2

    Great project 🎉

  • @raphaeljaggerd3585
    @raphaeljaggerd3585 7 месяцев назад +1

    Amazing stuff. Just finished your Electron video. Is there any reason you switched from using Jotai to zustand?

    • @codewithgionatha
      @codewithgionatha  7 месяцев назад +1

      I think both are awesome state manager.
      Here I decided to bring zustand since it's a little bit more simple to use (IMHO) and to highlight the differences between the two.

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

      @@codewithgionatha Oh okay, I see. Thank you again for the great content.

    • @rusurveillancetaskforce
      @rusurveillancetaskforce Месяц назад

      Zustand is the cool new thing grandpa.

    • @raphaeljaggerd3585
      @raphaeljaggerd3585 Месяц назад

      @@rusurveillancetaskforce Jotai came out in June 2022 and Zustand in April 2019 and i'm 17

  • @iamblue8272
    @iamblue8272 Месяц назад

    Would be nice to have a tutorial on how to make this app with a local library

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

    Thanks for sharing!

  • @interestingly05
    @interestingly05 Месяц назад

    How did you get that terminal in VScode with the autocomplete feature and themes?

    • @codewithgionatha
      @codewithgionatha  Месяц назад

      Well the VSCode terminal is using zsh which has plugins for themes and autosuggestions (github.com/zsh-users/zsh-autosuggestions)

  • @switchlyrics.
    @switchlyrics. 6 месяцев назад

    🙏🙏🙏🙏🙏🙏🙏🙏i've been waiting a tutorial like this ,for so long.

  • @AdeoluSegun-fd2dx
    @AdeoluSegun-fd2dx 5 месяцев назад

    Great job. This is lovely.

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

    "Unchaught Error'
    cannot read property 'CAPABILITY_PLAY' of null
    Can you help me please kindly

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

      i had this same error havent solved it yet

  • @IdentyCloudOficial
    @IdentyCloudOficial 7 месяцев назад +2

    We need the same one but for video. ❤

  • @Drop-Code
    @Drop-Code Месяц назад

    Hey friend, I wanted to see how to minimize the control bar to play and pause in the background

  • @k0secha
    @k0secha Месяц назад

    Im working on a PC and using Expo Go on an iphone. I followed your tutorial all the way to where you are installing xcode with the simulator. I'm a little confused, are you saying this project cannot be done on Windows? I didn't see that anywhere before I started working on it so wanted to check. When i run npx expo start it generates a QR code which i was successfully able to open on the iPhone with Expo Go, but I can't use this setup? Thanks in advance.

  • @DavidLucas-ci2fy
    @DavidLucas-ci2fy 2 месяца назад

    Great video man, but I think there is an error that with expo router I also facing that is try to navigate from notification controller to the app, just give an unmatched route. Is there a way to achieve this?

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

    Please make more React Native Projects

  • @musiclive2821
    @musiclive2821 5 месяцев назад +1

    Hello, sir I'm creating a online music player app , but I'm facing a issue that I'm not able to play music in background/while app was minimized and while screen of . How do I do I please help me it is my college project.

    • @codewithgionatha
      @codewithgionatha  5 месяцев назад +1

      Take a look here: rntp.dev/docs/basics/background-mode

  • @Furkan-ce6ww
    @Furkan-ce6ww 15 дней назад

    Which database and backend did we use in this project?

  • @pitchblack5422
    @pitchblack5422 7 месяцев назад +1

    Hi what step did I miss, I tried pressing Yarn create expo -t and the command was not recognized in either my VSC or my CMD. Any tips?

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

      The alternative is "npx create-expo-app --template"
      Btw take a look at Expo installation requirements here: docs.expo.dev/get-started/installation/

    • @pitchblack5422
      @pitchblack5422 7 месяцев назад +2

      @@codewithgionatha thank you so much, it took some trial and error but eventually I figured out how to get it solved. It was a combo of not having nodejs installed, not having yarn installed, and running the Visual Studio Code 'yarn create expo -t' command in powershell instead of command prompt

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

    Hello! Awesome working example! Is it possible for you to polish up the Android version of the App? I ran it with EAS as a development build and it works great, but some elements need formatting on the Android side of the App. Thanks!

  • @opyjoe3407
    @opyjoe3407 23 дня назад

    I can't find the .vscode folder, hence can't open it

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

    Hi, thanks for you tutorial, I am watching the `setUpTrackPLayer` part, and I see the function `useSetupTrackPlayer` using variable `isInitialized` which is redundant because I dont see it is used to check in elsewhere . Would you help share more on this one
    ```
    export function useSetupTrackPlayer({ onLoad }: { onLoad?: () => void }) {
    const isInitialized = useRef(false)
    .....
    ```

  • @Gunner-pj6bm
    @Gunner-pj6bm 7 месяцев назад

    Great job! Thanks

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

    Can I download an app already made? I just need a better music app, not looking to make one.

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

    The amount of configurations for mobile development scares me

  • @ThomasSpellman
    @ThomasSpellman Месяц назад

    Thanks!

  • @varanasi47
    @varanasi47 7 месяцев назад +2

    what vs code theme is that ? looks clean.. keep up the good work , amazing content

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

    Hey can you do a video about creating a design system with RN

  • @acousticmunda6400
    @acousticmunda6400 3 месяца назад

    Nice tutorial bro,,,,,,,,,,,,, just 1 suggestion - You could have used native-wind Ui library for styling

    • @PsychoDude
      @PsychoDude 2 месяца назад +1

      its better he didnt so he lets people choose whatever library they want to use

  • @alanvargas9994
    @alanvargas9994 7 месяцев назад +1

    hello! Good tutorial, I have a problem that I haven't solved for weeks with this library, do you have any idea what it could be? I have found very little information and only from the community, not from its own documentation (react native track player), I am getting this:
    cannot read property 'CAPABILITY_PLAY' of null

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

      It seems to be an issue with Expo.
      In case you're using Expo, I suggest you to upgrade it to Expo SDK 50+ and also update react native track player to its latest version.

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

      Hello, I have the same problem when running it on android emulator. Did you manage to fix it? If so, could you please help me?

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

      @@loch1n hi bro, I have not yet implemented the solution that Gionatha has described in this thread, but it makes sense to try maybe, as he says, it is a version problem. Let’s try and stay informed.

    • @codewithgionatha
      @codewithgionatha  7 месяцев назад +2

      @@alanvargas9994 @loch1n If you're interested I set up a dedicated channel for this project on my Discord server. We can stay in touch there 😄

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

    Great Job @gionatha The next app books app ?

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

    Hello I'm having trouble following the instructions and I don't know how to fix it. I follow allow just like instruction and I am stucked at npx expo run:ios. The cocoapod installation keeps failing. Is it because I am on Mac? Due to that, building process always fail.

  • @emirsalihovic6616
    @emirsalihovic6616 6 месяцев назад +1

    Sir what is the extension that highlighted potential errors in real time?

    • @codewithgionatha
      @codewithgionatha  6 месяцев назад +1

      It’s a Vscode extension, it’s called error lens

    • @emirsalihovic6616
      @emirsalihovic6616 6 месяцев назад +1

      @@codewithgionatha Thank you! 🙏

  • @hungminhphan6095
    @hungminhphan6095 6 месяцев назад +1

    can you tell me the name of the virtual machine creation app

    • @codewithgionatha
      @codewithgionatha  6 месяцев назад

      It’s an iOS simulator. It gets bundled together with Xcode.

  • @AbhishekTR-tb7ze
    @AbhishekTR-tb7ze 5 месяцев назад

    Hey bro! I'm getting the error 'capability_play of null' when I import the TrackPlayer package.

    • @codewithgionatha
      @codewithgionatha  5 месяцев назад +2

      Seem a known issue, take a look here: github.com/doublesymmetry/react-native-track-player/issues/2227

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

    great tutorial 💯

  • @AjaySingh-jz8qx
    @AjaySingh-jz8qx 7 месяцев назад

    Mind blowing🤯🤯🤯

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

    Is this script ready to be uploaded to the Apple Store and Google Store or does it need programming?

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

      It's not. In case you're interested in distributing the app take a look here: docs.expo.dev/distribution/introduction/

  • @ranjithmuthu
    @ranjithmuthu 3 месяца назад

    after page refresh disappears favorites song help me please sir

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

      You might be keeping the state local which might be causing the flushing of state, try making favorite global so that you can see after refresh

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

      @@humbler144 can you help me

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

      @@humbler144 can you help me please

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

    Nice one! 🔥

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

    Hey, i want to create the app using react native cli not expo, how should I go about this

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

      Take a look here: reactnative.dev/docs/getting-started-without-a-framework

  • @كاف-ج7م
    @كاف-ج7م 6 месяцев назад

    Can i play this app in background? Even if i leave the app ?

    • @codewithgionatha
      @codewithgionatha  6 месяцев назад

      Yes, it should keep playing even if you leave the app (at least on IOS).
      Btw you can find more info regarding background mode here: rntp.dev/docs/basics/background-mode

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

    Can you suggest me for what is perquisites to understand this tutorial logically

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

      Html css js. Basic functional programming. Ternary operators those types of things.

  • @zerodegreecoder
    @zerodegreecoder 6 месяцев назад

    thanks dude

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

    Your voice is like Code with Antonio 😅

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

    Can't able to run on Android

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

    Wow Awesome ❤❤❤

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

    What about it working in an android not only the iphone

  • @nicetech2237
    @nicetech2237 3 месяца назад

    Is it only for IOS alone

  • @harry4088
    @harry4088 7 месяцев назад +2

    This is a very good project but having authentication and other functionality like admin panel will be great

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

      I'll try to bring authentication in a future project 😃

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

    Does in work on Android ?

  • @chauquang55
    @chauquang55 6 месяцев назад

    do you use database

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

    I tried building this on Android and it ran into some issues with the build. The same build works on iOS. Any idea which packages might be causing the issue?

    • @codewithgionatha
      @codewithgionatha  6 месяцев назад

      Hi, unfortunately, I focus the development of this project around IOS devices. Maybe we can check together on Discord, to see what the issue might be :)

    • @bhausahebkhamat
      @bhausahebkhamat 6 месяцев назад

      any Luck ?

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

      did it work on android?

  • @getsetalk
    @getsetalk 6 месяцев назад

    Is in this music will play in background

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

    19:31 Is that the XCode emulator?

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

      Correct 👍

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

      @@codewithgionatha Is there any alternatives since I'm macOS 10.15 and don't have an apple development account so I can't access old versions of XCode? :/

  • @ghalitsar2730
    @ghalitsar2730 7 месяцев назад +2

    more react-native on your content pls.. rn nextjs becomes alot and numerous.. but not with react-native cheers

  • @VIJAY-fx4yh
    @VIJAY-fx4yh 7 месяцев назад +1

    Bro Waiting for food delivery app

  • @jithukrishnan5092
    @jithukrishnan5092 6 месяцев назад

    How to i choose android

  • @KietPhan-wo4rb
    @KietPhan-wo4rb 5 месяцев назад

    How to embed ads in a song

  • @TanishqPratap
    @TanishqPratap 7 месяцев назад +1

    Bro upload more react native Content.

  • @Ishu_Grinds
    @Ishu_Grinds 6 месяцев назад

    will it work in android ?
    Great Project

    • @codewithgionatha
      @codewithgionatha  6 месяцев назад

      Hi, thanks 🙏
      I heard some people tried to run it on Android but they encountered some issue along the way 😕

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

      did you finished the project?? did it work on android?

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

      @@nehalpradhan2229 no I started the project On Windows, But It gave Error Which were giving me headache, So i just deleted the project and Never Started Again

  • @SuperYoda7
    @SuperYoda7 7 месяцев назад +2

    what API do you use for the music ?

    • @codewithgionatha
      @codewithgionatha  7 месяцев назад +2

      The service that I used for storing the songs used throughout the video is called audio JukeHost.

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

    Hey is this beginner friendly?

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

      Hey 👋It requires a little bit of knowledge of React and React Native.

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

    Is there any player that supports m2t files!!!!!

  • @tonihaq5576
    @tonihaq5576 7 месяцев назад +1

    support android or no bro ?

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

      I didn't try.
      You can try to run on an android simulator by running: 'npx expo:run android' (however you'd need Android Studio installed on your system)

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

      did it work on android?

  • @MaiAurMikky
    @MaiAurMikky 6 месяцев назад

    Great ❤❤

  • @twezo
    @twezo Месяц назад

    eslint is depreciated. nice. im cooked.

  • @cubedev4838
    @cubedev4838 7 месяцев назад +12

    Please make ecommerce

  • @nickiascerinschi206
    @nickiascerinschi206 7 месяцев назад +1

    If you farming views then focus on SaaS projects.

  • @rusurveillancetaskforce
    @rusurveillancetaskforce Месяц назад

    Before I commit to watching this, can you do everything he does and follow along using Metro instead? I have a raging hate for expo.
    I mean YES that's the point of EXPO it PROVIDES THIS THAT YADDA YADDA what if I want it the harder way, what if I want to setup my own router, or learn how to use a bare filesystem, abstract it away etc.?
    It's like ok don't reinvent the wheel, but this isn't C, this is abstraction layers upon abstraction layers of many technologies, for learning purposes don't use expo Jesus is this so hard.

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

    Code With Antonio don't lie to us please

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

    Missing tests