[TIMOB-20496] Windows: Badge icon needed with background task for Windows Store
GitHub Issue | n/a |
---|---|
Type | Story |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2016-03-02T12:15:38.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 5.3.0 |
Components | Windows |
Labels | qe-5.3.0 |
Reporter | Kota Iguchi |
Assignee | Kota Iguchi |
Created | 2016-03-02T02:20:11.000+0000 |
Updated | 2016-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>
https://github.com/appcelerator/titanium_mobile_windows/pull/573
Verified as fixed, with background task enabled on a project, building to the windows store now generates the appropriate badge icon:
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.*