I have an iOS application built using Phonegap Build 2.9, using plugins supported by PhoneGap Build. It has been working flawlessly in the past few months with iOS 6.1.x.
Now with iOS 7, my application crashes after several minutes of use with the "low virtual memory" error. I have not changed a single line of code in my application, so Iām looking for advice on porting the PhoneGap Build application to iOS 7.
I tried to rebuild my iOS application using PhoneGap libraries in Xcode. Using the Xcode 5 memory detection tools and memory leak detection tools, I am able to track the root cause of memory problems. It seems that every time I initiate a call to the PhoneGap plugin (Facebook Connect, SocialMessage, etc.), memory usage jumps a couple of MBytes. A constant leap in memory usage ultimately leads to the failure of my iOS application or its minimization of iOS itself.
Does anyone have a similar problem? Are any PhoneGap Build developers testing existing Phonegap 2.9 and 3.0 libraries, PhoneGap plugins, and sample applications for virtual memory problems with iOS 7? What is the recommendation for porting existing PhoneGap Build apps to iOS 7?
source share