Skip to content

joslopgar/expo-spotify

 
 

Repository files navigation

Spotify: UI Clone with React Native / Expo

web demo: Expo Spotify

made with expo supports iOS and Android supports web

follow @calebnance

Table of Contents

Install & Build

First, make sure you have Expo CLI installed: npm install -g expo-cli

Install: yarn or yarn install

Run Project Locally: yarn dev or yarn start

Features

  • Expo SDK 42
  • iOS, Android and PWA (Web App)
  • React Navigation v4
  • PropTypes

Linting

  • run: yarn lint for a list of linting warnings/error in cli
  • prettier and airbnb config
  • make sure you have prettier package installed on your atom/vscode editor
  • then make sure to enable these options (packages → prettier):
    • eslint integration
    • stylelint integration
    • automatic format on save (toggle format on save)
  • be aware of the .prettierignore file

Expo Web

Currently Expo Web support is not production ready, but if you want to see how this project looks on the web as a PWA (Progressive Web App)... using react-native-web and react-dom.

PWA: Expo Spotify looks best on a mobile device, but not bad on desktop!

Dev with Expo Web

  • Remove node_modules if they exist: rm -rf nodes_modules
  • Install/Re-install: yarn
  • Start development: yarn web or expo start --web
  • Build PWA: yarn web-build or expo build:web

a couple manual changes within index.html i found needed to be made so far:

  • to make splash screen work: "mobile-web-app-capable" => "apple-mobile-web-app-capable"
  • status bar transparent: apple-mobile-web-app-status-bar-style="default" => "black-translucent"
  • no white background: add background color within body{background-color: #121212; ...}
  • check output meta: double image meta tags
  • check output js: double/triple js packages

Release Notes

version 0.0.1 (current)

  • upgraded to Expo SDK 42
  • upgraded to Expo SDK 41
  • upgraded to Expo SDK 40
  • upgraded to Expo SDK 39
  • upgraded to Expo SDK 38
  • upgraded to React Navigation v4
  • upgraded to Expo SDK 37
  • upgraded to Expo SDK 36
  • upgraded to Expo SDK 35
  • Expo Web support
  • upgraded to Expo SDK 34
  • upgraded to Expo SDK 33
  • started with React Navigation v3
  • iOS and Android
  • Tab Navigation (stacks created)
    • Home
      • Horizontal Album component
      • Album Screen
        • animation opacity on header
        • scroll sticky of shuffle button
        • current song playing shows in album list view
      • Album More Options (added by @bidah)
        • blur view
        • SafeAreaView example
        • action list with supporting icons
      • Header animation on scroll event
        • animation opacity on iPhoneX notch
        • animation opacity on cog icon
    • Search
      • Sticky search bar (animated width)
      • Playlists sections added (with mock data)
    • Library
      • Menu items from mock data
    • Custom Bar for Music Player added to <BottomTabBar />
  • Modals (bottom to top)
    • Music Player

About

Spotify UI Clone with React Native & Expo || web support => https://expo-spotify.vercel.app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 90.0%
  • HTML 10.0%