Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-15834] MobileWeb: Android - reloading browser with the new packaged app, displays previously previewed app

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionCannot Reproduce
Resolution Date2014-04-07T23:41:44.000+0000
Affected Version/sRelease 3.2.0
Fix Version/sBacklog
ComponentsAndroid, MobileWeb
Labelsmobileweb, qe-3.2.0, qe-closed-3.2.3
ReporterOlga Romero
AssigneeIngo Muschenetz
Created2013-11-26T21:37:26.000+0000
Updated2014-04-07T23:42:04.000+0000

Description

When packaging a new app for mobile web and previewing it in browsers on a different Android version devices, I noticed, that most of the time it will load a previously packaged app. I used Kitchen Sink and a default projects.

To reproduce

1. Package KS for MobileWeb and place in usr/Library/WebServer/Documents 2. Devices and your machine have to be on the same network 3. On the device open the browser and type IP address 4. Package any other app and try to preview in browser on your device

Actual result

3. The app is loading 4. The first app is displayed

Expected result

The new app should load

Work around

Clear cache depends on device: Settings>Privacy and security>Clear cache Settings>Privacy>Clear browsing data Settings>Privacy>Delete personal data>Browsing history

Comments

  1. Olga Romero 2013-12-03

    [~ingo]NOT a regression, looks like it happens only on Android platform. Tested with Titanium Studio, build: 3.1.3.201309132423 Titanium SDK, build 3.1.3.GA CLI 3.1.2 Nexus5 Android version 4.4
  2. Ingo Muschenetz 2013-12-03

    [~oromero] Could you double-check if this is an issue with the Apache configuration and how caching is set? (It's fine to do this post-3.2.0)
  3. Olga Romero 2014-04-07

    Tested with: Appcelerator Studio, build: 3.2.3.201403271839 Titanium Studio, build: 3.2.1.201402041146 Titanium SDK, build: 3.2.3.v20140403105720 Node.JS Version: v0.10.13 NPM Version: 1.3.2 ├── acs@1.0.14 ├── alloy@1.3.1 ├── node-appc@0.2.0 ├── npm@1.3.2 ├── titanium@3.2.3-alpha2 └── titanium-code-processor@1.1.1-alpha Devices: GalaxyS4 Android version 4.2.2 Nexus7 Android version 4.3 Kitchen Sink from Studio Samples version 3.2.2 2bd571cb-103a-4b43-ad3c-7fea54fd1d82 Chrome browser on the device. I cannot reproduce this issue in this environment.
  4. Olga Romero 2014-04-07

    [~emerriman]I would expect it too, however I cannot reproduce this issue. I used a different version of Kitchen Sink 28a706e9-4130-4acb-bc76-9494255a9279 I did change SDK for 3.2.0.GA and I still cannot reproduce the issue.

JSON Source