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
fix(ios): test for refresh control usage #10550
Conversation
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.
LGTM
Generated by 🚫 dangerJS |
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.
FR Passed Application no longer crashes when using ScrollView
without RefreshControl
, Tested with the following test case
const win = Ti.UI.createWindow();
const scrollView = Ti.UI.createScrollView({
height: '80%',
width: '80%'
});
const view = Ti.UI.createView({
backgroundColor:'#336699',
borderRadius: 10,
top: 10,
height: 2000,
width: 1000
});
scrollView.add(view);
// Uncomment this to fix the build
//const refreshControl = Ti.UI.createRefreshControl();
//scrollView.refreshControl = refreshControl;
win.add(scrollView);
win.open();
Test Environment
APPC Studio: 5.1.0.201808080937
iPhone 8 (iOS 12.1)
APPC CLI: 7.0.8
Operating System Name: Mac OS Mojave
Operating System Version: 10.14.1
Node.js Version: 8.9.1
Xcode 10.1
* source/master: (1616 commits) [TIMOB-26537] Android: Module "AndroidManifest.xml" <uses> elements overwrites "tiapp.xml" elements (tidev#10467) fix(ios): test for refresh control usage (tidev#10550) fix: standardize os.arch values to Node.js equivalents feat(api): add node-compatible os core module docs: add totalMemory(), cpus() and uptime to Ti.Platform feat(ios): add totalMemory() method and uptime property to Ti.Platform feat(android): add totalMemory() method, cpus() method and uptime property to Ti.Platform chore(android): remove deprecated Geolocation properties (tidev#10547) fix(ios): Set transitionIsAnimating while pushing the controller rather waiting for delegate (tidev#10535) fix(ios) : Convert property ‘value’ to string inside hasText function (tidev#10521) fix(ios): Added missing flag to code sign TitaniumKit so device builds work again. (tidev#10505) [TIMOB-26585] Android: Catch all TCP socket read and write exceptions (tidev#10490) [TIMOB-26095] iOS 12: Replace UIWebView API in favor of WKWebView (tidev#10169) chore: update node-titanium-sdk (tidev#10548) fix(android): Fix for splashscreen activity with translucent status bar. (tidev#10536) core(deps): Add danger-plugin-dependencies chore: migrate latest tests to suite chore(package): update lockfile package-lock.json chore(package): update @seadub/danger-plugin-junit to version 0.0.2 test: migrate tests to common suite ... # Conflicts: # apidoc/Titanium/UI/ListView.yml # iphone/Classes/TiUIListView.h # iphone/Classes/TiUIListView.m # iphone/Classes/TiUIListViewProxy.m
JIRA: https://jira.appcelerator.org/browse/TIMOB-26668
Fix scroll view without usage of refresh control.
Regression was introduced by #10103