expo

ApolloClient from apollo-boost attemped to assign to readonly property

主宰稳场 提交于 2021-02-10 03:09:07
问题 I'm working with react-native, and trying to load Apollo from apollo-boost. When I attempt to import the client, I get the error message "Attempted to assign to readonly property." I'm not sure how to work around this, and it seems from the stack trace that it's in the apollo-boost package. Anybody know how I can work around this? edit: Adding picture and details. I'm getting this when I try to load the app through Expo. Right when it starts, I get this. The first file in my app the stack

ApolloClient from apollo-boost attemped to assign to readonly property

六眼飞鱼酱① 提交于 2021-02-10 03:09:00
问题 I'm working with react-native, and trying to load Apollo from apollo-boost. When I attempt to import the client, I get the error message "Attempted to assign to readonly property." I'm not sure how to work around this, and it seems from the stack trace that it's in the apollo-boost package. Anybody know how I can work around this? edit: Adding picture and details. I'm getting this when I try to load the app through Expo. Right when it starts, I get this. The first file in my app the stack

ApolloClient from apollo-boost attemped to assign to readonly property

非 Y 不嫁゛ 提交于 2021-02-10 03:07:32
问题 I'm working with react-native, and trying to load Apollo from apollo-boost. When I attempt to import the client, I get the error message "Attempted to assign to readonly property." I'm not sure how to work around this, and it seems from the stack trace that it's in the apollo-boost package. Anybody know how I can work around this? edit: Adding picture and details. I'm getting this when I try to load the app through Expo. Right when it starts, I get this. The first file in my app the stack

Running Expo in development offline

 ̄綄美尐妖づ 提交于 2021-02-08 20:47:34
问题 I looked over the docs, but cannot find a way to run Expo completely offline. I'm frequently in an area without a stable connection and this makes it exceptionally difficult to maintain a proper work flow. I would have thought that exp start --dev --lan would enable offline development, but my expo client still fails on inability to connect to the expo servers. Is there a truly offline mode for expo? 回答1: With the latest version of Expo (v32) you can run offline by using the following command

Expo : Invalid sdkVersion “32.0.0”

筅森魡賤 提交于 2021-02-08 15:14:38
问题 while trying to running react-native app according to installation guide using expo configuration i caught this error ? Error: Invalid sdkVersion. Valid options are 10.0.0, 11.0.0, 12.0.0, 13.0.0, 14.0.0, 15.0.0, 16.0.0, 17.0.0, 18.0.0, 19.0.0, 20.0.0, 21.0.0, 22.0.0, 23.0.0, 24.0.0, 25.0.0, 26.0.0, 27.0.0, 28.0.0, 29.0.0, 30.0.0, 31.0.0, 7.0.0, 8.0.0, 9.0.0 this is my expo config in app.json : "expo": { "name": "expo_demoproject2", "slug": "expo_demoproject2", "privacy": "public",

Expo : Invalid sdkVersion “32.0.0”

一世执手 提交于 2021-02-08 15:13:20
问题 while trying to running react-native app according to installation guide using expo configuration i caught this error ? Error: Invalid sdkVersion. Valid options are 10.0.0, 11.0.0, 12.0.0, 13.0.0, 14.0.0, 15.0.0, 16.0.0, 17.0.0, 18.0.0, 19.0.0, 20.0.0, 21.0.0, 22.0.0, 23.0.0, 24.0.0, 25.0.0, 26.0.0, 27.0.0, 28.0.0, 29.0.0, 30.0.0, 31.0.0, 7.0.0, 8.0.0, 9.0.0 this is my expo config in app.json : "expo": { "name": "expo_demoproject2", "slug": "expo_demoproject2", "privacy": "public",

“You require appropriate loaders”, Using react native and expo. App fails to compile on the web, but runs on android

喜夏-厌秋 提交于 2021-02-08 13:27:09
问题 I'm using react native expo. The app works fine on android, but when run on the web gets a compilation error. It was working fine in before, but I suspect this started after installing some new package. /ReactNativeFrontend/node_modules/@codler/react-native-keyboard-aware-scroll-view/lib/KeyboardAwareHOC.js 13:12 Module parse failed: Unexpected token (13:12) You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https:/

Expo - reduce PDF filesize on iOS devices

你说的曾经没有我的故事 提交于 2021-02-08 13:24:06
问题 I'm currently creating an A4 PDF within my Expo-App, using the "expo-print" API (printtofileasync). The PDF includes images (photos taken from the device) and some text. I've set the PDF size to 595 width, 842 height (A4 dimensions). Unfortunately the size of the PDF is too large for my requirements (1,9MB with only 1 image). I was able to reduce the PDF size on Android by decreasing the image size, but that does not work on iOS. I have the suspicion that on iOS Expo is simply "making

Image upload to s3 does not render

╄→尐↘猪︶ㄣ 提交于 2021-02-08 10:00:38
问题 I am using Expo Image Picker to send a cropped image to s3. The file is being uploaded, but it does not render as an image as its not recognised as one. If I took the blob data and use it in a base64 to image encoder I get the image, so it must be mime or encoding based, here is what I have. I invoke the Expo Image Picker with; let pickerResult = await ImagePicker.launchImageLibraryAsync({ allowsEditing: true, aspect: [1, 1], base64: true, exif: false, }); The params I use to create the

Image upload to s3 does not render

那年仲夏 提交于 2021-02-08 09:59:10
问题 I am using Expo Image Picker to send a cropped image to s3. The file is being uploaded, but it does not render as an image as its not recognised as one. If I took the blob data and use it in a base64 to image encoder I get the image, so it must be mime or encoding based, here is what I have. I invoke the Expo Image Picker with; let pickerResult = await ImagePicker.launchImageLibraryAsync({ allowsEditing: true, aspect: [1, 1], base64: true, exif: false, }); The params I use to create the