{"action":"created","issue":{"url":"https://api.github.com/repos/alinz/react-native-webview-bridge/issues/22","labels_url":"https://api.github.com/repos/alinz/react-native-webview-bridge/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/alinz/react-native-webview-bridge/issues/22/comments","events_url":"https://api.github.com/repos/alinz/react-native-webview-bridge/issues/22/events","html_url":"https://github.com/alinz/react-native-webview-bridge/issues/22","id":104249968,"number":22,"title":"Crashes app while navigating webView pages from one to other","user":{"login":"tazmattaz","id":5258591,"avatar_url":"https://avatars.githubusercontent.com/u/5258591?v=3","gravatar_id":"","url":"https://api.github.com/users/tazmattaz","html_url":"https://github.com/tazmattaz","followers_url":"https://api.github.com/users/tazmattaz/followers","following_url":"https://api.github.com/users/tazmattaz/following{/other_user}","gists_url":"https://api.github.com/users/tazmattaz/gists{/gist_id}","starred_url":"https://api.github.com/users/tazmattaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tazmattaz/subscriptions","organizations_url":"https://api.github.com/users/tazmattaz/orgs","repos_url":"https://api.github.com/users/tazmattaz/repos","events_url":"https://api.github.com/users/tazmattaz/events{/privacy}","received_events_url":"https://api.github.com/users/tazmattaz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-01T12:01:57Z","updated_at":"2015-09-28T19:03:57Z","closed_at":null,"body":"Hello,\r\n\r\nI am facing crash issue with webView Bridge. When I navigate to webViewBridge page and before loading that page click on back button my app is crashing.\r\nWhen I send quick messages from webView to react native its crashing too (with backspace - deleting content from webview textarea and sending content to react native on change).\r\n\r\nMost of cases app is stuck into below line:\r\n\"\" RCTLogMustFix(@\"Invalid view returned from registry, expecting RKWebView, got: %@\", view); \"\"\r\n\r\nFull fucntion from file:\r\n\r\nRCT_EXPORT_METHOD(callbackCleanup:(nonnull NSNumber *)reactTag)\r\n{\r\n  [self.bridge.uiManager addUIBlock:^(RCTUIManager *uiManager, RCTSparseArray *viewRegistry) {\r\n    RCTWebView *view = viewRegistry[reactTag];\r\n    if (![view isKindOfClass:[RCTWebView class]]) {\r\n      RCTLogMustFix(@\"Invalid view returned from registry, expecting RKWebView, got: %@\", view);\r\n    }\r\n\r\n    [view callbackCleanup:reactTag];\r\n  }];\r\n}\r\n\r\n\r\nThanks in advance.\r\n"},"comment":{"url":"https://api.github.com/repos/alinz/react-native-webview-bridge/issues/comments/143845349","html_url":"https://github.com/alinz/react-native-webview-bridge/issues/22#issuecomment-143845349","issue_url":"https://api.github.com/repos/alinz/react-native-webview-bridge/issues/22","id":143845349,"user":{"login":"alinz","id":967050,"avatar_url":"https://avatars.githubusercontent.com/u/967050?v=3","gravatar_id":"","url":"https://api.github.com/users/alinz","html_url":"https://github.com/alinz","followers_url":"https://api.github.com/users/alinz/followers","following_url":"https://api.github.com/users/alinz/following{/other_user}","gists_url":"https://api.github.com/users/alinz/gists{/gist_id}","starred_url":"https://api.github.com/users/alinz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alinz/subscriptions","organizations_url":"https://api.github.com/users/alinz/orgs","repos_url":"https://api.github.com/users/alinz/repos","events_url":"https://api.github.com/users/alinz/events{/privacy}","received_events_url":"https://api.github.com/users/alinz/received_events","type":"User","site_admin":false},"created_at":"2015-09-28T19:03:57Z","updated_at":"2015-09-28T19:03:57Z","body":"@victorkas I have experiences this crash in simulator. However, in device, I haven't seen it yet. Have you seen this happening in device?"}}