expo / examples Goto Github PK
View Code? Open in Web Editor NEWExample projects that demonstrate how to use Expo APIs and integrate Expo with other popular tools
Example projects that demonstrate how to use Expo APIs and integrate Expo with other popular tools
I got the above error while trying this example: https://github.com/expo/examples/tree/master/with-webbrowser-redirect
It occured when trying to redirect from the browser to the app.
I used Android emulator (Nexus 6).
Is this an error or am I missing something?
Move from https://github.com/expo/sqlite-example
Example + Docs for usage with react-native-gifted-chat https://github.com/FaridSafi/react-native-gifted-chat
We cannot unregister linking event listener immediately after resolving of openBrowserAsync
promise. On Android, this promise resolves immediately, leaving no one to listen for issues.
Moreover, WebBrowser
does not support dismissBrowser
on Android.
Please refer to discussion in this issue.
When I test the with-webbrowser-redirect example, the app is restarted after a link click instead of redirecting and calling the Linking.addEventListener. Can someone confirm this behaviour? And is there another way to redirect to your app?
Android: 4.4.2
Create an example of using https://nativebase.io/ with expo
Example + Docs for deployment to Github Pages https://docs.expo.io/versions/latest/guides/deploying-websites/#github-pages
Universal styled components example https://www.styled-components.com/
Using the aws amplify auth for mobile mode works well but for the web mode shows this error: Can’t find AmplifyTheme variable
This is the code (comes from the official website)
import { withAuthenticator } from 'aws-amplify-react-native';
import Amplify from 'aws-amplify';
// Get the aws resources configuration parameters
import awsconfig from './aws-exports'; // if you are using Amplify CLI
Amplify.configure(awsconfig);
// ...
export default withAuthenticator(App);
Thanks in advance!
Hi folks, great to things working on a codesandbox, vurrent version seems to be failing with this error,
node_modules/react-native-gesture-handler/DrawerLayout.js: Support for the experimental syntax 'exportDefaultFrom' isn't currently enabled (30:8):
28 | const SETTLING = 'Settling';
29 |
30 | export type PropType = {
| ^
31 | children: any,
32 | drawerBackgroundColor?: string,
33 | drawerPosition: 'left' | 'right',
Add @babel/plugin-proposal-export-default-from (https://git.io/vb4yH) to the 'plugins' section of your Babel config to enable transformation.
28 | const SETTLING = 'Settling';
29 |
30 | export type PropType = {
| ^
31 | children: any,
32 | drawerBackgroundColor?: string,
33 | drawerPosition: 'left' | 'right',
Related #23
Hi,
This backend code for automatic redirection works well when this is the only html page used. However if I have redirected to this page from another page then the automatic redirection doesnt work. However manually clicking on the a href links back to the app still works. Have observed this on Android.
Need some urgent help with this. Any thoughts?
As already mentioned in the original Gatsby/Expo support, the production build fails (slorber/gatsby-plugin-react-native-web#14)
I've tried to run yarn gatsby build
on the with-gatsby
example and it also fails.
Trying to understand what might be the problem currently but it looks like the final webpack configuration does not transpile correctly node_modules libs, only when in production mode.
Hello,
Does this library allow me to add an event in the agenda, or I should write the code myself?
Thank you
Hey Brent!
I am having issues with the redirect url.
I am using google cloud functions to make a redirect url.
After success login, I am redirected to the enpoint where I am getting "Error: Not-Found".
I am curious if the is becouse of my redirect url to expo host?
I am not sure if it is the right format.
I am colling the url like that 'const RedirectURI = 'https://us-central1-coffee-cloud-mobile-app.cloudfunctions.net/facebookRedirect/facebook';'
my cloud function:
const app = require('express')();
const cors = require("cors")
app.use(cors({ origin: true }))
app.get('/redirect', (req, res) => {
let qs = req._parsedUrl.query;
res.redirect('exp://exp.host/@ryszardrzpa/coffeecloud/+redirect/?' + qs);
});
app.get('/facebook', (req, res) => {
res.sendFile('facebook.html', { root: __dirname });
});
module.exports = app;
Also if the app is build as stand alone app and push to the app store, will exp://exp.host/@ryszardrzpa/coffeecloud
be valid redirect url?
Thanks,
Ryszard
why https requires, is it mandatory, is there any way i can use http ?
i was testing socket.io on localhost, works on https, but http
// works on https : const socket = client.connect('https://socket-io-chat.now.sh/');
const socket = client.connect('http://localhost:8080');
console.log('connecting...')
console.log('...')
console.log('...')
socket.on('news', function (data) {
console.log('connected');
socket.emit('my other event', {
my: 'data'
});
});
socket.on('connect', function (socket) {
console.log('Connected!');
});
Hi,
I'm trying to setup expo with electron.
I've followed this : https://docs.expo.io/versions/latest/guides/using-electron/.
But it won't start due to :
┏ Renderer -------------------
Error: Cannot find entry file index.ts (or main.ts, or app.ts, or index.js, or main.js, or app.js)
at computeEntryFile (/home/x/Clones/test/node_modules/electron-webpack/src/main.ts:389:11)
at WebpackConfigurator.configure (/home/x/Clones/test/node_modules/electron-webpack/src/main.ts:222:29)
at configure (/home/x/Clones/test/node_modules/electron-webpack/src/main.ts:376:10)
┗ ----------------------------
I've tried to start your example, without success.
Even tho I've fresh clone, yarn install and followed this README.md.
I know I could workaround it by adding a index.js but from the documentation it's suppose to find the App.js by its own.
Any idea?
Please can i render Hours in the agenda ?
https://github.com/expo/examples/blob/master/with-victory-native/App.js
Imports VictoryLine then ->
// Line 42: VictoryLine instead of VictoryBar
<VictoryLine data={data} x="quarter" y="earnings" />
Seems that Camera
from the expo-camera
module is not correctly imported. This project works if I remove this dependency from the App.js
C:/Users/charl/Downloads/web-examples-master/react-native-init/node_modules/expo-camera/build/Camera.js 169:16
Module parse failed: Unexpected token (169:16)
You may need an appropriate loader to handle this file type.
| const onBarCodeScanned = this._onObjectDetected(this.props.onBarCodeScanned);
| const onFacesDetected = this._onObjectDetected(this.props.onFacesDetected);
> return (<ExponentCamera {...nativeProps} ref={this._setReference} onCameraReady={this._onCameraReady} onMountError={this._onMountError} onBarCodeScanned={onBarCodeScanned} onFacesDetected={onFacesDetected} onPictureSaved={_onPictureSaved}/>);
| }
| }
Move from https://github.com/expo/auth0-example
Would be nice if you could publish an update to this app so I don't need to clone it :)
https://expo.io/@community/with-facebook-auth
Example and guide for using https://www.cypress.io/ with expo web
https://github.com/expo/examples/tree/master/with-redux shows package*.json
updated 9 days ago, but yarn.lock
updated 9 months ago.
I'm no expert, so I would love to know that I'm wrong in thinking that it should be deleted, 'cause that means I get to learn something.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.