{"action":"created","issue":{"url":"https://api.github.com/repos/Lichwa/react-native-file-picker/issues/3","repository_url":"https://api.github.com/repos/Lichwa/react-native-file-picker","labels_url":"https://api.github.com/repos/Lichwa/react-native-file-picker/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/Lichwa/react-native-file-picker/issues/3/comments","events_url":"https://api.github.com/repos/Lichwa/react-native-file-picker/issues/3/events","html_url":"https://github.com/Lichwa/react-native-file-picker/issues/3","id":190554316,"number":3,"title":"Crashing on android","user":{"login":"Venryx","id":5303978,"avatar_url":"https://avatars.githubusercontent.com/u/5303978?v=3","gravatar_id":"","url":"https://api.github.com/users/Venryx","html_url":"https://github.com/Venryx","followers_url":"https://api.github.com/users/Venryx/followers","following_url":"https://api.github.com/users/Venryx/following{/other_user}","gists_url":"https://api.github.com/users/Venryx/gists{/gist_id}","starred_url":"https://api.github.com/users/Venryx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Venryx/subscriptions","organizations_url":"https://api.github.com/users/Venryx/orgs","repos_url":"https://api.github.com/users/Venryx/repos","events_url":"https://api.github.com/users/Venryx/events{/privacy}","received_events_url":"https://api.github.com/users/Venryx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-20T12:01:41Z","updated_at":"2016-11-20T12:05:56Z","closed_at":null,"body":"Crashes on Android whenever I select a file, or even press the back button to cancel.\r\n\r\nNote that the Javascript handler is completely empty, so it's not due to my doing something strange post-selection.\r\n\r\nError stack trace:\r\n```\r\n11-20 06:05:31.027: D/AndroidRuntime(12249): Shutting down VM\r\n11-20 06:05:31.029: E/AndroidRuntime(12249): FATAL EXCEPTION: main\r\n11-20 06:05:31.029: E/AndroidRuntime(12249): Process: com.lucidlink, PID: 12249\r\n11-20 06:05:31.029: E/AndroidRuntime(12249): java.lang.AbstractMethodError: abstract method \"void com.facebook.react.bridge.ActivityEventListener.onActivityResult(android.app.Activity, int, int, android.content.Intent)\"\r\n11-20 06:05:31.029: E/AndroidRuntime(12249): \tat com.facebook.react.bridge.ReactContext.onActivityResult(ReactContext.java:260)\r\n11-20 06:05:31.029: E/AndroidRuntime(12249): \tat com.facebook.react.XReactInstanceManagerImpl.onActivityResult(XReactInstanceManagerImpl.java:627)\r\n11-20 06:05:31.029: E/AndroidRuntime(12249): \tat com.facebook.react.ReactActivityDelegate.onActivityResult(ReactActivityDelegate.java:135)\r\n11-20 06:05:31.029: E/AndroidRuntime(12249): \tat com.facebook.react.ReactActivity.onActivityResult(ReactActivity.java:77)\r\n11-20 06:05:31.029: E/AndroidRuntime(12249): \tat android.app.Activity.dispatchActivityResult(Activity.java:6192)\r\n11-20 06:05:31.029: E/AndroidRuntime(12249): \tat android.app.ActivityThread.deliverResults(ActivityThread.java:3570)\r\n11-20 06:05:31.029: E/AndroidRuntime(12249): \tat android.app.ActivityThread.handleSendResult(ActivityThread.java:3617)\r\n11-20 06:05:31.029: E/AndroidRuntime(12249): \tat android.app.ActivityThread.access$1300(ActivityThread.java:151)\r\n11-20 06:05:31.029: E/AndroidRuntime(12249): \tat android.app.ActivityThread$H.handleMessage(ActivityThread.java:1352)\r\n11-20 06:05:31.029: E/AndroidRuntime(12249): \tat android.os.Handler.dispatchMessage(Handler.java:102)\r\n11-20 06:05:31.029: E/AndroidRuntime(12249): \tat android.os.Looper.loop(Looper.java:135)\r\n11-20 06:05:31.029: E/AndroidRuntime(12249): \tat android.app.ActivityThread.main(ActivityThread.java:5254)\r\n11-20 06:05:31.029: E/AndroidRuntime(12249): \tat java.lang.reflect.Method.invoke(Native Method)\r\n11-20 06:05:31.029: E/AndroidRuntime(12249): \tat java.lang.reflect.Method.invoke(Method.java:372)\r\n11-20 06:05:31.029: E/AndroidRuntime(12249): \tat com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)\r\n11-20 06:05:31.029: E/AndroidRuntime(12249): \tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)\r\n11-20 06:05:33.508: I/Process(12249): Sending signal. PID: 12249 SIG: 9\r\n```"},"comment":{"url":"https://api.github.com/repos/Lichwa/react-native-file-picker/issues/comments/261774267","html_url":"https://github.com/Lichwa/react-native-file-picker/issues/3#issuecomment-261774267","issue_url":"https://api.github.com/repos/Lichwa/react-native-file-picker/issues/3","id":261774267,"user":{"login":"Venryx","id":5303978,"avatar_url":"https://avatars.githubusercontent.com/u/5303978?v=3","gravatar_id":"","url":"https://api.github.com/users/Venryx","html_url":"https://github.com/Venryx","followers_url":"https://api.github.com/users/Venryx/followers","following_url":"https://api.github.com/users/Venryx/following{/other_user}","gists_url":"https://api.github.com/users/Venryx/gists{/gist_id}","starred_url":"https://api.github.com/users/Venryx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Venryx/subscriptions","organizations_url":"https://api.github.com/users/Venryx/orgs","repos_url":"https://api.github.com/users/Venryx/repos","events_url":"https://api.github.com/users/Venryx/events{/privacy}","received_events_url":"https://api.github.com/users/Venryx/received_events","type":"User","site_admin":false},"created_at":"2016-11-20T12:05:56Z","updated_at":"2016-11-20T12:05:56Z","body":"Okay, I figured it out. Sort of. Enough to get it to work at least.\r\n\r\nApparently there are two versions of react-native getting used in my project: one for compile-time, on for run-time.\r\n\r\nThe run-time one wanted the onActivityResult method to have an Activity argument, like this:\r\npublic void onActivityResult(Activity activity, final int requestCode, final int resultCode, final Intent data) {}\r\n\r\nThe compile time one (older, apparently) did not want the Activity arg. So like this\r\npublic void onActivityResult(final int requestCode, final int resultCode, final Intent data) {}\r\n\r\nAnyway, thought I'd mention it on the remote chance it has something to do with this project, rather than just some oddity of how my project has evolved, as I've added and updated packages."}}
{"actor":{"display_login":"Venryx"}}