You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I have react-native-skia installed and use it anywhere in my Expo app, then it works fine as long as I don't debug JS remotely, but if I do it blows up immediately with the errors shown below. This means that e.g. the react-native-debugger can not be used with projects using react-native-skia.
Version
0.1.141
Steps to reproduce
Create a new Expo project:
npx create-expo-app my-app
Install react-native-skia:
npx expo install @shopify/react-native-skia
Currently creates a project with the following package.json:
import{Canvas,Path}from"@shopify/react-native-skia";import{StatusBar}from"expo-status-bar";import{StyleSheet,Text,View}from"react-native";exportdefaultfunctionApp(){return(<Viewstyle={styles.container}><Text>Open up App.js to start working on your app!</Text><StatusBarstyle="auto"/><Canvasstyle={{height: 400,width: 400}}><Pathpath="M 128 0 L 168 80 L 256 93 L 192 155 L 207 244 L 128 202 L 49 244 L 64 155 L 0 93 L 88 80 L 128 0 Z"color="lightblue"/></Canvas></View>);}conststyles=StyleSheet.create({container: {flex: 1,backgroundColor: "#fff",alignItems: "center",justifyContent: "center",},});
Run app. It works fine when not debugging JS remotely, but blows up right away when debugging JS remotely. You can debug JS remotely by shaking the device to bring up the developer menu in Expo and press "Debug JS remotely".
Snack, code example, screenshot, or link to a repository
See "Steps to reproduce" above.
The text was updated successfully, but these errors were encountered:
Jorundur
changed the title
App crashes when debugging JS remotily with react-native-skia
App crashes when debugging JS remotely with react-native-skia
Aug 25, 2022
Description
If I have react-native-skia installed and use it anywhere in my Expo app, then it works fine as long as I don't debug JS remotely, but if I do it blows up immediately with the errors shown below. This means that e.g. the
react-native-debugger
can not be used with projects usingreact-native-skia
.Version
0.1.141
Steps to reproduce
Create a new Expo project:
npx create-expo-app my-app
Install react-native-skia:
npx expo install @shopify/react-native-skia
Currently creates a project with the following
package.json
:Change
App.js
to the following:Run app. It works fine when not debugging JS remotely, but blows up right away when debugging JS remotely. You can debug JS remotely by shaking the device to bring up the developer menu in Expo and press "Debug JS remotely".
Snack, code example, screenshot, or link to a repository
See "Steps to reproduce" above.
The text was updated successfully, but these errors were encountered: