Backgrounding Permission in SDK 3.1.3

I downloaded the new SDK with the hopes of simply adding the F6 variants to the build list for my watch faces; however, it seems the permissions have changed a little.  Previously all of my watch faces had the backgrounding permissions set and worked without issue.  On the new SDK it seems nothing will compile with this set, if the watch face is uses greater than 32KB, or at least that is what the errors are telling me.  Is there a change in code structure required for the new SDK?  All of my my existing watch faces won't run, let alone the F6 series.

https://www.dropbox.com/s/qjz4edl5uk0w9se/Backgrounding.png

  • Do you have background permission for things without a background processes? (things annotated with (:background).  If so, you want to remove that permission.  Starting a while back you'd see two "out of memory" errors in the sim in this case, but then the app itself would run, so maybe they made it a "harder" error in 3.1.

    My apps that use backgrounding run fine in the sim.

  • Thanks, Jim.  I don't have any background processes at the moment, but had the face configured with those permissions for future features (which I never got around to developing).  I will just cut those back.  Thanks for the clarity.Thumbsup tone3

  • As a rule, you only want to enable permissions you use.  With backgrounding as an example, users see:

    "Run in the background when it is not active (potentially affecting battery life)"

    Which isn't true if there's no background process.

  • Thanks again, Jim.  I will clean up the permissions to only those necessary.