New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cleanup APIs #11368
Cleanup APIs #11368
Conversation
|
BREAKING CHANGE: Removes the LINKIFY_* constants living in Android namespace taht have been deprecated since SDK 3.0.0
This removes the errorState and errorDescription properties that have been deprecated since sdk 3.0.0 BREAKING CHANGE: Removes deprecated stream callback properties
This removes the errorState and errorDescription properties that have been deprecated since sdk 3.0.0 BREAKING CHANGE: Removes deprecated stream callback properties
Marks the errorState and errorDescription properties on stream callbacks removed in SDK 9.0.0 that have been deprecated since 3.0.0
This removes the errorCode property that has been deprecated since sdk 3.1.0 BREAKING CHANGE: Removes deprecated tcp error callback errorCode property
This removes the errorCode property that has been deprecated since sdk 3.1.0 BREAKING CHANGE: Removes deprecated tcp error callback errorCode property
Marks the errorCode property on tcp error callbacks removed in SDK 9.0.0 that have been deprecated since 3.1.0
This removes the errorCode and message properties that have been deprecated since sdk 3.1.0 BREAKING CHANGE: Removes deprecated webview error event properties: errorCode and message
Marks the errorCode and message properties on webview error events removed in SDK 9.0.0 that have been deprecated since 3.1.0
This removes the height, width, leftNavButton and rightNavButton properties that have been deprecated since sdk 3.4.2 BREAKING CHANGE: Removes deprecated ipad popover properties: height, width, leftNavButton and rightNavButton
Marks the height, width, leftNavButton and rightNavButton properties on popover removed in SDK 9.0.0 that have been deprecated since 3.4.2. Note that some of them were effectively removed at time of deprecation.
BREAKING CHANGES: removes deprecated Ti.UI.Window.android:* events
BREAKING CHANGES: removes deprecated Ti.Media.cameraAuthorizationStatus property
BREAKING CHANGE: Removes the updateLayout(), startLayout() and finishLayout() methods on Ti.UI.View
BREAKING CHANGE: Removes the BLEND_MODE_* constants on Ti.UI.iOS namespace (use constants on Ti.UI namespace)
3300d49
to
664f58f
Compare
Relates to #11362 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Android changes look good to me!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CR passed for iOS.
JIRA: https://jira.appcelerator.org/browse/TIMOB-27617
Description:
Now that we have nice npm scripts to see what's deprecated in our APIs but not removed (See #11366), it gave me a good list of things to look over. This PR is a work in progress to remove those long-deprecated APIs (or fix up our docs to update when they actually did get removed).
The commit messages detail the exact APIs I'm working with, but I'll try to summarize here:
Ti.UI.CoverFlowView
was removed in 6.0.0 (moved under iOS namespace)Ti.UI.AdView
was removed in 7.0.0 (basically the create method was around and just logged a message)Ti.UI.Android.LINKIFY_*
constants were removed here for 9.0.0 (useTi.UI.AUTOLINK_*
constants)Ti.Stream
callbacks'errorState
anderrorDescription
properties were removed here for 9.0.0 (usecode
anderror
properties)Ti.Network.Socket.TCP
error callbackerrorCode
property was removed here for 9.0.0 (usecode
)Ti.UI.WebView
error eventerrorCode
andmessage
properties were removed here for 9.0.0 (usecode
anderror
)Ti.UI.iPad.Popover
propertiesheight
,width
,leftNavButton
andrightNavButton
were removed (the nav buttons were actually removed at time of deprecation in 3.4.2)Ti.UI.Window
android:*
events are removed here for 9.0.0 (replaced by equivalent without colon in 3.0.0)Ti.Media.cameraAuthorizationStatus
was removed here for 9.0.0 (replaced byTi.Media.cameraAuthorization
in 5.2.0)Ti.Media. AUDIO_SESSION_MODE_SOLO_AMBIENT
was actually removed in 6.0.0Ti.Media. AUDIO_SPEAKER
was actually removed in 3.6.0Ti.Media.recordinginput
andTi.Media.linechange
events were actually removed in 3.5.1Ti.UI.View
'sstartLayout()
,updateLayout()
andfinishLayout()
methods are removed here for 9.0.0 (deprecated since 3.0.0)Ti.UI.iOS.BLEND_MODE_*
constants are removed here for 9.0.0 (replaced by equivalents inTi.UI
namespace in 7.3.0)