{"action":"created","issue":{"url":"https://api.github.com/repos/wix/react-native-navigation/issues/395","repository_url":"https://api.github.com/repos/wix/react-native-navigation","labels_url":"https://api.github.com/repos/wix/react-native-navigation/issues/395/labels{/name}","comments_url":"https://api.github.com/repos/wix/react-native-navigation/issues/395/comments","events_url":"https://api.github.com/repos/wix/react-native-navigation/issues/395/events","html_url":"https://github.com/wix/react-native-navigation/issues/395","id":184764336,"number":395,"title":"How to add 3rd analytics ?","user":{"login":"alexlipe","id":13032883,"avatar_url":"https://avatars.githubusercontent.com/u/13032883?v=3","gravatar_id":"","url":"https://api.github.com/users/alexlipe","html_url":"https://github.com/alexlipe","followers_url":"https://api.github.com/users/alexlipe/followers","following_url":"https://api.github.com/users/alexlipe/following{/other_user}","gists_url":"https://api.github.com/users/alexlipe/gists{/gist_id}","starred_url":"https://api.github.com/users/alexlipe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexlipe/subscriptions","organizations_url":"https://api.github.com/users/alexlipe/orgs","repos_url":"https://api.github.com/users/alexlipe/repos","events_url":"https://api.github.com/users/alexlipe/events{/privacy}","received_events_url":"https://api.github.com/users/alexlipe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-24T07:08:26Z","updated_at":"2016-10-24T07:42:16Z","closed_at":null,"body":"### Issue Description\r\n\r\nI want add some analytics into my project , and analytics must use onCreate(),onResume(),onPause(). Where can I insert it?   in  MainApplication.java or MainActivity.java?\r\n\r\n\r\n* React Native Navigation version: 2.0.0-experimental.133\r\n* React Native version: 0.31\r\n* Platform(s) (iOS, Android, or both?): android\r\n* Device info (Simulator/Device? OS version? Debug/Release?): all\r\n"},"comment":{"url":"https://api.github.com/repos/wix/react-native-navigation/issues/comments/255669586","html_url":"https://github.com/wix/react-native-navigation/issues/395#issuecomment-255669586","issue_url":"https://api.github.com/repos/wix/react-native-navigation/issues/395","id":255669586,"user":{"login":"beast","id":929830,"avatar_url":"https://avatars.githubusercontent.com/u/929830?v=3","gravatar_id":"","url":"https://api.github.com/users/beast","html_url":"https://github.com/beast","followers_url":"https://api.github.com/users/beast/followers","following_url":"https://api.github.com/users/beast/following{/other_user}","gists_url":"https://api.github.com/users/beast/gists{/gist_id}","starred_url":"https://api.github.com/users/beast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beast/subscriptions","organizations_url":"https://api.github.com/users/beast/orgs","repos_url":"https://api.github.com/users/beast/repos","events_url":"https://api.github.com/users/beast/events{/privacy}","received_events_url":"https://api.github.com/users/beast/received_events","type":"User","site_admin":false},"created_at":"2016-10-24T07:42:16Z","updated_at":"2016-10-24T07:42:16Z","body":"Just follow ru-umeng instructions and the WIX Navigation instruction here https://github.com/wix/react-native-navigation/wiki/Installation---Android\r\n\r\nBelow goes to MainApplication.java\r\n\r\n```\r\n@Override\r\nprotected void onResume() {\r\n    super.onResume();\r\n    MobclickAgent.onResume(this);\r\n}\r\n\r\n@Override\r\nprotected void onPause() {\r\n    super.onPause();\r\n    MobclickAgent.onPause(this);\r\n}\r\n\r\n  @NonNull\r\n  @Override\r\n  public List<ReactPackage> createAdditionalReactPackages() {\r\n\r\n    // Add the packages you require here.\r\n    return Arrays.<ReactPackage>asList(\r\n        new UmengPackage()\r\n    );\r\n  }\r\n```"}}
{"actor":{"display_login":"beast"}}