Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-20496] Windows: Badge icon needed with background task for Windows Store

GitHub Issuen/a
TypeStory
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2016-03-02T12:15:38.000+0000
Affected Version/sn/a
Fix Version/sRelease 5.3.0
ComponentsWindows
Labelsqe-5.3.0
ReporterKota Iguchi
AssigneeKota Iguchi
Created2016-03-02T02:20:11.000+0000
Updated2016-05-12T17:15:24.000+0000

Description

Enabling background task requires "badge icon" when building for Windows Store. It is required to package the app even when badge is not actually used.
04:26:48   C:\Users\appcelerator\.titanium\vsbuild\mocha\store.x86\Package.appxmanifest(45,8): 
error APPX1675: App manifest declares background task of type timer, control channel, 
push notification, or location without enabling lock screen notifications. 
[C:\Users\appcelerator\.titanium\vsbuild\mocha\store.x86\Mocha.vcxproj]
FYI: Enabling background task (tiapp.xml)
<windows>
  <manifest>
    <Extensions>
        <Extension Category="windows.backgroundTasks" EntryPoint="TitaniumWindows_Ti.BackgroundServiceTask">
          <BackgroundTasks>
            <Task Type="timer" />
          </BackgroundTasks>
        </Extension>
    </Extensions>
  </manifest>
</windows>

Comments

  1. Kota Iguchi 2016-03-02

    https://github.com/appcelerator/titanium_mobile_windows/pull/573
  2. Harry Bryant 2016-05-12

    Verified as fixed, with background task enabled on a project, building to the windows store now generates the appropriate badge icon:
       Missing 7 app icons, generating missing icons
         Square24x24Logo.png - Used for badge - size: 24x24
         Square44x44Logo.png - Used for logo - size: 44x44
         Square71x71Logo.png - Used for logo - size: 71x71
       
    I am no longer able to reproduce the error. Tested on: Windows 10 Pro Windows Phone 10.0 & 8.1 (Microsoft Lumia 640 LTE) Appc Studio: 4.6.0.201605030516 Ti SDK: 5.3.0.v20160509143032 Appc NPM: 4.2.5-5 Appc Core: 5.3.0-44 Node: v4.4.4 *Closing Ticket.*

JSON Source