Cody Blue
Posts: 0
Joined: Sun Aug 25, 2013 2:11 am

Handling low memory warnings

I am posting this in the hope to get feedback on provisions Appery might have to allow receiving and gracefully handling low memory warnings on device (my interest is iOS at present).

Its probably quite vital for apps developed with Appery and targeted for iOS launch (Apple recommendation on low memory warnings below).

https://developer.apple.com/library/i...

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Handling low memory warnings

Hello!

Please clarify where do you get those warnings. If it's in xCode, post some screenshots. Also specify your libraries version.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Handling low memory warnings

I've got the information from iOS developer that those warnings (if these are warnings I think about) caused by 3rd party plugins added in Appery.io project by default http://devcenter.appery.io/documentat... and there is nothing we can do about fixing it. Besides that it's warnings, not errors and app are accepted by Apple with these kind of warnings.

Cody Blue
Posts: 0
Joined: Sun Aug 25, 2013 2:11 am

Handling low memory warnings

Maryna,

Thanks for the feedback. These are low memory warnings within Xcode. I am not asking for anything to be fixed. Low memory warnings are bound to happen for a variety of reasons including memory scarcity and lots of data/apps on device. Apple expects these warnings to be handled gracefully. You can check Observe low memory warning section in the link I forwarded above.

My question is do you expose these within Appery for suitable responses to be taken?

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Handling low memory warnings

Hello!

Appery.io app itself doesn't create dynamically any additional objects, they could be added by iOS system or plugins. When there are low memory warnings from the system, we clear response cache the way it's done in template which is provided along with with Cordova.

Cody Blue
Posts: 0
Joined: Sun Aug 25, 2013 2:11 am

Handling low memory warnings

Thanks - fair enough. Can you provide bit more information or documentation or link to this response cache clearance and cordova template you've alluded to here: just so me (and potentially others) here are more aware.

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Handling low memory warnings

Hello Cody,

This link should be useful for you:
https://github.com/apache/cordova-ios
This link is about NSURLCache - https://developer.apple.com/library/i...

Return to “Issues”