Git Product home page Git Product logo

Comments (10)

Yolanda2001820 avatar Yolanda2001820 commented on June 1, 2024

23

from camerawesome.

Yolanda2001820 avatar Yolanda2001820 commented on June 1, 2024

In lines 18 and 19 of the code, "event" is displayed as null, which happened once in debug mode.hope to receive a response. Thank you very much

from camerawesome.

g-apparence avatar g-apparence commented on June 1, 2024

Hi, we will try to find out the reason.

Could you share the content of your plist file?
What is your save configuration and path ?

from camerawesome.

Yolanda2001820 avatar Yolanda2001820 commented on June 1, 2024

Hi, we will try to find out the reason.

Could you share the content of your plist file? What is your save configuration and path ?

I uploaded some pictures, but I'm not sure if you need the above content. I'm sorry, because I'm not sure if I can understand the content required for 'saving configuration and path'. Is path to save captured images?

from camerawesome.

Yolanda2001820 avatar Yolanda2001820 commented on June 1, 2024

info.plist

244

from camerawesome.

Yolanda2001820 avatar Yolanda2001820 commented on June 1, 2024

Save Image Operation
245

from camerawesome.

Yolanda2001820 avatar Yolanda2001820 commented on June 1, 2024

Path generation operation?I'm not sure, I'm sorry
24
2454

from camerawesome.

g-apparence avatar g-apparence commented on June 1, 2024

I think your problem is that you save your photo in a temporary directory.

As the documentation says :

Path to the temporary directory on the device that is not backed up and is suitable for storing caches of downloaded files.

Files in this directory may be cleared at any time. This does not return a new temporary directory. Instead, the caller is responsible for creating (and cleaning up) files or directories within this directory. This directory is scoped to the calling application.

As it mentions this is a temporary folder and you are not supposed to store files there.
This is only for caching and the user may not be able to retrieve them.

You should try to save those in the user library instead.

For iOS:
You can use this
getApplicationDocumentsDirectory();

For Android
You can use this
getExternalStorageDirectory();

from camerawesome.

Yolanda2001820 avatar Yolanda2001820 commented on June 1, 2024

Thank you very much for your reply. I'll try it out

from camerawesome.

g-apparence avatar g-apparence commented on June 1, 2024

Did this solve your issue?

from camerawesome.

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.