Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-9349] TiAPI: Ti.UI.WebView event handling for nested Titanium Mobile Web apps

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionInvalid
Resolution Date2017-06-15T18:20:35.000+0000
Affected Version/sRelease 2.0.1
Fix Version/sn/a
ComponentsMobileWeb, TiAPI
Labelsn/a
ReporterChris Barber
AssigneeEric Merriman
Created2012-06-02T16:26:17.000+0000
Updated2017-06-15T18:20:35.000+0000

Description

WebViews insert a little bridge that allows the HTML page inside the WebView to fire events to the WebView. If the WebView contains a Mobile Web app, then there's a collision of Ti.App.fireEvent(), Ti.App.addEventListener(), and Ti.App.removeEventListener(). We need to standardize on an API for specifying a target for fireEvent(). Should fireEvent() of the inner Mobile Web app fire the event both for everything in the WebView AND the WebView? Should we have an additional argument to fireEvent that identifies a target? Should we allow a prefix such as "parent://" to the event name?

Comments

  1. Lee Morris 2017-06-15

    Closing ticket due to time passed and lack of progress in the past few years. Any problems, please file a new ticket.

JSON Source