Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-26071] Deprecate Ti.SafariDialog, move Ti.WebDialog into the core-modules

GitHub Issuen/a
TypeStory
PriorityNone
StatusClosed
ResolutionFixed
Resolution Date2018-06-07T18:51:31.000+0000
Affected Version/sn/a
Fix Version/sRelease 7.5.0
ComponentsAndroid, iOS
Labelsn/a
ReporterHans Knöchel
AssigneeHans Knöchel
Created2018-05-28T07:40:34.000+0000
Updated2018-10-15T15:27:41.000+0000

Description

We have [ti.safaridialog](https://github.com/appcelerator-modules/ti.safaridialog) since 5.0.0 to show an embedded web-view natively. Since a while, Android offers the same, so the [ti.webdialog](https://github.com/appcelerator-modules/titanium-web-dialog) was born. To signalize parity and have all latest features, especially with iOS 12 and Android P coming, we should move ti.webdialog to the SDK and deprecate ti.safaridialog.

Comments

  1. Hans Knöchel 2018-05-28

    PR (ti.safaridialog/master): https://github.com/appcelerator-modules/ti.safaridialog/pull/13 PR (titanium_mobile/master): https://github.com/appcelerator/titanium_mobile/pull/10078 Note: Both Ti.SafariDialog and Ti.TouchID are deprecated. We should remove them from the docs and modules.json in 8.0.0 [~bimmel] The docs for ti.webdialog need to show up in the web-docs as well, similar like we did with ti.identity last year. Can you add it to your repos that are fetched during docs publish? Also, ti.safaridialog docs need to be updated to reflect the deprecation.
  2. (deactived) Brian Immel 2018-05-29

    [~hknoechel], is this scheduled with the 8.0.0 release?
  3. Hans Knöchel 2018-05-29

    I am awaiting feedback from Chris, hopefully yes. I'd do the deprecation asap and remove it in 8.0.0.
  4. Christopher Williams 2018-05-31

    The deprecations should be done ASAP, so I've merged that PR adding the notice. I'm not sure we have anything like this, but a forward looking document that we can continuously update regarding upcoming deprecations/removals in the next major release would be very helpful for people to see and anticipate changes like this one. For example, we're adding a deprecation notice to the module README on github, but otherwise I'm not sure how people would be notified that this will be happening.
  5. Christopher Williams 2018-06-07

    I've merged the addition of ti.webdialog into the core modules packaged with SDK on master (7.4.0). ti.safaridialog is still included as well.
  6. Samir Mohammed 2018-10-15

    Closing ticket. ti.webdialog can be seen added into the core modules on Master while still ti.safaridialog.

JSON Source