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
refactor(ios, android): remove deprecated APIs #11386
Conversation
BREAKING CHANGE: Removes the create, destroy, pause, restart, resume, start, and stop events on Ti.Android.Activity (use callback properties)
BREAKING CHANGES: removes Ti.UI.TabGroup selected/unselected events in favor of focus/blur
BREAKING CHANGES: removes Ti.UI.Tab blur/focus events in favor of selected/unselected
BREAKING CHANGES: removes Ti.Contacts getGroupByID and getPersonByID methods (in favor of getGroupByIdentifier and getPersonByIdentifier)
BREAKING CHANGES: removes Ti.Contacts getPersonByID method (in favor of getPersonByIdentifier)
BREAKING CHANGES: removes Ti.Contacts requestAuthorization method (in favor of requestContactsPermissions)
BREAKING CHANGES: removes Ti.Contacts requestAuthorization method (in favor of requestContactsPermissions)
BREAKING CHANGES: removes Ti.Media requestAuthorization and requestCameraAccess methods (in favor of requestAudioRecorderPermissions and requestCameraPermissions)
BREAKING CHANGES: removes Ti.Media requestAudioPermissions method (in favor of requestAudioRecorderPermissions)
BREAKING CHANGES: removes Ti.UI.TextArea, Ti.UI.TextField appearance property (in favor of keyboardAppearance)
BREAKING CHANGES: removes Ti.UI.TextField paddingLeft and paddingRight properties (in favor of padding.left and padding.right)
|
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 part looks good.
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.
iOS changes looks good
JIRA: https://jira.appcelerator.org/browse/TIMOB-27617
Description:
Follow-on to #11368
This is an attempt to include more removals, updated docs for long-deprecated APIs
Ti.Android.Activity
eventscreate
,destroy
,restart
,resume
,start
andstop
are removed here for 9.0.0 (we have properties to register callback function for these lifecycle hooks)Ti.UI.TabGroup
selected
/unselected
events are removed here in 9.0.0 (useblur
/focus
)Ti.UI.Tab
blur
/focus
events are removed here for 9.0.0 (useselected
/unselected
)Ti.Contacts
#getGroupByID()
,#getPersonByID()
,#requestAuthorization()
methods removed here for 9.0.0Ti.Calendar
#requestEventsAuthorization()
and#requestAuthorization()
methods were removed in 8.1.0Ti.Media
#requestAudioPermissions()
,#requestCameraAccess()
,#requestAuthorization()
methods removed here for 9.0.0Ti.UI.Android.CardView
card*
properties were removed in 6.0.0Ti.UI.TextField
andTi.UI.TextArea
appearance
property removed here for 9.0.0 (usekeyboardAppearance
)Ti.Ui.TextField
paddingRight
andpaddingLeft
properties removed here for 9.0.0 (usepadding.right
andpadding.left
)Ti.Gesture
#isPortrait()
and#isLandscape()
were removed in 7.0.0 on Android, 8.1.0 on iOS