Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

iOS and Android release versions crash

Abierto
#258 0 comentarios 0 reacciones 0 asignados Ver en GitHub

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

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de margelo/react-native-worklets-core

Todos los issues de margelo/react-native-worklets-core

Issues similares

Más issues de C++

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.