Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

200
Views
React Native IAP: getPurchaseHistory () arroja un error si la cuenta de sandbox no se inició sesión previamente

Esto es para iOS. Estoy usando compras dentro de la aplicación en mi aplicación React Native y uso el siguiente código:

 IAP.initConnection() .catch((e) => { throwError(`Error connecting to the in-app purchase store: ${e}`)}) .then(async () => { await IAP.getPurchaseHistory() .catch(e => throwError(`Errors fetching purchase history: ${e}`)) .then(async (receipt) => { validate(receipt) }); });

Si aún no he iniciado sesión en una cuenta de espacio aislado de Apple ID, llamar a IAP.getPurchaseHistory solicita al usuario que inicie sesión. Si lo hago, entonces IAP.getPurchaseHistory() siempre genera un error.

¿Alguien se ha encontrado con esto?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!