Build apps for web, TVs, desktops, consoles, wearables and more.

Overview

FlexnSDK

Bootstrap, Develop, Release

Build apps for web, TVs, desktops, consoles, wearables and more.

Usage

rnv new --projectTemplate @flexn/template

Getting Started

https://sdk.flexn.org/docs/tutorials/basics/quickstart

Documentation

https://sdk.flexn.org/docs/introduction

Community

https://github.com/flexn-io/flexn/discussions

Contributors

Thanks to all contributors [Contribute].

Development

git clone git clone [email protected]:flexn-io/flexn.git
yarn bootstrap

ensure your VS Code setting TypeScript matches node_modules

"typescript.tsdk": "node_modules/typescript/lib"
Comments
  • TypeError when starting default template on the web platform (-p web)

    TypeError when starting default template on the web platform (-p web)

    I'm investigating this project and I'm loving it so far. Really interested in the focusManager solution you've build.

    Right now I'm trying to run the default example created with rnv new --projectTemplate @flexn/template on the web platform with rnv run -p web.

    Out of the box it fails on my machine with:

    TypeError: (0 , helpers_1.Ratio) is not a function at eval (webpack-internal:///./node_modules/@flexn/sdk/lib/focusManager/constants.js:36:52) at Object../node_modules/@flexn/sdk/lib/focusManager/constants.js (/Users/hlz/Code/apps/flexn/test3/platformBuilds/app_web/.next/server/pages/_app.js:5443:1)

    Please let me know if I need to provide more information.

    opened by hlz 4
  • [AndroidTV] No pictures are loaded on @flexn/template on AndroidTV 10

    [AndroidTV] No pictures are loaded on @flexn/template on AndroidTV 10

    rnv version: 0.36.2-canary.4 flexn template version: 0.17.0 AndroidtTV 10 (not repro on 8, 9, 11)

    How to repro:

    1. Navigate to Carousel screen -> no pictures
    Screenshot 2022-09-12 at 10 41 57 2. Navigate to Details screen -> no pictures Screenshot 2022-09-12 at 10 41 57 Expected: Cat pictures should be visible
    opened by pauliusguzas 3
  • [web] [Regression] Web does not run in new rnv project using flexn/template

    [web] [Regression] Web does not run in new rnv project using flexn/template

    rnv version: 0.36.1-canary.2 flexn template version: 0.16.0

    How to repro:

    1. Create new project using rnv new and select @flexn/template
    2. Do rnv run -p web
    ✔ Executing: npx next dev --port 8080
    
    ready - started server on 0.0.0.0:8080, url: http://localhost:8080
    Found custom dir:/Users/pauliusguzas/Desktop/flexnTemplate/src/pages
    info  - Disabled SWC as replacement for Babel because of custom Babel configuration "babel.config.js" https://nextjs.org/docs/messages/swc-disabled
    info  - automatically enabled Fast Refresh for 1 custom loader
    wait  - compiling...
    error - ./node_modules/react-native-media-query/utils/create-declaration-block.js:1:0
    Module not found: Can't resolve 'react-native-web/dist/exports/StyleSheet/createReactDOMStyle'
    
    Import trace for requested module:
    ./node_modules/react-native-media-query/create-stylesheet/index.web.js
    ./node_modules/react-native-media-query/index.web.js
    ./src/config.tsx
    ./src/pages/_app.tsx
    
    https://nextjs.org/docs/messages/module-not-found
    info  - automatically enabled Fast Refresh for 1 custom loader
    info  - automatically enabled Fast Refresh for 1 custom loader
    info  - Using external babel configuration from /Users/pauliusguzas/Desktop/flexnTemplate/babel.config.js
    info  - automatically enabled Fast Refresh for 1 custom loader
    info  - automatically enabled Fast Refresh for 1 custom loader
    info  - automatically enabled Fast Refresh for 1 custom loader
    info  - automatically enabled Fast Refresh for 1 custom loader
    info  - automatically enabled Fast Refresh for 1 custom loader
    info  - automatically enabled Fast Refresh for 1 custom loader
    info  - automatically enabled Fast Refresh for 1 custom loader
    info  - automatically enabled Fast Refresh for 1 custom loader
    wait  - compiling /_error (client and server)...
    wait  - compiling...
    info  - automatically enabled Fast Refresh for 1 custom loader
    
    opened by pauliusguzas 3
  • [iOS]  Chromecast modal window opens, but it doesn't take all screen on flexn/template

    [iOS] Chromecast modal window opens, but it doesn't take all screen on flexn/template

    rnv version: 0.36.1-canary.2 flexn template version: 0.16.0

    How to repro:

    1. Have app running on iOS
    2. Click on chromecast icon
    3. Observe -> chromecast modal window opens, but it doesn't take all screen

    Expected: chromecast pop up should cover content which is behind

    Screenshot 2022-02-02 at 14 08 20 status:discussion-needed type:bug 
    opened by pauliusguzas 2
  • Chore: add slack pinger when e2e fails

    Chore: add slack pinger when e2e fails

    • Removed gh token reference in actions because it is not needed
    • Fixed harness web e2e script
    • Added slack pinger to e2e tests, was tested and then commented out due to minion issues and harness build issues https://github.com/slackapi/slack-github-action
    opened by pauliusguzas 0
  • feat(Row): Forward ref added for row

    feat(Row): Forward ref added for row

    Allow to refer to the recycler inside the row component in order to control how it scrolls from outside. This might be useful for other things later as well.

    opened by RicardasN 0
  • fix: make harness deploymenys work

    fix: make harness deploymenys work

    Updated compileSdkVersion to 31 on harness and template. Error was only on harness and template android when building on canary scheme. But updated everywhere as I think it will prevent future issues. Added new encrypted data Added decryption scripts and configs

    opened by pauliusguzas 0
  • Fix/tv menu focus

    Fix/tv menu focus

    Fixes the menu getting focused when leaving the detail view (#40) and the carousel screen not focusing when opened.

    https://user-images.githubusercontent.com/9592076/191100020-36605b21-cb8a-452c-9067-867e43121e0e.mp4

    opened by locksten 0
  • fix: tv remote handler failing firetv build

    fix: tv remote handler failing firetv build

    Fixes #24. Tested with flexn template on Android API 22, 28. Harness not tested due to it currently throwing "Super expression must either be null or a function" error.

    opened by locksten 0
  • [macOS] Error in cli

    [macOS] Error in cli "Screen native module hasn't been linked" on flexn/template - the app works without any issues

    rnv version: 0.36.1-canary.2 flexn template version: 0.16.0

    How to repro:

    1. Create new project using rnv new and select @flexn/template
    2. Do rnv run -p macos
      [Fri Feb 11 2022 12:11:22.314]  BUNDLE  ./index.js ░░░░░░░░░░░░░░░░ 0.0% (1/1
    [Fri Feb 11 2022 12:11:22.314]  BUNDLE  ./index.js
    
    [Fri Feb 11 2022 12:11:25.899]  ERROR    Screen native module hasn't been linked. Please check the react-native-screens README for more details
    [Fri Feb 11 2022 12:11:25.900]  LOG      Running "App" with {"rootTag":1,"initialProps":{}}
    [Fri Feb 11 2022 12:11:25.901]  WARN     Require cycle: node_modules/@flexn/sdk/lib/focusManager/core.js -> node_modules/@flexn/sdk/lib/focusManager/logger.js -> node_modules/@flexn/sdk/lib/focusManager/core.js
    
    Require cycles are allowed, but can result in uninitialized values. Consider refactoring to remove the need for a cycle.
    App
    RCTView
    View
    RCTView
    View
    AppContainer@http://localhost:8086/index.bundle?platform=ios:74256:78
    
    opened by pauliusguzas 0
  • [tvOS, ATV, fireTV] [Regression] Modal screen focus issues on flexn/template

    [tvOS, ATV, fireTV] [Regression] Modal screen focus issues on flexn/template

    rnv version: 0.36.1-canary.2 flexn template version: 0.16.0

    • [ ] After clicking down when focused on "X" focus is lost
    1. Open My Modal
    2. Click down -> focus is lost

    Expected: nothing should happen

    • [ ] After clicking left when focused on "X" focus is lost
    1. Open My Modal
    2. Click left -> focus is lost

    Expected: nothing should happen

    opened by pauliusguzas 0
  • Apple TV remote control swipes not working in list and rows (recycler)

    Apple TV remote control swipes not working in list and rows (recycler)

    Hi, we're currently having issues with swipes not being recognised on Apple TV. When loading the default example Flexn app straight on an Apple TV and navigating to the carousels page one can't swipe left and right in the rows. When using a bluetooth keyboard it works fine with left and right keys. Also, the simulator works fine with left and right keys.

    We've tracked down the issue being related to the direction-checking code in sdk/lib/focusManager/model/row.js with checks on left, right and swipeLeft and swipeRight need to be changed to DIRECTION_xxx constants.

    But that only partially solves our problem. When swiping right in a row and then swipe down the focusManager keeps on swiping right. We haven't been able to pin down the issue so it would be nice if some of the authors could take a look at. It is definitely a breaking issue on Apple TV when using a real remote.

    opened by hlz 5
  • Storybook integration Issue

    Storybook integration Issue

    Hello Guys, and thank you for the amazing contribution and support. I have been trying to add a storybook to the project, insisting not to eject the platforms with no luck. Do you have any advice on how to make it possible easily?

    opened by shashankdev-ttn 0
  • chore: update harness and template titles

    chore: update harness and template titles

    • Moved base template app titles to more abstracted area
    • Changed template app titles to correct ones
    • Added production app title to Harness for the consistency (can remove as probably won't be used)
    opened by pauliusguzas 0
  • FocusManager: How to handle screen height change

    FocusManager: How to handle screen height change

    Hello,

    We are playing around with your (promising) SDK for ReactNative. 

    But we are stuck at a certain point. We have a Screen, when focusing on the Tile, a View will be hidden and the tiles will go up. But by removing this, it doesn't recalculate the focus locations.

    Do you have any ideas on how we can best approach this?

    https://user-images.githubusercontent.com/5848806/196452385-692c1900-7d0f-4838-a19e-63cf1ce19ae9.mp4

    opened by RobertArissen 4
  • flexn/template e2e tests fail on tvOS

    flexn/template e2e tests fail on tvOS

    garybox and flexn/template versions: 0.17.0-alpha.10

    For whatever reason await FlexnRunner.expectToBeDisplayedById('template-carousels-screen-container'); returns not displayed whereas in the second test on the same screen it returns displayed Screenshot 2022-10-07 at 13 06 47

    opened by pauliusguzas 1
Releases(v0.17.0)
  • v0.17.0(Aug 22, 2022)

    What's Changed

    Other Changes

    • Refactor recycler focus finder by @aurimasmi in https://github.com/flexn-io/flexn/pull/34

    Full Changelog: https://github.com/flexn-io/flexn/compare/v0.16.0...v0.17.0

    Source code(tar.gz)
    Source code(zip)
  • v0.16.0(Jun 20, 2022)

    What's Changed

    Other Changes

    • chore:vercel deployments by @pauliusguzas in https://github.com/flexn-io/flexn/pull/21
    • Feat/experimental next focus finder by @aurimasmi in https://github.com/flexn-io/flexn/pull/20

    Full Changelog: https://github.com/flexn-io/flexn/compare/v0.15.1...v0.16.0

    Source code(tar.gz)
    Source code(zip)
  • v0.15.0(Jun 5, 2022)

    What's Changed

    Other Changes

    • [Feat] LNG components to sdk + harness app test cases by @aurimasmi in https://github.com/flexn-io/flexn/pull/13
    • Feat/native tv comps by @aurimasmi in https://github.com/flexn-io/flexn/pull/15
    • add composite components to template by @aurimasmi in https://github.com/flexn-io/flexn/pull/16
    • chore(graybox): add macos scroll feature by @pauliusguzas in https://github.com/flexn-io/flexn/pull/8
    • Clasify by @aurimasmi in https://github.com/flexn-io/flexn/pull/17
    • Clasify2 by @aurimasmi in https://github.com/flexn-io/flexn/pull/19

    Full Changelog: https://github.com/flexn-io/flexn/compare/v0.13.2...v0.15.0

    Source code(tar.gz)
    Source code(zip)
  • 0.14.0(May 30, 2022)

    What's Changed

    Other Changes

    • [Feat] LNG components to sdk + harness app test cases by @aurimasmi in https://github.com/flexn-io/flexn/pull/13
    • Feat/native tv comps by @aurimasmi in https://github.com/flexn-io/flexn/pull/15
    • add composite components to template by @aurimasmi in https://github.com/flexn-io/flexn/pull/16

    Full Changelog: https://github.com/flexn-io/flexn/compare/v0.13.2...0.14.0

    Source code(tar.gz)
    Source code(zip)
Owner
Flexn
Bootstrap, Develop, Release
Flexn
Hemsida för personer i Sverige som kan och vill erbjuda boende till människor på flykt

Getting Started with Create React App This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: np

null 4 May 3, 2022
Kurs-repo för kursen Webbserver och Databaser

Webbserver och databaser This repository is meant for CME students to access exercises and codealongs that happen throughout the course. I hope you wi

null 14 Jan 3, 2023
Sample apps showing how to build music and video apps for Xbox using a WebView.

description languages name page_type products urlFragment Sample showing how to build music and video apps using primarily web technologies for Xbox.

Microsoft 11 Dec 14, 2022
Build type-safe web apps with PureScript.

PUX Build type-safe web applications with PureScript. Documentation | Examples | Chat Pux is a PureScript library for building web applications. Inter

Alex Mingoia 567 Jun 18, 2022
A curated collection of resources for learning to build Progressive Web Apps 💪

PWA Resources A curated collection of resources for learning to build Progressive Web Apps ?? Curated and maintained with ♥ by the folks at Shareup. W

Shareup 30 Aug 31, 2022
Open apps directly in GNOME Software by clicking Install from Flathub and apps.gnome.

Flatline Open apps directly in GNOME Software by clicking Install from Flathub and apps.gnome. Load the extension in Firefox Clone the repository Open

Cleo Menezes Jr. 43 Nov 7, 2022
why make apps to increase focus -- when you can make apps to reduce focus

impossifocus ?? What is this? ImpossiFocus will measure focus by reading your brainwaves -- and if you're in the zone, it'll ensure that changes with

Aleem Rehmtulla 10 Nov 30, 2022
Remix enables you to build fantastic user experiences for the web and feel happy with the code that got you there. In this workshop, we'll look at some more advanced use cases when building Remix applications.

?? Advanced Remix Workshop Remix enables you to build fantastic user experiences for the web and feel happy with the code that got you there. In this

Frontend Masters 167 Dec 9, 2022
Venni backend - The backend of the Venni client apps implementing the credit card payments, matching algorithms, bank transfers, trip rating system, and more.

Cloud Functions Description This repository contains the cloud functions used in the Firebase backend of the Venni apps. Local Development Setup For t

Abrantes 1 Jan 3, 2022
Flutter makes it easy and fast to build beautiful apps for mobile and beyond

Flutter is Google's SDK for crafting beautiful, fast user experiences for mobile, web, and desktop from a single codebase. Flutter works with existing

Flutter 148.1k Jan 7, 2023
This repository contains an Advanced Zoom Apps Sample. It should serve as a starting point for you to build and test your own Zoom App in development.

Advanced Zoom Apps Sample Advanced Sample covers most complex scenarios that you might be needed in apps. App has reference implementation for: Authen

Zoom 11 Dec 17, 2022
Secure-electron-template - The best way to build Electron apps with security in mind.

secure-electron-template A current electron app template with the most popular frameworks, designed and built with security in mind. (If you are curio

reZach 1.4k Dec 29, 2022
The world of cryptocurrencies is diverse and becoming more and more popular

We are providing an user with a simple learning resource for an intro into the CryptoCurrency World. Along with a community grown message board to assist with further learning.

null 3 Jun 20, 2022
Chat app using Azure Web PubSub, Static Web Apps and other Azure services

Chatr - Azure Web PubSub Sample App This is a demonstration & sample application designed to be a simple multi-user web based chat system. It provides

Ben Coleman 55 Dec 31, 2022
For this workshop, we're going to learn more about cloud computing by exploring how to use Pulumi to build, configure, and deploy a real-life, modern application using Docker

For this workshop, we're going to learn more about cloud computing by exploring how to use Pulumi to build, configure, and deploy a real-life, modern application using Docker. We will create a frontend, a backend, and a database to deploy the Pulumipus Boba Tea Shop. Along the way, we'll learn more about how Pulumi works.

Kat Cosgrove 9 Dec 29, 2022
In this project I have build a To Do List app that you can list, add, delete and manage your daily tasks better. Build with HTML, CSS, JS, ES6, JSON

ToDo List This project is build by javascript web packages which can add and remove daily tasks. Built With Html Css Javascript Sublime Text Author ??

Sahar Saba Amiri 7 Oct 25, 2022
Easiest way to build documentation for your project. No config or build required, hosted on @netlify.

Hyperdocs is the simplest way you can create documentation for your project. It blends the best of all the other documentation tools in one. Hyperdocs

Lalit 76 Dec 22, 2022
Cross platform UI controls for progressive web and hybrid apps (plain JS, jQuery, Angular and React)

Mobiscroll What is Mobiscroll? Mobiscroll is a UI library for progressive webapps and hybrid development. Created with a lot of attention to usability

Mobiscroll 1.5k Dec 31, 2022