Update Your NativeScript Plugins

I have an app I’ve been developing for 10 months now.  It’s been in the iTunes store since this past September.  I’ve been rehashing how the photo capture and gallery system works for a couple of months now and kept having random crashes, or after releasing and testing the live version on my phone it would bugger out or act weird.

I noticed in the console I was getting a warning.  It technically wasn’t breaking the app but I had a hunch it was causing the random freak outs.

CoreAnimation: warning, deleted thread with uncommitted CATransaction; set CA_DEBUG_TRANSACTIONS=1 in environment to log backtraces.

I tried googling a solution but it was way over my head and not really related to coding in NativeScript.  So I google uncommitted CATransaction NativeScript.  I found a thread on a repo that dealt with using a background http thread.  My photo gallery was highly dependent on NativeScript Background HTTP plugin.

I tns plugin remove nativescript-background-http then tns add plugin nativescript-background-http and it installed version 2.5.1 which was released two weeks ago.  Instantly that issue was gone and the photo section was running so much smoother.

I’m not sure what changed, but these plugin devs (the good ones at least) are on top of it.  Get the latest versions of your plugins!

Leave a Reply

Your email address will not be published. Required fields are marked *