Git Product home page Git Product logo

wouterds / react-native-tv-example Goto Github PK

View Code? Open in Web Editor NEW
56.0 4.0 15.0 5.56 MB

React Native app that compiles for iOS, Android, tvOS & AndroidTV

License: MIT License

JavaScript 1.31% Ruby 1.59% Starlark 0.41% Java 11.18% Objective-C 1.63% TypeScript 74.24% Makefile 1.03% C++ 4.76% Objective-C++ 3.86%
android androidtv androidtvleanback appletv example-project ios react react-native tvos typescript

react-native-tv-example's Introduction

react-native-tv-example

code-review

react-native-tv-example

Setup

# switch node version
nvm install

# install node dependencies
yarn

# switch ruby version
rbenv install --skip-existing

# install ruby dependencies
bundle install

# install iOS dependencies
yarn pods

# .env
cp .env.example .env

Running

# starting metro bundler for debug
yarn start

# ios debug
yarn ios

# ios release
yarn ios:release

# tvos debug
yarn tvos

# tvos release
yarn tvos:release

# android (TV) debug
yarn android

# android (TV) release
yarn android:release

react-native-tv-example's People

Contributors

wouterds avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

react-native-tv-example's Issues

New Architecture Support

Currently, the package react-native-safe-area-context seems to be blocking the use of RN "new architeture" in this project.

This library currently has experimental support for the new react-native architecture. Note that there will be breaking changes and only the latest version of react-native will be supported. You will need to be on 4.4.0 and react-native 0.70+.

Ref: https://github.com/th3rdwave/react-native-safe-area-context#new-architecture-support

However, the latest version of react-native-tvos is using [email protected].

Ref: https://github.com/react-native-tvos/react-native-tvos/blob/tvos-v0.69.6/package.json

Just thought I'd share this observation here, in case anyone considers trying RN "new architeture" in this project.

compilation failure in the RCT-Folly-tvOS target

  1. Run yarn tvos

The following build commands failed:
CompileC /Users/justinkek/Library/Developer/Xcode/DerivedData/Example-fhzwkuigpgqcomfvkyrpbelbdkyv/Build/Intermediates.noindex/Pods.build/Debug-appletvsimulator/RCT-Folly-tvOS.build/Objects-normal/x86_64/json.o /Users/justinkek/Desktop/Repositories/_temp/react-native-tv-example/ios/Pods/RCT-Folly/folly/json.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'RCT-Folly-tvOS' from project 'Pods')

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.