[TIMOB-13248] Provide a means to extend application routing
GitHub Issue | n/a |
---|---|
Type | Story |
Priority | Low |
Status | Open |
Resolution | Unresolved |
Affected Version/s | Release 3.1.0 |
Fix Version/s | n/a |
Components | TiAPI |
Labels | n/a |
Reporter | Ingo Muschenetz |
Assignee | Unknown |
Created | 2013-03-28T18:58:45.000+0000 |
Updated | 2018-02-28T20:03:45.000+0000 |
Description
In iOS (TODO: See how Android does it), we have an ApplicationRouting file that takes a file path and optionally returns a data blob. Like the red screen of death became extendable with exceptionHandlers, we should allow for ApplicationRouting to allow modules to expand the lookup.
This could be useful in caching, in redirection to a read/write area, in resource identifiers, and for even localization of js files.
I assume this ticket is addressing native modules. One thing to note that the
ApplicationRouting.m
will be static and not generated when we rewrite the encryption system for the new Titanium build pipeline.