Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-25263] Windows: remove back button from top bar

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2017-09-19T10:46:35.000+0000
Affected Version/sn/a
Fix Version/sRelease 6.3.0
ComponentsWindows
Labelsn/a
ReporterNeeraj Mishra
AssigneeKota Iguchi
Created2017-09-11T19:51:58.000+0000
Updated2017-10-09T15:10:23.000+0000

Description

Problem Description:

When We initially launch a Windows app there is a back button showing in the top bar, is there any way to remove it? Especially because is the first screen, there is nothing to go back to.

Sample App:

Attached to the ticket.

More details :

Behavior with different devices and their results is attached to the first comment.

Attachments

FileDateSize
index.js2017-09-11T19:49:48.000+0000130
index.tss2017-09-11T19:49:43.000+0000170
index.xml2017-09-11T19:49:40.000+0000127

Comments

  1. Ewan Harris 2017-09-12

    [~nmishra] So the reasoning for the difference between their two machines is that one is built with Windows 8.1 SDK (Surface 4 device app), and the other with 10.0 (dev computer) I assume they're packaging and then deploying to the Surface which is why it is defaulting to 8.1, if they pass in \-\-win-sdk 10.0 they will see the same across both. This is a valid bug I think though and I guess it occurs because of how we instantiate the app.
  2. Kota Iguchi 2017-09-13

    [~nmishra] It seems that the "Tap and send", "Share" and "Setting" buttons [like this](https://propelics.box.com/shared/static/vjof47giorkhctj87k4h1ismuzvk7lcx.png) are only shown when the app is built for Windows 8.1. So I would expect you need to specify --win-sdk 10.0 explicitly when you package the app. Then it should work as Windows 10 app.
  3. Kota Iguchi 2017-09-13

    https://github.com/appcelerator/titanium_mobile_windows/pull/1108
  4. Kota Iguchi 2017-09-25

    [~nmishra] According to the error message [0x80073CFD](https://msdn.microsoft.com/en-us/library/hh973484.aspx) A specified install prerequisite couldn't be satisfied, I expect there's some kind of prerequisite configuration error. I would expect that Windows 10 target platform version needs to be specified explicitly for the device. For example when your device Window 10 version is 10.0.14393.0, you can specify the version like below in tiapp.xml 's windows section.
          <windows>
               <TargetPlatformVersion>10.0.14393.0</TargetPlatformVersion>
               <TargetPlatformMinVersion>10.0.14393.0</TargetPlatformMinVersion>
           </windows>
       
  5. Neeraj Mishra 2017-09-25

    Thank you [~kiguchi]
  6. Kota Iguchi 2017-09-29

    6_3_X: https://github.com/appcelerator/titanium_mobile_windows/pull/1124
  7. Ewan Harris 2017-10-09

    Verified in 6.3.0.v20171006185117 and 7.0.0.v20171009065347

JSON Source