[AC-6299] App crashing on android after 8.0.1.GA ( 1st time only)
GitHub Issue | n/a |
Type | Bug |
Priority | n/a |
Status | Resolved |
Resolution | Needs more info |
Resolution Date | 2019-08-02T22:28:35.000+0000 |
Affected Version/s | Appcelerator Studio 4.3.2 |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | android, defect |
Reporter | Luke Lu |
Assignee | Shak Hossain |
Created | 2019-07-01T04:01:44.000+0000 |
Updated | 2019-11-04T19:20:08.000+0000 |
Description
With the latest release of titanium sdk, we switched from 7.4.1.GA to 8.0.1.GA
*State:*
iOS:_ All Good_
Android: _Crashes the 1st time a modal popup window is closed. After the first crash, it works normally._
*Workflow (Android):*
formlist > Add new form > Save & Close or Close (App crash, only first time after installation)
code snippet:
*formlist.js*
...
_ function openAddWindow(e) {
openWindowClickDebounce(e);
}
var openWindowClickDebounce = nav.debounce(openAddFormWindow);
// Simplified to make it readable here
function openAddFormWindow(e) {
Alloy.createController("formadd").getView().open();
}_
...
*formadd.js*
...
_ function closeFormRecord() {
$.formAddWindow.close();
}_
...
Also, we get this warning message when crashing, not sure if that's related
Attachments
Hello [~luke_lu], Thanks for reporting this. Can you please test this issue on SDK 8.0.2.GA and let us know how it goes. To install this please open terminal and type the following: *appc ti sdk install 8.0.2.GA*
thanks for the response @Rakhi Mitro, I tried with 8.0.2.GA but the issue still persists as same.
[~luke_lu], Thanks for letting us know. It would be great to share a simple test case to reproduce the issue on our end.
Hello, We have not heard back from you since our last update.I just wanted to follow up with you about this issue? Are you still experiencing this problem? Please let us know if you need more help with this issue.
It's hard to create another simple app to replicate the issue, cause the exact place its happening is unknown. We are still getting the crash, with errors in the console all over the places !Screen Shot 2019-08-13 at 2.17.28 pm.png|thumbnail! !Screen Shot 2019-08-13 at 2.17.38 pm.png|thumbnail! !Screen Shot 2019-08-13 at 2.17.51 pm.png|thumbnail!
@Rakhi Mitro, on further investigation, I can see that js. _ function closeWindow() { $.formAddWindow.close(); // This code crashes the app, ONLY 1st time and for sdk 8.x.x^ }_ xml. +