iOS and Android release versions crash
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 30/100
- Tipo de issue
- Error
- Claridad
- Necesita aclaración
- Estado de actividad
- Estancado
- Stack tecnológico
- javascript, react-native
- Área
- mobile
Línea de trabajo
Start with the reported babel.config.js plugins and the worklet function shown in the issue, then reproduce the failure in an iOS or Android release build using React Native 0.78. Check why the assembled function lacks the expected worklet properties; done means the release build assembles and the function executes without the reported error.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
iOS and Android release versions crash when assembling the component where the library is being imported. Does anyone know of alternative libraries for executing JS functions outside the main thread, or if the maintainers are solving this problem?
react native 0.78
latest lib version
bebel.config
module.exports = {
presets: ['module:@react-native/babel-preset'],
plugins: ['react-native-reanimated/plugin',"react-native-worklets-core/plugin"]
};
function
const uploadFotosWorklet = worklet(async (fotos, props) => {
'worklet';
/// my code bellow working in dev mode
});
error log
Error: The function "fotosIOSJs1" is not a Worklet!
- Make sure the function "fotosIOSJs1" is decorated with the 'worklet' directive!
- Make sure react-native-worklets-core is installed properly!
- Make sure to add the react-native-worklets-core babel plugin to your babel.config.js!
- Make sure that no other plugin overrides the react-native-worklets-core babel plugin!
Expected "fotosIOSJs1" to contain [__closure, __initData, __workletHash], but "fotosIOSJs1" only has these properties: [__closure, __workletHash, __initData]
- Lenguaje dominante
- C++
- Estrellas
- 791
- Forks
- 65
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de margelo/react-native-worklets-core
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
margelo/react-native-worklets-core#271 · 1 comentario ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
margelo/react-native-worklets-core#269 · 2 reacciones ·
-
Unable to download JS bundle Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
margelo/react-native-worklets-core#268 · 2 comentarios ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 72/100
margelo/react-native-worklets-core#267 · 1 comentario · 1 reacción ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
margelo/react-native-worklets-core#266 · 1 comentario · 2 reacciones ·
Todos los issues de margelo/react-native-worklets-core
Issues similares
-
[CI] Nightly Clang build broken: structured binding captured in a lambda in FileDataSource.cpp Abiertobug build
Dificultad 1/5 Menos de una hora Aptitud para principiantes 91/100
facebookincubator/velox#19194 ·
-
JIT-compiled number -> Decimal conversion silently overflows instead of raising DECIMAL_OVERFLOW Abiertofuzz
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
ClickHouse/ClickHouse#122114 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
-
module/agent platform/macos type/bug/regression
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
-
enhancement PyCDE
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100