Comments (1)
Hi! 👋
A bit late, but here is a way to do lock the screen orientation.
app.json
is not supported in Snack, however you can use the Screen Orientation API.
This Snack demonstrates how to lock your app in Landscape mode:
https://snack.expo.io/ED!9T_xtA
from snack-web.
Related Issues (20)
- Embedding does not work HOT 1
- Using TypeORM in Snack makes Snack run out of memory in Chrome HOT 3
- Import Git Respository HOT 1
- Request failed with status 403: undefined
- Unable to resolve module 'module://fbjs/lib/areEqual.js' on snack HOT 1
- Custom fonts are not loaded HOT 3
- Modal not working as expected on Web HOT 2
- terser compress the code and breaks it HOT 1
- Request failed with status 403 HOT 1
- can't import v36 expo? HOT 1
- Unable to import reanimated HOT 3
- No examples from React navigation docs working on Snack - Attempted to assign to readonly property HOT 6
- npm package imports with path not working HOT 1
- License File HOT 2
- web-player static script fetch failed (local cloned) HOT 2
- React error 130 is a nightmare to debug HOT 2
- Save button lights back up without user action right after a save HOT 1
- Importing repository from GitHub uses incorrect SDK version HOT 3
- I can not see web preview HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from snack-web.