GithubHelp home page GithubHelp logo

sparkinzy / soundredux-native Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fraserxu/soundredux-native

0.0 2.0 0.0 7.45 MB

In an effort to try react-native along with redux

Java 4.76% JavaScript 86.02% Objective-C 9.22%

soundredux-native's Introduction

SoundRedux Native

In an effort to learn es6 and redux, this is SoundRedux, a simple Soundcloud client

I have a blog post sharing my experience Building A Native Soundcloud Android App With React Native And Redux

In an effort to learn es6 and redux, react-native this is SoundRedux Native, a simple Soundcloud native client.

This repo is stolen from the awesome soundredux project by @andrewngu , I've been using it instead of the official Soundclould client for a week.

soundredux-native

What I've learned

  • Having redux as the data layer, it takes no effort to switch the view layer from DOM to react-native
  • Writing CSS with flexbox is easy than normal CSS
  • Building a native module for react-native is simple and straightforword thanks to the effort and nice design from Facebook
  • Soundcloud API is awesome

Currently only focused on Android developement because I don't have an iOS device and it's only fun when your code running on your own device.

The code is still a mess with ES6 + ES5 code mixed together. And I haven't done import all the features from soundredux and some of the code is even not used yet.

Developement

  1. npm install
  2. Check Android Setup
  3. react-native run-android

Feedback, issues, etc. are more than welcome!

TODO

  • InfinteScroll to load more songs
  • To be able to switch genre
  • Clean up code
  • A modal to display song detail like the official client
  • iOS

Notes:

To run it on a real device, bundle the jsfile into the apk by running:

Thanks to my awesome colleague @xeodou who build the native Android player react-native-playermodule on top of ExoPlayer.

soundredux-native's People

Contributors

fraserxu avatar

Watchers

James Cloos avatar Talent Su avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.