Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70429

Memory warning detection

$
0
0

@pliablepixels wrote:

Hi, is there a way for my app to detect memory warnings?

I have written a home security app - and people can add multiple cameras. Depending on their phone memory and camera resolution, memory can eat up soon. I'd like to be able to trap this and issue a warning if the OS triggers a memory warning.

For example, if I detect memory warnings, I will force reduce fps, force image scale down on the server side and possibly after that # of cameras. Much better than the app crashing if someone configures 40 cameras @ 1280x960 !

Is this possible?

thanks

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70429

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>