{"action":"created","issue":{"url":"https://api.github.com/repos/react-native-community/react-native-svg/issues/689","repository_url":"https://api.github.com/repos/react-native-community/react-native-svg","labels_url":"https://api.github.com/repos/react-native-community/react-native-svg/issues/689/labels{/name}","comments_url":"https://api.github.com/repos/react-native-community/react-native-svg/issues/689/comments","events_url":"https://api.github.com/repos/react-native-community/react-native-svg/issues/689/events","html_url":"https://github.com/react-native-community/react-native-svg/issues/689","id":323294035,"number":689,"title":"render svg crash app on Android","user":{"login":"fedeerbes","id":18606335,"avatar_url":"https://avatars1.githubusercontent.com/u/18606335?v=4","gravatar_id":"","url":"https://api.github.com/users/fedeerbes","html_url":"https://github.com/fedeerbes","followers_url":"https://api.github.com/users/fedeerbes/followers","following_url":"https://api.github.com/users/fedeerbes/following{/other_user}","gists_url":"https://api.github.com/users/fedeerbes/gists{/gist_id}","starred_url":"https://api.github.com/users/fedeerbes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fedeerbes/subscriptions","organizations_url":"https://api.github.com/users/fedeerbes/orgs","repos_url":"https://api.github.com/users/fedeerbes/repos","events_url":"https://api.github.com/users/fedeerbes/events{/privacy}","received_events_url":"https://api.github.com/users/fedeerbes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2018-05-15T16:32:01Z","updated_at":"2018-05-16T09:42:30Z","closed_at":null,"author_association":"NONE","body":"Hi, since yesterday, we have this error on react native android [19262](https://github.com/facebook/react-native/issues/19262). \r\n\r\nI fixed with the workaround (\"com.facebook.react:react-native:0.49.5\") { force = true } en android/app/gradle.build\r\n\r\nbut when i do it, on every render of svg my app crash. If the svg is commented work fine \r\n\r\n# Environment\r\nEnvironment:\r\nOS: macOS High Sierra v10.13\r\nNode: 9.4.0\r\nAndroid Studio: Not Found\r\n\r\nPackages: (installed)\r\n\"react\": \"16.0.0-beta.5\"\r\n\"react-native\": \"0.49.5\",\r\n\"react-native-svg\": \"5.5.1\",\r\n\r\n# Steps to Reproduce\r\nFix the probleme of [19262](https://github.com/facebook/react-native/issues/19262) and build android .apk normally \r\n\r\n# Actual Behavior\r\nApp crash on svg render\r\n\r\n# Stack trace error on android studio\r\n05-15 13:04:17.288 16375-16375/com.packageName E/BoostFramework: BoostFramework() : Exception_1 = java.lang.ClassNotFoundException: Didn't find class \"com.qualcomm.qti.Performance\" on path: DexPathList[[],nativeLibraryDirectories=[/system/lib, /vendor/lib]]\r\n05-15 13:04:17.558 16375-16420/com.packageName E/AndroidRuntime: FATAL EXCEPTION: mqt_native_modules\r\n                                                          Process: com.packageName, PID: 16375\r\n                                                          java.lang.NoSuchMethodError: No virtual method getChildAt(I)Lcom/facebook/react/uimanager/ReactShadowNodeImpl; in class Lcom/horcrux/svg/SvgViewShadowNode; or its super classes (declaration of 'com.horcrux.svg.SvgViewShadowNode' appears in /data/app/com.packageName-1/base.apk)\r\n                                                              at com.horcrux.svg.SvgViewShadowNode.drawChildren(SvgViewShadowNode.java:139)\r\n                                                              at com.horcrux.svg.SvgViewShadowNode.drawOutput(SvgViewShadowNode.java:119)\r\n                                                              at com.horcrux.svg.SvgViewShadowNode.onCollectExtraUpdates(SvgViewShadowNode.java:103)\r\n                                                              at com.facebook.react.uimanager.ReactShadowNode.dispatchUpdates(ReactShadowNode.java:300)\r\n                                                              at com.facebook.react.uimanager.UIImplementation.applyUpdatesRecursive(UIImplementation.java:866)\r\n                                                              at com.facebook.react.uimanager.UIImplementation.applyUpdatesRecursive(UIImplementation.java:857)\r\n                                                              at com.facebook.react.uimanager.UIImplementation.applyUpdatesRecursive(UIImplementation.java:857)\r\n                                                              at com.facebook.react.uimanager.UIImplementation.applyUpdatesRecursive(UIImplementation.java:857)\r\n                                                              at com.facebook.react.uimanager.UIImplementation.applyUpdatesRecursive(UIImplementation.java:857)\r\n                                                              at com.facebook.react.uimanager.UIImplementation.applyUpdatesRecursive(UIImplementation.java:857)\r\n                                                              at com.facebook.react.uimanager.UIImplementation.applyUpdatesRecursive(UIImplementation.java:857)\r\n                                                              at com.facebook.react.uimanager.UIImplementation.applyUpdatesRecursive(UIImplementation.java:857)\r\n                                                              at com.facebook.react.uimanager.UIImplementation.applyUpdatesRecursive(UIImplementation.java:857)\r\n                                                              at com.facebook.react.uimanager.UIImplementation.applyUpdatesRecursive(UIImplementation.java:857)\r\n                                                              at com.facebook.react.uimanager.UIImplementation.updateViewHierarchy(UIImplementation.java:604)\r\n                                                              at com.facebook.react.uimanager.UIImplementation.dispatchViewUpdates(UIImplementation.java:570)\r\n                                                              at com.facebook.react.uimanager.UIManagerModule.onBatchComplete(UIManagerModule.java:531)\r\n                                                              at com.facebook.react.bridge.NativeModuleRegistry.onBatchComplete(NativeModuleRegistry.java:136)\r\n                                                              at com.facebook.react.bridge.CatalystInstanceImpl$BridgeCallback.onBatchComplete(CatalystInstanceImpl.java:143)\r\n                                                              at com.facebook.react.bridge.queue.NativeRunnable.run(Native Method)\r\n                                                              at android.os.Handler.handleCallback(Handler.java:751)\r\n                                                              at android.os.Handler.dispatchMessage(Handler.java:95)\r\n                                                              at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:31)\r\n                                                              at android.os.Looper.loop(Looper.java:154)\r\n                                                              at com.facebook.react.bridge.queue.MessageQueueThreadImpl$3.run(MessageQueueThreadImpl.java:194)\r\n                                                              at java.lang.Thread.run(Thread.java:762)"},"comment":{"url":"https://api.github.com/repos/react-native-community/react-native-svg/issues/comments/389459826","html_url":"https://github.com/react-native-community/react-native-svg/issues/689#issuecomment-389459826","issue_url":"https://api.github.com/repos/react-native-community/react-native-svg/issues/689","id":389459826,"user":{"login":"sajjukarki123","id":28673578,"avatar_url":"https://avatars1.githubusercontent.com/u/28673578?v=4","gravatar_id":"","url":"https://api.github.com/users/sajjukarki123","html_url":"https://github.com/sajjukarki123","followers_url":"https://api.github.com/users/sajjukarki123/followers","following_url":"https://api.github.com/users/sajjukarki123/following{/other_user}","gists_url":"https://api.github.com/users/sajjukarki123/gists{/gist_id}","starred_url":"https://api.github.com/users/sajjukarki123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sajjukarki123/subscriptions","organizations_url":"https://api.github.com/users/sajjukarki123/orgs","repos_url":"https://api.github.com/users/sajjukarki123/repos","events_url":"https://api.github.com/users/sajjukarki123/events{/privacy}","received_events_url":"https://api.github.com/users/sajjukarki123/received_events","type":"User","site_admin":false},"created_at":"2018-05-16T09:42:30Z","updated_at":"2018-05-16T09:42:30Z","author_association":"NONE","body":"Yes, you are right @ichiyouji . I hope its a temporary solution until we find something better without making changes to the node_module. "}}
{"actor":{"display_login":"sajjukarki123"}}