{"action":"created","issue":{"url":"https://api.github.com/repos/crazycodeboy/react-native-splash-screen/issues/127","repository_url":"https://api.github.com/repos/crazycodeboy/react-native-splash-screen","labels_url":"https://api.github.com/repos/crazycodeboy/react-native-splash-screen/issues/127/labels{/name}","comments_url":"https://api.github.com/repos/crazycodeboy/react-native-splash-screen/issues/127/comments","events_url":"https://api.github.com/repos/crazycodeboy/react-native-splash-screen/issues/127/events","html_url":"https://github.com/crazycodeboy/react-native-splash-screen/issues/127","id":275186834,"number":127,"title":"Not working with modified MainActivity for react-native-navigation","user":{"login":"kenma9123","id":1641990,"avatar_url":"https://avatars1.githubusercontent.com/u/1641990?v=4","gravatar_id":"","url":"https://api.github.com/users/kenma9123","html_url":"https://github.com/kenma9123","followers_url":"https://api.github.com/users/kenma9123/followers","following_url":"https://api.github.com/users/kenma9123/following{/other_user}","gists_url":"https://api.github.com/users/kenma9123/gists{/gist_id}","starred_url":"https://api.github.com/users/kenma9123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenma9123/subscriptions","organizations_url":"https://api.github.com/users/kenma9123/orgs","repos_url":"https://api.github.com/users/kenma9123/repos","events_url":"https://api.github.com/users/kenma9123/events{/privacy}","received_events_url":"https://api.github.com/users/kenma9123/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-11-19T19:56:46Z","updated_at":"2017-11-22T16:25:49Z","closed_at":null,"author_association":"NONE","body":"Unfortunately the app crash on launch. Maybe this is due to the fact that the mainactivity class has been modified which extends the `SplashActivity` from `com.reactnativenavigation.controllers.SplashActivity` rather than the old school `ReactActivity` class.\r\n\r\nYes, I'm using the `react-native-navigation` by wix (https://github.com/wix/react-native-navigation)\r\n\r\nHere's the full code of my `MainActivity.java`,  maybe I'm just doing something wrong.\r\n```java\r\nimport org.devio.rn.splashscreen.SplashScreen;\r\nimport com.reactnativenavigation.controllers.SplashActivity;\r\nimport android.os.Bundle;\r\n\r\npublic class MainActivity extends SplashActivity {\r\n\r\n    @Override\r\n    protected void onCreate(Bundle savedInstanceState) {\r\n        SplashScreen.show(this);  // here\r\n        super.onCreate(savedInstanceState);\r\n    }\r\n}\r\n```\r\n\r\nIf anyone had a similar problem, please let me know for any solution thanks."},"comment":{"url":"https://api.github.com/repos/crazycodeboy/react-native-splash-screen/issues/comments/346401800","html_url":"https://github.com/crazycodeboy/react-native-splash-screen/issues/127#issuecomment-346401800","issue_url":"https://api.github.com/repos/crazycodeboy/react-native-splash-screen/issues/127","id":346401800,"user":{"login":"kenma9123","id":1641990,"avatar_url":"https://avatars1.githubusercontent.com/u/1641990?v=4","gravatar_id":"","url":"https://api.github.com/users/kenma9123","html_url":"https://github.com/kenma9123","followers_url":"https://api.github.com/users/kenma9123/followers","following_url":"https://api.github.com/users/kenma9123/following{/other_user}","gists_url":"https://api.github.com/users/kenma9123/gists{/gist_id}","starred_url":"https://api.github.com/users/kenma9123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenma9123/subscriptions","organizations_url":"https://api.github.com/users/kenma9123/orgs","repos_url":"https://api.github.com/users/kenma9123/repos","events_url":"https://api.github.com/users/kenma9123/events{/privacy}","received_events_url":"https://api.github.com/users/kenma9123/received_events","type":"User","site_admin":false},"created_at":"2017-11-22T16:25:49Z","updated_at":"2017-11-22T16:25:49Z","author_association":"NONE","body":"@MisterAlex95 that's a different splash screen library. That's `react-native-splashscreen` by remobile not `react-native-splash-screen` by crazycodeboy. But I probably try that if it really works."}}
{"actor":{"display_login":"kenma9123"}}