Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

136
Vistas
Can I use a 3rd party React Native library within a cloud function?

I want to do some functionality where my Cloud Function will securely store information it retrieves from firestore into react-native-keychain. My question is I can import the keychain library into my index.js file in my functions folder to use. Such as this:

const keyChain = require("react-native-keychain");

Which gives me this error: enter image description here

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

Cloud Functions run on Google's servers, where no React Native Keychain is available.

If you need the functionality that library provides in your Cloud Functions code, you'll need to look for a different library that provides the functionality in a server-side Node.js environment.

If you need the information from the keychain inside the React Native app to be available to the Cloud Function, you'll need to read it inside your React Native code, and pass it to the Cloud Function when you call it.

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda