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
[TIMOB-20332] Android: Closing a Ti.UI.TabGroup that contains a ti.map view crashes the app #9628
Conversation
Generated by 🚫 dangerJS |
Can we please turn that manual test into an automated mocha test? I assume the only difference would be to instead of using a click listener to close the tab group, use something like setTimeout to close the tab after a short delay. The test would probably best go into |
@sgtcoolguy Added the unit test. Two things that I think deserve a notice:
|
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: PASS
@ypbnv @garymathews Do we have an API key we can use for the unit test app? Looks like without it the test crashes on Android and fails on iOS. |
@sgtcoolguy If we do not have an API from a dedicated account for testing I could generate one and DM it for you to set it up. |
Ok, this is now passing the new unit tests. Ready for QE validation. Once merged it should likely be cherry-picked to 7_0_X branch. |
FR Passed. Closing the Studio Ver: 5.0.0.201712081732 |
JIRA: https://jira.appcelerator.org/browse/TIMOB-20332
Description:
Getting a reference to the wrong FragmentManager when an instance of TIUIFragment is used in TabGroup.
Removed an unused import.
Test case:
Add the module in tiapp.xml
<module platform="android">ti.map</module>
app.js
Expected result - application should close without any crashes.