Code Monkey home page Code Monkey logo

Comments (4)

mauriciopasquier avatar mauriciopasquier commented on August 30, 2024

Parece que está complicado resetear el state con redux-persist y que la librería recomendada para hacer (redux-reset) no anda con la última versión de redux-persist. Podríamos probar reseteando la app entera
pero si ya vamos a usar una librería para resetear la app, podemos usar la librería para cerrarla bien y listo...

from proccorn.

nicolaslarrea avatar nicolaslarrea commented on August 30, 2024

En la rama exit_app hay una potencial solución a esto. Pero para que funcione hay que ejectar la app.
Una vez ejectada, para emular la app hay que hacer mas pasos.

1- En el root del proyecto correr "expo eject" y elegir la opción que dice ExpoKit
2- linkear la librería react-native: "link react-native-exit-app"
3- Con el servidor de expo corriendo, hacer en la nueva carpeta android "./gradlew installDevKernelDebug"

Dejaría esta rama con los cambios, y solo la mergería de ser necesario para armar los buils. Por ahora aunque soluciona el tema del botón final, complica el proceso de trabajo.

from proccorn.

mauriciopasquier avatar mauriciopasquier commented on August 30, 2024

Oka

from proccorn.

nicolaslarrea avatar nicolaslarrea commented on August 30, 2024

Al haber ejectado la App de expo, ya no presenta los problemas que tenía antes para usar está librería.
El funcionamiento está actualmente implementado.

from proccorn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.