Feature
On iOS, ScrollableView's "removeView" method accepts either a view or an index to a view. Android only supports passing in a view.
Solution
We need to either remove the undocumented feature from iOS, or add it to Android and to the documentation.
How To Reproduce
Drop the following in an app.js. If you get a modal error screen or an error in the log, the feature is not present. If you don't, then everything is working as it should.
Ti.UI.createScrollableView({
views: [ Ti.UI.createView() ]
}).removeView(0);
Anvil test case added. https://github.com/appcelerator/titanium_mobile/pull/4943
PR:- https://github.com/appcelerator/titanium_mobile/pull/5235 *[This PR has been declined.]*
PR (master): https://github.com/appcelerator/titanium_mobile/pull/9696
FR Passed. Waiting for merger to be enabled.
PR Merged.
*Closing ticket.* The fix is present in SDK: {noformat} 7.3.0.v20180626064422 {noformat}