{"action":"created","issue":{"url":"https://api.github.com/repos/marcuswestin/WebViewJavascriptBridge/issues/108","labels_url":"https://api.github.com/repos/marcuswestin/WebViewJavascriptBridge/issues/108/labels{/name}","comments_url":"https://api.github.com/repos/marcuswestin/WebViewJavascriptBridge/issues/108/comments","events_url":"https://api.github.com/repos/marcuswestin/WebViewJavascriptBridge/issues/108/events","html_url":"https://github.com/marcuswestin/WebViewJavascriptBridge/issues/108","id":47949970,"number":108,"title":"I couldn't receive the JS's response.","user":{"login":"jkyin","id":1644903,"avatar_url":"https://avatars.githubusercontent.com/u/1644903?v=3","gravatar_id":"","url":"https://api.github.com/users/jkyin","html_url":"https://github.com/jkyin","followers_url":"https://api.github.com/users/jkyin/followers","following_url":"https://api.github.com/users/jkyin/following{/other_user}","gists_url":"https://api.github.com/users/jkyin/gists{/gist_id}","starred_url":"https://api.github.com/users/jkyin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkyin/subscriptions","organizations_url":"https://api.github.com/users/jkyin/orgs","repos_url":"https://api.github.com/users/jkyin/repos","events_url":"https://api.github.com/users/jkyin/events{/privacy}","received_events_url":"https://api.github.com/users/jkyin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2014-11-06T11:05:13Z","updated_at":"2015-12-22T08:28:17Z","closed_at":"2014-12-15T20:03:36Z","body":"When I make WebViewJavascriptBridge to a static library, I could not get js response. Why?\r\n\r\nIt works, If not to static library. But I need it as library. Can you help me?"},"comment":{"url":"https://api.github.com/repos/marcuswestin/WebViewJavascriptBridge/issues/comments/166552273","html_url":"https://github.com/marcuswestin/WebViewJavascriptBridge/issues/108#issuecomment-166552273","issue_url":"https://api.github.com/repos/marcuswestin/WebViewJavascriptBridge/issues/108","id":166552273,"user":{"login":"davyzhang","id":576863,"avatar_url":"https://avatars.githubusercontent.com/u/576863?v=3","gravatar_id":"","url":"https://api.github.com/users/davyzhang","html_url":"https://github.com/davyzhang","followers_url":"https://api.github.com/users/davyzhang/followers","following_url":"https://api.github.com/users/davyzhang/following{/other_user}","gists_url":"https://api.github.com/users/davyzhang/gists{/gist_id}","starred_url":"https://api.github.com/users/davyzhang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davyzhang/subscriptions","organizations_url":"https://api.github.com/users/davyzhang/orgs","repos_url":"https://api.github.com/users/davyzhang/repos","events_url":"https://api.github.com/users/davyzhang/events{/privacy}","received_events_url":"https://api.github.com/users/davyzhang/received_events","type":"User","site_admin":false},"created_at":"2015-12-22T08:28:17Z","updated_at":"2015-12-22T08:28:17Z","body":"Maybe a little bit late, but I ran into the same issue today. And I finally made my code work thanks to this post. The true reason is actually not the static lib or class, it is the way that I packed this class as part of framework. So the bundle path should be something like \"Framework/xxx.framework/xxx.bundle\"  instead of main bundle. Fortunately there's a resbundle parameter when init the class, which can carry my own bundle other than the default one. Great work."}}