Skip to content
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: fix crashing Ti.Platform.openURL #11826

Closed
wants to merge 1 commit into from

Conversation

hansemannn
Copy link
Collaborator

JIRA: https://jira.appcelerator.org/browse/TIMOB-27846

This is a severe regression from the SDK 9 changes related to the refactoring of several core module like "Ti.Platform" and "Ti.Geolocation". JSValue here are never nil (in this case, by default they are "JS-undefined"). It can probably also have caused other regressions, so please check on those as well. An example test case is added in JIRA, which could be added to the test suite, if it doesn't cause trouble for other test cases because the app is backgrounded.

@build
Copy link
Contributor

build commented Jul 19, 2020

Fails
🚫

🔬 There are library changes, but no changes to the unit tests. That's OK as long as you're refactoring existing code, but will require an admin to merge this PR. Please see README.md#unit-tests for docs on unit testing.

🚫 TypeError: load is not a function
🚫

node failed.

Messages
📖 🎉 Another contribution from our awesome community member, hansemannn! Thanks again for helping us make Titanium SDK better. 👍

Log

danger-results://tmp/danger-results.json

Generated by 🚫 dangerJS against 56e48b0

@sgtcoolguy
Copy link
Contributor

Fixed in 31424c6 (and cherry-picked to 9_1_X and 9_3_X)

@sgtcoolguy sgtcoolguy closed this Jul 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants