Migrate the iOS new runtime off the data-binding APIs deprecated in rive-ios 6.28.0
Los mantenedores suelen responder en 1 día
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 68/100
Línea de trabajo
Start with ios/new/RiveReactNativeView.swift and the rive-ios 6.28.0 release notes; trace the current DataBind, viewModelInstance, bindViewModelInstance, and pendingBindInstance paths. Done means the deprecated APIs are no longer used, authored default instances and async rebinding still work for auto and by-name data binding, and the harness passes on both runtimes.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
rive-ios 6.28.0 (release notes) deprecates the concurrency data-binding API that ios/new/RiveReactNativeView.swift is built on. Everything still works on 6.28.0 (bumped in #401; the harness passes on both runtimes, warnings only), but these are slated for removal in a future release:
DataBindandRive(file:artboard:stateMachine:dataBind:fit:)→ pass explicitly bound components toRive(file:artboard:stateMachine:)StateMachine.bindViewModelInstance(_:)→try await stateMachine.bindViewModelInstances(main:globals:), which is asyncRive.viewModelInstance→ create and retain the instance ourselves
Things the migration has to handle:
dataBindauto and by-name must create the authored default instance explicitly, sincegetViewModelInstance()can no longer read it fromRive.- Rebinding becomes async, which affects the dataBind-only change path and
pendingBindInstance. - Views now redraw automatically when bound instances change.
6.28.0 also adds global view models, font binding and blob binding, which we could expose once this is done.
- Lenguaje dominante
- TypeScript
- Estrellas
- 157
- Forks
- 17
- Merge medio
- 1 d 10 h
- PR fusionados (30 d)
- 20
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la 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 rive-app/rive-nitro-react-native
-
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
rive-app/rive-nitro-react-native#424 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
[Android] Fit.Layout content stale after resize on the new backend (surface keeps creation size)Posiblemente ocupada @mfazekas la tomó hace 10 días. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
rive-app/rive-nitro-react-native#418 ·
Los mantenedores suelen responder en 1 día
-
Rive drains battery in the background on AndroidPosiblemente ocupada @mfazekas la tomó hace 12 días. Abiertoandroid bug
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
rive-app/rive-nitro-react-native#413 ·
Los mantenedores suelen responder en 1 día
-
[Android] RiveFonts: loadFont({name}) fails for script fonts on OEM fonts.xml; systemFallback() is not script-aware (tofu for Thai/Hebrew/Arabic/CJK)Posiblemente ocupada @mfazekas la tomó hace 20 días. Abiertoandroid bug
Dificultad 3/5 1-2 días Aptitud para principiantes 65/100
rive-app/rive-nitro-react-native#369 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
enhancement iOS
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
rive-app/rive-nitro-react-native#58 · 7 comentarios ·
Los mantenedores suelen responder en 1 día
Todos los issues de rive-app/rive-nitro-react-native
Issues similares
-
createAI: the ai peer range allows ai@6, which the provider cannot work withPosiblemente ocupada @akhil9tiet la tomó hoy. Abiertobug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 83/100
cloudflare/agents#2690 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
[fullsend] E2E: theme — global-header ignores app.branding.fullLogo (RHDHBUGS-3670)Posiblemente ocupada @fullsend-ai-coder la tomó hoy. Abiertoe2e-failure ready-to-code
Dificultad 1/5 Menos de una hora Aptitud para principiantes 78/100
redhat-developer/rhdh-plugin-export-overlays#4503 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
needs triage 📥
Dificultad 1/5 Menos de una hora Aptitud para principiantes 86/100
ethereum/ethereum-org-website#19601 ·
Los mantenedores suelen responder en 1 día
-
[Bug]: Circular app layout navigation and help icons are shifted upward in the official demoAbiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
cloudscape-design/components#5184 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
agilepathway/label-checker#805 ·
Los mantenedores suelen responder en 1 día