[AC-4588] if i set in tiapp.xml property run-on-main-thread = true my app stucks in splash screen the second time i open it, when run-on-main-thread = false scrollview throws an error
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | n/a |
| Status | Closed |
| Resolution | Needs more info |
| Resolution Date | 2016-11-11T15:30:15.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | Titanium SDK & CLI |
| Labels | android |
| Reporter | Alejandro Saldivar |
| Assignee | Shak Hossain |
| Created | 2016-11-01T23:42:02.000+0000 |
| Updated | 2016-11-11T15:30:15.000+0000 |
Description
when i create a default Alloy project, first time run in android 6.0 emulator/device and everything goes well, but if i close the application (press back) and try to open it again gets stuck in splash screen
i need to force to close the application from settings/applications to open it again
i noticed if i set false in tiapp.xml,
my app open perfectly, but scrollviews stop working
console throws the following error:
[ERROR] Message: Uncaught Error: Attempt to invoke virtual method 'boolean TiUIScrollView.getScrollingEnabled()' on a null object reference
if true scrollviews work fine
this happens with version sdk >= 5.4.0
Attachments
| File | Date | Size |
|---|---|---|
| Screen Shot 2016-11-01 at 5.37.54 PM.png | 2016-11-01T23:40:50.000+0000 | 60658 |
.
Please provide a full reproducible demo-code, we can't reproduce the issue otherwise.
Hello for default project the issue is not reproducible for us. And for your scrollview issue we need the sample code. Thanks.