Added support for new rn versions#16
Hidden character warning
Conversation
📝 WalkthroughWalkthroughThe pull request replaces imports and mocks for Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 inconclusive)
✅ Passed checks (1 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (1)
🔇 Additional comments (4)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
| "peerDependencies": { | ||
| "react": ">=17.0.2", | ||
| "react-native-device-info": "^10.12.0", | ||
| "@janiscommerce/app-device-info": "^1.2.0", |
There was a problem hiding this comment.
@pablonortiz faltaría agregar app-device-info como devDependency como hablamos en la meet, el resto lo probé y va bien!
LINK DE TICKET:
https://janiscommerce.atlassian.net/browse/APPSRN-446
DESCRIPCIÓN DEL REQUERIMIENTO:
Se requieren realizar ciertos ajustes a la librería para que la misma soporte la actualización de versión de React y React Native de las APPs y, a la vez, nos permita eliminar las flags de --legacy-peer-deps / --force a la hora de tirar un npm i dentro del repo de las APPs.
DESCRIPCIÓN DE LA SOLUCIÓN:
Los ajustes que se hicieron en la librería fueron:
Ajustar las peerDependencies
react: 18.2.0 → >=17.0.2 <19.0.0
react-native: 0.71.5 → >=0.67.5 <0.75.0
Eliminar uso de react-native-device-info
Eliminarlo de dependencies
Implementar app-device-info (nuestra librería)
NIVEL PRUEBAS * ### (Marcar con X)
[X] NIVEL CRITICO, CAMBIOS MAYORES
[ ] NIVEL ALTO, CAMBIOS MODERADOS
[ ] NIVEL MEDIO, CAMBIOS MENORES
[ ] NIVEL BAJO, CAMBIOS NO CRITICOS
CÓMO SE PUEDE PROBAR?
Probar linkeando a una de las tres apps y verificando que además de buildear, las request se hagan correctamente
SCREENSHOTS:
DATOS EXTRA A TENER EN CUENTA:
CHANGELOG:
Summary by CodeRabbit
Chores
Tests