App crashes when we create any UI component inside the eventFired from this particular module and trying to access UI component method after pressing back button and launching again.
sample app and module code is attached.
1: Launch the app in android any version (preferred is 4.2 or 2.2).
2: click on Add device button.
3: Click on red view add and an alert will be shown, click ok.
4: press the back button, and app will go in background.
5: launch the app again.
6: Press the Add Device button again.
7: App crashes.
Another thing to try.
1: Go to sample app's app.js at line number 71-72 and comment the view1 addEventListener.
2: Launch the app again and now repeat the above process.
3: app won't crash.