{ "id": "141661", "key": "TIMOB-18244", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "16593", "description": "Release 4.0.0", "name": "Release 4.0.0", "archived": false, "released": true, "releaseDate": "2015-05-21" }, { "id": "16723", "description": "Windows Platform Support, ListView updates, Vector overlays in maps", "name": "Release 4.1.0", "archived": false, "released": true, "releaseDate": "2015-07-08" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-03-30T19:42:25.000+0000", "created": "2014-12-16T16:10:43.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "Ti.Map", "mapView" ], "versions": [], "issuelinks": [], "assignee": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2015-05-07T13:37:23.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "The issue title may be a little general but I'm not able to be more specific because this happens whenever the parent view of the mapview is a Fragment.\r\n\r\nYou can easily reproduce this bug with this test code:\r\n{code:javascript}\r\nTi.UI.createAlertDialog({\r\n androidView: require('ti.map').createView()\r\n}).show();\r\n{code}\r\n\r\nApp crashes with this:\r\n{code}\r\n[ERROR] : TiApplication (main) [712,712] Sending event: exception on thread: main msg:android.content.res.Resources$NotFoundException: Unable to find resource ID #0x3e8; Titanium 3.6.0,2014/12/11 14:51,7bde3b5\r\n[ERROR] : TiApplication android.content.res.Resources$NotFoundException: Unable to find resource ID #0x3e8\r\n[ERROR] : TiApplication \tat android.content.res.Resources.getResourceName(Resources.java:2026)\r\n[ERROR] : TiApplication \tat android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:939)\r\n[ERROR] : TiApplication \tat android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1126)\r\n[ERROR] : TiApplication \tat android.support.v4.app.BackStackRecord.run(BackStackRecord.java:739)\r\n[ERROR] : TiApplication \tat android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1489)\r\n[ERROR] : TiApplication \tat android.support.v4.app.FragmentManagerImpl$1.run(FragmentManager.java:454)\r\n[ERROR] : TiApplication \tat android.os.Handler.handleCallback(Handler.java:739)\r\n[ERROR] : TiApplication \tat android.os.Handler.dispatchMessage(Handler.java:95)\r\n[ERROR] : TiApplication \tat android.os.Looper.loop(Looper.java:135)\r\n[ERROR] : TiApplication \tat android.app.ActivityThread.main(ActivityThread.java:5221)\r\n[ERROR] : TiApplication \tat java.lang.reflect.Method.invoke(Native Method)\r\n[ERROR] : TiApplication \tat java.lang.reflect.Method.invoke(Method.java:372)\r\n[ERROR] : TiApplication \tat com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)\r\n[ERROR] : TiApplication \tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)\r\n{code}\r\n\r\nThis not just happening with AlertDialogs, I've seen this error since a while here: https://github.com/manumaticx/Ti.DrawerLayout/issues/4\r\n\r\nI think the cause for this is somewhere in [TiUIFragment|https://github.com/appcelerator/titanium_mobile/blob/master/android/titanium/src/java/org/appcelerator/titanium/view/TiUIFragment.java] as the FragmentManager fails to resolve the containers resource id.\r\n\r\nI've tested this with several Titanium versions (3.3.0 to 3.6.0).", "attachment": [], "flagged": false, "summary": "Android: MapView crashes within Fragments", "creator": { "name": "manuellehner", "key": "manuellehner", "displayName": "Manuel Lehner", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "manuellehner", "key": "manuellehner", "displayName": "Manuel Lehner", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "closedSprints": [ { "id": 370, "state": "closed", "name": "2015 Sprint 07 SDK", "startDate": "2015-03-28T00:00:13.362Z", "endDate": "2015-04-11T00:00:00.000Z", "completeDate": "2015-04-13T16:25:29.003Z", "originBoardId": 114 }, { "id": 362, "state": "closed", "name": "2015 Sprint 06 SDK", "startDate": "2015-03-14T13:56:53.868Z", "endDate": "2015-03-28T00:00:00.000Z", "completeDate": "2015-03-30T17:32:33.590Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "342055", "author": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "body": "We will need to update the ti.map API so that we pass it the parent fragment (or its ID) somehow.", "updateAuthor": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "created": "2015-02-04T15:59:27.000+0000", "updated": "2015-02-04T15:59:27.000+0000" }, { "id": "343742", "author": { "name": "jda", "key": "jda", "displayName": "John Dalsgaard", "active": true, "timeZone": "Europe/Berlin" }, "body": "Any ideas for workarounds - or a timeframe for a fix?", "updateAuthor": { "name": "jda", "key": "jda", "displayName": "John Dalsgaard", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-02-18T12:25:48.000+0000", "updated": "2015-02-18T12:25:48.000+0000" }, { "id": "344028", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~jda] I've placed this into triage.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-02-20T16:19:50.000+0000", "updated": "2015-02-20T16:19:50.000+0000" }, { "id": "344031", "author": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "body": "I would just like to comment that the solution should take into account that *any proxy* may possibly contain a fragment, thus the solution cannot be restricted just to tabs, etc. Must have a generic solution for this.", "updateAuthor": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "created": "2015-02-20T16:29:55.000+0000", "updated": "2015-02-20T16:29:55.000+0000" }, { "id": "344973", "author": { "name": "tvfoodmaps", "key": "tvfoodmaps", "displayName": "Frank Apap", "active": true, "timeZone": "America/Los_Angeles" }, "body": "When using the map with this module - http://gitt.io/component/dk.napp.drawer - + Alloy I get a different error but it seems to be related to fragments as well: \r\n\r\n \r\n \r\n \r\n\t \r\n\t \r\n\t \r\n \t\t \r\n \r\n\r\n[ERROR] : TiApplication: (main) [1545,1545] Sending event: exception on thread: main msg:java.lang.RuntimeException: Unable to start activity ComponentInfo{com.apsquared.navtest/org.appcelerator.titanium.TiActivity}: java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState; Titanium 3.5.0,2015/01/12 15:33,0014f83\r\n[ERROR] : TiApplication: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.apsquared.navtest/org.appcelerator.titanium.TiActivity}: java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState\r\n[ERROR] : TiApplication: \tat android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2395)\r\n[ERROR] : TiApplication: \tat android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2453)\r\n[ERROR] : TiApplication: \tat android.app.ActivityThread.access$900(ActivityThread.java:173)\r\n[ERROR] : TiApplication: \tat android.app.ActivityThread$H.handleMessage(ActivityThread.java:1303)\r\n[ERROR] : TiApplication: \tat android.os.Handler.dispatchMessage(Handler.java:102)\r\n[ERROR] : TiApplication: \tat android.os.Looper.loop(Looper.java:136)\r\n[ERROR] : TiApplication: \tat android.app.ActivityThread.main(ActivityThread.java:5579)\r\n[ERROR] : TiApplication: \tat java.lang.reflect.Method.invokeNative(Native Method)\r\n[ERROR] : TiApplication: \tat java.lang.reflect.Method.invoke(Method.java:515)\r\n[ERROR] : TiApplication: \tat com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1268)\r\n[ERROR] : TiApplication: \tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1084)\r\n[ERROR] : TiApplication: \tat dalvik.system.NativeStart.main(Native Method)\r\n[ERROR] : TiApplication: Caused by: java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState\r\n[ERROR] : TiApplication: \tat android.support.v4.app.FragmentManagerImpl.checkStateLoss(FragmentManager.java:1354)\r\n[ERROR] : TiApplication: \tat android.support.v4.app.FragmentManagerImpl.enqueueAction(FragmentManager.java:1372)\r\n[ERROR] : TiApplication: \tat android.support.v4.app.BackStackRecord.commitInternal(BackStackRecord.java:595)\r\n[ERROR] : TiApplication: \tat android.support.v4.app.BackStackRecord.commit(BackStackRecord.java:574)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.view.TiUIFragment.(TiUIFragment.java:49)\r\n[ERROR] : TiApplication: \tat ti.map.TiUIMapView.(TiUIMapView.java:59)\r\n[ERROR] : TiApplication: \tat ti.map.ViewProxy.createView(ViewProxy.java:68)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:483)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:469)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:507)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:491)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:469)\r\n[ERROR] : TiApplication: \tat dk.napp.drawer.Drawer.processProperties(Drawer.java:317)\r\n[ERROR] : TiApplication: \tat org.appcelerator.kroll.KrollProxy.setModelListener(KrollProxy.java:1185)\r\n[ERROR] : TiApplication: \tat dk.napp.drawer.DrawerProxy.windowCreated(DrawerProxy.java:145)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.TiActivityWindows.windowCreated(TiActivityWindows.java:32)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.TiBaseActivity.windowCreated(TiBaseActivity.java:442)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.TiBaseActivity.onCreate(TiBaseActivity.java:524)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.TiActivity.onCreate(TiActivity.java:18)\r\n[ERROR] : TiApplication: \tat android.app.Activity.performCreate(Activity.java:5451)\r\n[ERROR] : TiApplication: \tat android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1093)\r\n[ERROR] : TiApplication: \tat android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2359)\r\n[ERROR] : TiApplication: \t... 11 more", "updateAuthor": { "name": "tvfoodmaps", "key": "tvfoodmaps", "displayName": "Frank Apap", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-03-03T20:05:43.000+0000", "updated": "2015-03-03T20:05:43.000+0000" }, { "id": "346627", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "AlertDialog isn't using fragment, therefore adding a map to an dialog isn't a nested fragment problem. This is a different problem which we will address later. One way to provide nested fragments support for map is to create a standalone map fragment, which you can then add it to a fragment manager of your choice. This will require some changes in the TiDrawer module (I have an example PR).\r\n\r\nhttps://github.com/appcelerator-modules/ti.map/pull/85 - Map PR (Fix a couple crashes mentioned above)\r\nhttps://github.com/appcelerator/titanium_mobile/pull/6733 - SDK PR (Introduce 'fragmentOnly' property for map module, when enabled would only build standalone map fragment)\r\nhttps://github.com/manumaticx/Ti.DrawerLayout/pull/19 - TiDrawer module PR (Example PR demonstrating how to use 'fragmentOnly' property)", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-03-20T00:23:48.000+0000", "updated": "2015-03-20T00:23:48.000+0000" }, { "id": "346628", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Test case:\r\n{code}\r\nvar TiDrawerLayout = require('com.tripvi.drawerlayout');\r\nvar Map = require (\"ti.map\");\r\n\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: 'white'\r\n});\r\n\r\nvar drawer = TiDrawerLayout.createDrawer();\r\n\r\nvar menu = Ti.UI.createTableView({\r\n data: [\r\n {title:\"Home\"},\r\n {title:\"About\"}\r\n ]\r\n});\r\n\r\nvar cv = Ti.UI.createView({\r\n\t\tbackgroundColor: 'orange',\r\n\t});\r\n\t\r\nmenu.addEventListener(\"click\", function(ev) {\r\n\tvar rowData = ev.rowData;\r\n\tif (rowData.title == \"Home\") {\r\n\t\tdrawer.centerView = cv;\r\n\t} else if (rowData.title == \"About\") {\r\n\t\tdrawer.centerView = mapview;\r\n\t}\r\n\t\r\n});\r\nvar mapview = Map.createView();\r\ndrawer.setLeftView( menu );\r\nwin.add(drawer);\r\nwin.open();\r\n{code}\r\n\r\nTesting steps:\r\n1. Build TiDrawer module with the changes in the PR in previous comment\r\n2. Use the pre-built map zip from the map PR in previous comment\r\n3. Build SDK from PR in previous comment\r\n4. Run the test case, swipe left -> right to open menu, click on 'About' to open a map\r\n5. Click 'Home' to open a new view. Toggle back and forth to make sure everything works.", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-03-20T00:28:47.000+0000", "updated": "2015-03-20T00:35:05.000+0000" }, { "id": "346694", "author": { "name": "manuellehner", "key": "manuellehner", "displayName": "Manuel Lehner", "active": true, "timeZone": "Europe/Berlin" }, "body": "Hi ,\r\n\r\nfirst of all, thanks a lot for your efforts. I'm stuck with this issue in so long and was really happy to see a progress here.\r\n\r\nI have build the SDK and ti.map- and drawer modules with your changes and have run the above test case. But unfortunately it does not work for me. I am getting the following error now:\r\n\r\n{code}\r\n[ERROR] : TiApplication: (main) [40601,40601] Sending event: exception on thread: main msg:java.lang.IllegalStateException: Can't change container ID of fragment SupportMapFragment{16065ed1 id=0x3e8}: was 1000 now 2131296337; Titanium 4.1.0,2015/03/20 13:21,3c79460\r\n[ERROR] : TiApplication: java.lang.IllegalStateException: Can't change container ID of fragment SupportMapFragment{16065ed1 id=0x3e8}: was 1000 now 2131296337\r\n[ERROR] : TiApplication: \tat android.support.v4.app.BackStackRecord.doAddOp(BackStackRecord.java:429)\r\n[ERROR] : TiApplication: \tat android.support.v4.app.BackStackRecord.replace(BackStackRecord.java:451)\r\n[ERROR] : TiApplication: \tat android.support.v4.app.BackStackRecord.replace(BackStackRecord.java:443)\r\n[ERROR] : TiApplication: \tat com.tripvi.drawerlayout.Drawer.replaceCenterView(Drawer.java:443)\r\n[ERROR] : TiApplication: \tat com.tripvi.drawerlayout.Drawer.propertyChanged(Drawer.java:602)\r\n[ERROR] : TiApplication: \tat org.appcelerator.kroll.KrollPropertyChange.fireEvent(KrollPropertyChange.java:21)\r\n[ERROR] : TiApplication: \tat org.appcelerator.kroll.KrollProxy.handleMessage(KrollProxy.java:1083)\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.proxy.TiViewProxy.handleMessage(TiViewProxy.java:347)\r\n[ERROR] : TiApplication: \tat com.tripvi.drawerlayout.DrawerProxy.handleMessage(DrawerProxy.java:70)\r\n[ERROR] : TiApplication: \tat android.os.Handler.dispatchMessage(Handler.java:98)\r\n[ERROR] : TiApplication: \tat android.os.Looper.loop(Looper.java:135)\r\n[ERROR] : TiApplication: \tat android.app.ActivityThread.main(ActivityThread.java:5221)\r\n[ERROR] : TiApplication: \tat java.lang.reflect.Method.invoke(Native Method)\r\n[ERROR] : TiApplication: \tat java.lang.reflect.Method.invoke(Method.java:372)\r\n[ERROR] : TiApplication: \tat com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)\r\n[ERROR] : TiApplication: \tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)\r\n{code}\r\n\r\nwhere Drawer.java:443 is [this line|https://github.com/manumaticx/Ti.DrawerLayout/blob/502feff41e870af8fdafb896c3f2ac2bde445acd/src/com/tripvi/drawerlayout/Drawer.java#L442]\r\nTested on genymotion emulator (4.3) and Nexus 5 device (5.0.1)\r\n\r\nI've also noticed that this solution would make it impossible to use a mapView together with other views (in a Ti.UI.View centerView container) - you could only use it as a standalone view, directly applied as centerView, right? Would it be possible to check if the view *or any of its children* is a mapView and handle the inner fragment in spite of that? ", "updateAuthor": { "name": "manuellehner", "key": "manuellehner", "displayName": "Manuel Lehner", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-03-20T14:35:41.000+0000", "updated": "2015-03-20T14:35:41.000+0000" }, { "id": "346753", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi Manuel,\r\n\r\n That error indicates that 'fragmenOnly' was somehow switched off - i.e we added it to our container and give it id of 1000. It looks like for some reason this line isn't hit https://github.com/manumaticx/Ti.DrawerLayout/blob/502feff41e870af8fdafb896c3f2ac2bde445acd/src/com/tripvi/drawerlayout/Drawer.java#L434.\r\n Have you try creating the map view like this?\r\n{code}\r\nvar mapview = Map.createView({fragmentOnly: true});\r\n{code}\r\n \r\nThis solution would work with other titanium views. It simply give you an option when creating the map view. If you want to add it to a fragment manager, you need the standalone fragment, otherwise it will generate the fragment with a container as default (which is the previous behavior before these PRs). Right now only map view uses TiUIFragment, so that's how you would check if a view is a map view, or you can do (getAPIName() == \"Ti.Map\") on the proxy (see my comments in TiDrawer PR). \r\n\r\nFor instance, centerView uses fragment manager, so you would pick the standalone fragment when creating the view in your module. And if some other UI requires the non-standalone map fragment, you can create another map view like that. This approach gives you that flexibility.\r\n\r\nEdit: I'm on vacation next week, so if you have any more questions regarding this approach, please feel free to drop a comment and Ashraf can assist you. Thanks.", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-03-20T20:26:45.000+0000", "updated": "2015-03-20T20:32:10.000+0000" }, { "id": "347274", "author": { "name": "manuellehner", "key": "manuellehner", "displayName": "Manuel Lehner", "active": true, "timeZone": "Europe/Berlin" }, "body": "Sorry - it was my bad (I somehow checked out the wrong branch of the ti.map module).\r\n\r\nI've successfully tested your fixes, it works just fine :)\r\n\r\nThank you !!!", "updateAuthor": { "name": "manuellehner", "key": "manuellehner", "displayName": "Manuel Lehner", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-03-25T09:46:55.000+0000", "updated": "2015-03-25T09:46:55.000+0000" }, { "id": "347300", "author": { "name": "mano_mykingdom", "key": "mano_mykingdom", "displayName": "Manojkumar Murugesan", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Great guys! Nice to hear. I have been looking for this fix almost for last one year. By any chance is it possible to move this fix into 4.0 release?", "updateAuthor": { "name": "mano_mykingdom", "key": "mano_mykingdom", "displayName": "Manojkumar Murugesan", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2015-03-25T17:10:55.000+0000", "updated": "2015-03-25T17:10:55.000+0000" }, { "id": "347408", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "[~hpham] --Some minor changes required in the Ti.Map PR.-\r\n\r\n-Otherwise everything is all good.-\r\n\r\nJust the manifest requires change to 4.0.0 as I'm adding your changes backport to the 4_0_X branch.", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2015-03-26T04:45:33.000+0000", "updated": "2015-03-27T03:19:19.000+0000" }, { "id": "347510", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "PR for 4_0_X: https://github.com/appcelerator/titanium_mobile/pull/6747", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2015-03-27T02:16:18.000+0000", "updated": "2015-03-27T02:16:18.000+0000" }, { "id": "347519", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "[~jalter] Could you review my 4_0_X backport? And once everything is okay, could you go to https://github.com/appcelerator-modules/ti.map/pull/85 travis build to restart and see if it is successful.", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2015-03-27T03:23:02.000+0000", "updated": "2015-03-27T03:23:02.000+0000" }, { "id": "347555", "author": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~msamah] merged and restarted the travis build.", "updateAuthor": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-03-27T15:15:53.000+0000", "updated": "2015-03-27T15:15:53.000+0000" }, { "id": "347859", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Yes, if it's not already been updated.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-03-31T01:45:38.000+0000", "updated": "2015-03-31T01:45:38.000+0000" }, { "id": "347936", "author": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "body": "And update https://github.com/appcelerator/titanium_releases/blob/master/titanium.json", "updateAuthor": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-03-31T16:05:36.000+0000", "updated": "2015-03-31T16:05:36.000+0000" }, { "id": "348067", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "[~jalter] PR for https://github.com/appcelerator/titanium_releases/blob/master/titanium.json -> https://github.com/appcelerator/titanium_releases/pull/6", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2015-04-01T03:22:33.000+0000", "updated": "2015-04-01T03:22:33.000+0000" }, { "id": "348116", "author": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~msamah] Looks good, I merged it. In the future, you don't need to do a PR for titanium_releases ... just push your change up.\r\nDon't forget to update the module in the master branch: https://github.com/appcelerator/titanium_mobile/tree/master/support/module/packaged\r\nand maybe the 4_0_X branch as well...\r\n\r\n[~ingo] do we also want the latest ti.map for android in the 4_0_X branch? ", "updateAuthor": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-04-01T15:55:34.000+0000", "updated": "2015-04-01T15:55:34.000+0000" }, { "id": "348117", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~jalter] yes, please", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-04-01T15:58:11.000+0000", "updated": "2015-04-01T15:58:11.000+0000" }, { "id": "348248", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "[~jalter] Ok. Noted for the titanium_releases. \r\nIf you could review and merge them.\r\nMaster PR: https://github.com/appcelerator/titanium_mobile/pull/6748\r\n4_0_X PR: https://github.com/appcelerator/titanium_mobile/pull/6749 ", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2015-04-02T02:42:32.000+0000", "updated": "2015-04-02T02:42:32.000+0000" }, { "id": "348311", "author": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~msamah] Merged", "updateAuthor": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-04-02T14:37:32.000+0000", "updated": "2015-04-02T14:37:32.000+0000" }, { "id": "350196", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Verified using:\r\n\r\nMac OSX 10.10.2\r\nAppc Studio: 4.0.0.201504161435\r\nTitanium SDK build: 4.0.0.v20150417113416\r\nAppc CLI (NPM): 0.3.45\r\nAppc CLI (Registry): 0.2.250\r\nSamsung Galaxy S4 (4.4.4)\r\n\r\nUsing the test code provided by Hieu built to device, when clicking 'About' the app no longer crashes.\r\n\r\nClosing ticket.", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2015-04-21T01:21:37.000+0000", "updated": "2015-04-21T01:21:37.000+0000" }, { "id": "351055", "author": { "name": "max87", "key": "max87", "displayName": "Marian Kucharcik", "active": true, "timeZone": "Europe/Prague" }, "body": "Hello guys,\r\ncan you please help me how to fix this bug? I use com.tripvi.drawerlayout module in my Android app, have map view in centerView created with parameter fragmentOnly:true, but application still crashes.\r\nI use Titanium Studio, build: 3.4.1.201410281727, Ti SDK 3.5.1, tested on Motorola Moto G(2nd Generation), Android 4.4.4\r\nThank you.\r\n\r\nBest regards,\r\nMarian Kucharcik", "updateAuthor": { "name": "max87", "key": "max87", "displayName": "Marian Kucharcik", "active": true, "timeZone": "Europe/Prague" }, "created": "2015-04-28T22:49:38.000+0000", "updated": "2015-04-28T22:49:38.000+0000" }, { "id": "351092", "author": { "name": "mano_mykingdom", "key": "mano_mykingdom", "displayName": "Manojkumar Murugesan", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Hi Marian,\r\n\r\n This issue was fixed with SDK 4.0.0. And you must go with the updated module here https://github.com/manumaticx/Ti.DrawerLayout", "updateAuthor": { "name": "mano_mykingdom", "key": "mano_mykingdom", "displayName": "Manojkumar Murugesan", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2015-04-29T03:27:34.000+0000", "updated": "2015-04-29T03:27:34.000+0000" }, { "id": "351102", "author": { "name": "max87", "key": "max87", "displayName": "Marian Kucharcik", "active": true, "timeZone": "Europe/Prague" }, "body": "Hi Manoj,\r\nI installed Appcelerator Platform Studio with SDK 4.0.0 RC, Ti.Drawer module 1.3.0, app no longer crashes with map, but I can't load map view - it throws error Unable to load map, screen with map is black. I tried create several keystores and add it to Android Developer console, but it's not working. Can you please help me with this?\r\nThank you", "updateAuthor": { "name": "max87", "key": "max87", "displayName": "Marian Kucharcik", "active": true, "timeZone": "Europe/Prague" }, "created": "2015-04-29T06:38:19.000+0000", "updated": "2015-04-29T06:38:19.000+0000" }, { "id": "351124", "author": { "name": "max87", "key": "max87", "displayName": "Marian Kucharcik", "active": true, "timeZone": "Europe/Prague" }, "body": "Hello Manoj,\r\nI changed parameter fragmentOnly to false in map view constructor, map view is working but I have to comment TiDrawer code so I can't use it as side menu... Can you please help me with this?\r\nThank you", "updateAuthor": { "name": "max87", "key": "max87", "displayName": "Marian Kucharcik", "active": true, "timeZone": "Europe/Prague" }, "created": "2015-04-29T11:02:57.000+0000", "updated": "2015-04-29T11:02:57.000+0000" }, { "id": "351907", "author": { "name": "mano_mykingdom", "key": "mano_mykingdom", "displayName": "Manojkumar Murugesan", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Hi Hieu,\r\n \r\n This is still a issue - https://github.com/manumaticx/Ti.DrawerLayout/issues/31\r\n\r\nMap view as center view works fine but placing map view on a wrapper view and set the same as center view, never let the map load.\r\n\r\n{code:title=Test Case}\r\nvar TiDrawerLayout = require('com.tripvi.drawerlayout');\r\nvar Map = require(\"ti.map\");\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor : 'white'\r\n});\r\nvar drawer = TiDrawerLayout.createDrawer();\r\nvar menu = Ti.UI.createTableView({\r\n data : [{\r\n title : \"Home\"\r\n }, {\r\n title : \"About\"\r\n }]\r\n});\r\nvar wrapperView = Ti.UI.createView({\r\n backgroundColor : 'orange',\r\n});\r\nwrapperView.add(Ti.UI.createLabel({\r\n top : 10,\r\n text : \"I would like to place a list view or some other compoent here, now map never loads\",\r\n color : \"#fff\"\r\n}));\r\nvar mapview = Map.createView({\r\n bottom : 0,\r\n height : \"50%\",\r\n fragmentOnly : true\r\n});\r\nwrapperView.add(mapview);\r\ndrawer.setLeftView(menu);\r\ndrawer.setCenterView(wrapperView);\r\nwin.add(drawer);\r\nwin.open();\r\n{code}", "updateAuthor": { "name": "mano_mykingdom", "key": "mano_mykingdom", "displayName": "Manojkumar Murugesan", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2015-05-07T07:41:23.000+0000", "updated": "2015-05-07T07:41:23.000+0000" }, { "id": "351922", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "@Manoj can you please file a separate ticket for that issue?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-05-07T12:59:07.000+0000", "updated": "2015-05-07T12:59:07.000+0000" }, { "id": "351928", "author": { "name": "mano_mykingdom", "key": "mano_mykingdom", "displayName": "Manojkumar Murugesan", "active": true, "timeZone": "Asia/Kolkata" }, "body": "@Ingo Muschenetz, created a separate ticket here TIMOB-18876. I have been following this issue for a year, this makes me to stay away from the fancy drawer layout widget. Hope this can be fixed in the upcoming release.", "updateAuthor": { "name": "mano_mykingdom", "key": "mano_mykingdom", "displayName": "Manojkumar Murugesan", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2015-05-07T13:37:23.000+0000", "updated": "2015-05-07T13:37:23.000+0000" } ], "maxResults": 33, "total": 33, "startAt": 0 } } }