Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-14779] MobileWeb: Detect if being served via file:// and show error saying a web server is required

GitHub Issuen/a
TypeNew Feature
PriorityLow
StatusClosed
ResolutionWon't Fix
Resolution Date2017-06-28T23:40:49.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsMobileWeb
Labelsn/a
ReporterChris Barber
AssigneeChris Barber
Created2013-08-07T18:55:59.000+0000
Updated2018-04-04T23:20:43.000+0000

Description

Titanium Mobile Web requires a web server. It should be possible to detect when NOT served via a web server by checking if the location.protocol == 'file:' and if so, show an error message. Perhaps have a config option to disable this error check or make this check more of a warning than a hard error.

Comments

  1. Lee Morris 2017-06-28

    Resolving ticket as "Won't Fix" as MobileWeb has been deprecated.
  2. Eric Merriman 2018-04-04

    Closing as will not fix.

JSON Source