{"action":"created","issue":{"url":"https://api.github.com/repos/wix/react-native-navigation/issues/3468","repository_url":"https://api.github.com/repos/wix/react-native-navigation","labels_url":"https://api.github.com/repos/wix/react-native-navigation/issues/3468/labels{/name}","comments_url":"https://api.github.com/repos/wix/react-native-navigation/issues/3468/comments","events_url":"https://api.github.com/repos/wix/react-native-navigation/issues/3468/events","html_url":"https://github.com/wix/react-native-navigation/issues/3468","id":337264486,"node_id":"MDU6SXNzdWUzMzcyNjQ0ODY=","number":3468,"title":"[V2] showModal not working on 0.56.rc4","user":{"login":"jp928","id":659612,"node_id":"MDQ6VXNlcjY1OTYxMg==","avatar_url":"https://avatars3.githubusercontent.com/u/659612?v=4","gravatar_id":"","url":"https://api.github.com/users/jp928","html_url":"https://github.com/jp928","followers_url":"https://api.github.com/users/jp928/followers","following_url":"https://api.github.com/users/jp928/following{/other_user}","gists_url":"https://api.github.com/users/jp928/gists{/gist_id}","starred_url":"https://api.github.com/users/jp928/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jp928/subscriptions","organizations_url":"https://api.github.com/users/jp928/orgs","repos_url":"https://api.github.com/users/jp928/repos","events_url":"https://api.github.com/users/jp928/events{/privacy}","received_events_url":"https://api.github.com/users/jp928/received_events","type":"User","site_admin":false},"labels":[{"id":534815686,"node_id":"MDU6TGFiZWw1MzQ4MTU2ODY=","url":"https://api.github.com/repos/wix/react-native-navigation/labels/platform:%20iOS","name":"platform: iOS","color":"c2e0c6","default":false},{"id":430104061,"node_id":"MDU6TGFiZWw0MzAxMDQwNjE=","url":"https://api.github.com/repos/wix/react-native-navigation/labels/user:%20more%20info%20needed","name":"user: more info needed","color":"0052cc","default":false},{"id":602711689,"node_id":"MDU6TGFiZWw2MDI3MTE2ODk=","url":"https://api.github.com/repos/wix/react-native-navigation/labels/v2","name":"v2","color":"5319e7","default":false}],"state":"open","locked":false,"assignee":{"login":"yogevbd","id":10794586,"node_id":"MDQ6VXNlcjEwNzk0NTg2","avatar_url":"https://avatars1.githubusercontent.com/u/10794586?v=4","gravatar_id":"","url":"https://api.github.com/users/yogevbd","html_url":"https://github.com/yogevbd","followers_url":"https://api.github.com/users/yogevbd/followers","following_url":"https://api.github.com/users/yogevbd/following{/other_user}","gists_url":"https://api.github.com/users/yogevbd/gists{/gist_id}","starred_url":"https://api.github.com/users/yogevbd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yogevbd/subscriptions","organizations_url":"https://api.github.com/users/yogevbd/orgs","repos_url":"https://api.github.com/users/yogevbd/repos","events_url":"https://api.github.com/users/yogevbd/events{/privacy}","received_events_url":"https://api.github.com/users/yogevbd/received_events","type":"User","site_admin":false},"assignees":[{"login":"yogevbd","id":10794586,"node_id":"MDQ6VXNlcjEwNzk0NTg2","avatar_url":"https://avatars1.githubusercontent.com/u/10794586?v=4","gravatar_id":"","url":"https://api.github.com/users/yogevbd","html_url":"https://github.com/yogevbd","followers_url":"https://api.github.com/users/yogevbd/followers","following_url":"https://api.github.com/users/yogevbd/following{/other_user}","gists_url":"https://api.github.com/users/yogevbd/gists{/gist_id}","starred_url":"https://api.github.com/users/yogevbd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yogevbd/subscriptions","organizations_url":"https://api.github.com/users/yogevbd/orgs","repos_url":"https://api.github.com/users/yogevbd/repos","events_url":"https://api.github.com/users/yogevbd/events{/privacy}","received_events_url":"https://api.github.com/users/yogevbd/received_events","type":"User","site_admin":false}],"milestone":null,"comments":8,"created_at":"2018-07-01T05:14:29Z","updated_at":"2018-07-16T21:36:23Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"<!--\r\n  Please post questions in Stack Overflow under the react-native-navigation tag\r\n  https://stackoverflow.com/questions/tagged/react-native-navigation\r\n-->\r\n\r\n### Issue Description\r\nNavigation.showModal quit the app immediately\r\n\r\n### Steps to Reproduce / Code Snippets / Screenshots\r\n\r\n```javascrip\r\n\r\nNavigation.showModal({\r\n  stack: {\r\n    children: [{\r\n      component: {\r\n         name: 'test.Screen'\r\n      }\r\n    }]\r\n  }\r\n});\r\n```\r\n\r\n\r\n---\r\n### Environment\r\n* React Native Navigation version: 2.0.2381\r\n* React Native version: 0.56.rc4\r\n* Platform(s) (iOS, Android, or both?): IOS\r\n* Device info (Simulator/Device? OS version? Debug/Release?): Simulator, IOS 10.0, Debug\r\n"},"comment":{"url":"https://api.github.com/repos/wix/react-native-navigation/issues/comments/405389610","html_url":"https://github.com/wix/react-native-navigation/issues/3468#issuecomment-405389610","issue_url":"https://api.github.com/repos/wix/react-native-navigation/issues/3468","id":405389610,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNTM4OTYxMA==","user":{"login":"luskin","id":5702322,"node_id":"MDQ6VXNlcjU3MDIzMjI=","avatar_url":"https://avatars3.githubusercontent.com/u/5702322?v=4","gravatar_id":"","url":"https://api.github.com/users/luskin","html_url":"https://github.com/luskin","followers_url":"https://api.github.com/users/luskin/followers","following_url":"https://api.github.com/users/luskin/following{/other_user}","gists_url":"https://api.github.com/users/luskin/gists{/gist_id}","starred_url":"https://api.github.com/users/luskin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luskin/subscriptions","organizations_url":"https://api.github.com/users/luskin/orgs","repos_url":"https://api.github.com/users/luskin/repos","events_url":"https://api.github.com/users/luskin/events{/privacy}","received_events_url":"https://api.github.com/users/luskin/received_events","type":"User","site_admin":false},"created_at":"2018-07-16T21:36:23Z","updated_at":"2018-07-16T21:36:23Z","author_association":"NONE","body":"@guyca Here is our stack trace. Happens every time we try and call `showModal` on `0.56.0`\r\n\r\n```\r\n2018-07-16 14:34:43.129914-0700 Driver[75622:3215909] -[RCTModalHostViewController getLeafViewController]: unrecognized selector sent to instance 0x7f9ed8b39b90\r\n2018-07-16 14:34:43.134 [fatal][tid:main] Exception '-[RCTModalHostViewController getLeafViewController]: unrecognized selector sent to instance 0x7f9ed8b39b90' was thrown while invoking showModal on target RNNBridgeModule with params (\r\n    showModal18,\r\n        {\r\n        children =         (\r\n                        {\r\n                children =                 (\r\n                );\r\n                data =                 {\r\n                    name = \"Driver.SignatureCapture\";\r\n                    options =                     {\r\n                        topBar =                         {\r\n                            animate = 0;\r\n                            drawBehind = 1;\r\n                            visible = 0;\r\n                        };\r\n                    };\r\n                    passProps =                     {\r\n                        *********: **************\";\r\n                    };\r\n                };\r\n                id = Component17;\r\n                type = Component;\r\n            }\r\n        );\r\n        data =         {\r\n        };\r\n        id = Stack16;\r\n        type = Stack;\r\n    },\r\n    4244,\r\n    4245\r\n)\r\ncallstack: (\r\n\t0   CoreFoundation                      0x000000011860b1e6 __exceptionPreprocess + 294\r\n\t1   libobjc.A.dylib                     0x000000011785f031 objc_exception_throw + 48\r\n\t2   CoreFoundation                      0x000000011868c784 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132\r\n\t3   UIKit                               0x0000000114fef6db -[UIResponder doesNotRecognizeSelector:] + 295\r\n\t4   CoreFoundation                      0x000000011858d898 ___forwarding___ + 1432\r\n\t5   CoreFoundation                      0x000000011858d278 _CF_forwarding_prep_0 + 120\r\n\t6   Driver                              0x000000010e9b7294 -[RNNModalManager showModalAfterLoad:] + 116\r\n\t7   Driver                              0x000000010e9b7b2a __40-[RNNModalManager showModal:completion:]_block_invoke + 42\r\n\t8   Driver                              0x000000010e98b741 -[RNNRootViewController waitForReactViewRender:perform:] + 97\r\n\t9   Driver                              0x000000010e9b7a75 -[RNNModalManager showModal:completion:] + 1061\r\n\t10  Driver                              0x000000010e9e9e9d -[RNNCommandsHandler showModal:completion:] + 333\r\n\t11  Driver                              0x000000010e9b638e -[RNNBridgeModule showModal:layout:resolver:rejecter:] + 270\r\n\t12  CoreFoundation                      0x000000011858eccc __invoking___ + 140\r\n\t13  CoreFoundation                      0x000000011858eb84 -[NSInvocation invoke] + 308\r\n\t14  CoreFoundation                      0x00000001185a78d6 -[NSInvocation invokeWithTarget:] + 54\r\n\t15  Driver                              0x000000010e31c30c -[RCTModuleMethod invokeWithBridge:module:arguments:] + 2796\r\n\t16  Driver                              0x000000010e3d2352 _ZN8facebook5reactL11invokeInnerEP9RCTBridgeP13RCTModuleDatajRKN5folly7dynamicE + 786\r\n\t17  Driver                              0x000000010e3d1e7f _ZZN8facebook5react15RCTNativeModule6invokeEjON5folly7dynamicEiENK3$_0clEv + 127\r\n\t18  Driver                              0x000000010e3d1df9 ___ZN8facebook5react15RCTNativeModule6invokeEjON5folly7dynamicEi_block_invoke + 25\r\n\t19  libdispatch.dylib                   0x0000000119b857ab _dispatch_call_block_and_release + 12\r\n\t20  libdispatch.dylib                   0x0000000119b867ec _dispatch_client_callout + 8\r\n\t21  libdispatch.dylib                   0x0000000119b918cf _dispatch_main_queue_callback_4CF + 628\r\n\t22  CoreFoundation                      0x00000001185cdc99 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9\r\n\t23  CoreFoundation                      0x0000000118591ea6 __CFRunLoopRun + 2342\r\n\t24  CoreFoundation                      0x000000011859130b CFRunLoopRunSpecific + 635\r\n\t25  GraphicsServices                    0x000000011b4f4a73 GSEventRunModal + 62\r\n\t26  UIKit                               0x0000000114dc1057 UIApplicationMain + 159\r\n\t27  Driver                              0x000000010dff801f main + 111\r\n\t28  libdyld.dylib                       0x0000000119c03955 start + 1\r\n)\r\n```"}}
{"actor":{"display_login":"luskin"}}