{"action":"created","issue":{"url":"https://api.github.com/repos/radarlabs/react-native-radar/issues/51","repository_url":"https://api.github.com/repos/radarlabs/react-native-radar","labels_url":"https://api.github.com/repos/radarlabs/react-native-radar/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/radarlabs/react-native-radar/issues/51/comments","events_url":"https://api.github.com/repos/radarlabs/react-native-radar/issues/51/events","html_url":"https://github.com/radarlabs/react-native-radar/issues/51","id":391536839,"node_id":"MDU6SXNzdWUzOTE1MzY4Mzk=","number":51,"title":"NativeModules.RNRadar is undefined","user":{"login":"phil-andrews","id":14335126,"node_id":"MDQ6VXNlcjE0MzM1MTI2","avatar_url":"https://avatars0.githubusercontent.com/u/14335126?v=4","gravatar_id":"","url":"https://api.github.com/users/phil-andrews","html_url":"https://github.com/phil-andrews","followers_url":"https://api.github.com/users/phil-andrews/followers","following_url":"https://api.github.com/users/phil-andrews/following{/other_user}","gists_url":"https://api.github.com/users/phil-andrews/gists{/gist_id}","starred_url":"https://api.github.com/users/phil-andrews/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phil-andrews/subscriptions","organizations_url":"https://api.github.com/users/phil-andrews/orgs","repos_url":"https://api.github.com/users/phil-andrews/repos","events_url":"https://api.github.com/users/phil-andrews/events{/privacy}","received_events_url":"https://api.github.com/users/phil-andrews/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-12-17T02:34:48Z","updated_at":"2018-12-17T23:36:16Z","closed_at":null,"author_association":"NONE","body":"**Describe the bug**\r\nWhen running on the iOS emulator any Radar function produces a \"NativeModules.RNRadar is undefined\" error. I have followed the SDK instructions for iOS. I have not installed for Android.\r\n\r\nThe app, which is just the basic rn template app, runs fine until I call Radar.\r\n\r\n**To Reproduce**\r\nSteps to reproduce the behavior:\r\n1. Start clean project using rn typescript template.\r\n2. Follow SDK installation instructions from Radar docs.\r\n3. Install RN package and follow installation instructions.\r\n4. Call Radar from `App.tsx` in `componentDidMount`.\r\n\r\n**Expected behavior**\r\nRadar functions to be available.\r\n\r\n**Screenshots**\r\n<img width=\"414\" alt=\"screen shot 2018-12-16 at 9 30 55 pm\" src=\"https://user-images.githubusercontent.com/14335126/50063327-ed92c400-0179-11e9-8086-b7d61368b180.png\">\r\n<img width=\"788\" alt=\"screen shot 2018-12-16 at 9 31 37 pm\" src=\"https://user-images.githubusercontent.com/14335126/50063347-fd120d00-0179-11e9-91f7-9278f34e28e0.png\">\r\n<img width=\"1076\" alt=\"screen shot 2018-12-16 at 9 32 36 pm\" src=\"https://user-images.githubusercontent.com/14335126/50063375-203cbc80-017a-11e9-8ca4-3d07cd7a8ac7.png\">\r\n\r\n**Metadata (please complete the following information):**\r\n    \"react-native\": \"0.57.8\",\r\n    \"react-native-radar\": \"^2.1.2\"\r\n    emulator XR\r\n    xCode 10\r\n\r\n**Update:**\r\nIn the Plist screenshot you'll see an empty string for one of the privacy settings. I put in a string and it didn't change anything.\r\n\r\nThe errors in `AppDelegate` don't have an effect at runtime."},"comment":{"url":"https://api.github.com/repos/radarlabs/react-native-radar/issues/comments/448040065","html_url":"https://github.com/radarlabs/react-native-radar/issues/51#issuecomment-448040065","issue_url":"https://api.github.com/repos/radarlabs/react-native-radar/issues/51","id":448040065,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0ODA0MDA2NQ==","user":{"login":"phil-andrews","id":14335126,"node_id":"MDQ6VXNlcjE0MzM1MTI2","avatar_url":"https://avatars0.githubusercontent.com/u/14335126?v=4","gravatar_id":"","url":"https://api.github.com/users/phil-andrews","html_url":"https://github.com/phil-andrews","followers_url":"https://api.github.com/users/phil-andrews/followers","following_url":"https://api.github.com/users/phil-andrews/following{/other_user}","gists_url":"https://api.github.com/users/phil-andrews/gists{/gist_id}","starred_url":"https://api.github.com/users/phil-andrews/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phil-andrews/subscriptions","organizations_url":"https://api.github.com/users/phil-andrews/orgs","repos_url":"https://api.github.com/users/phil-andrews/repos","events_url":"https://api.github.com/users/phil-andrews/events{/privacy}","received_events_url":"https://api.github.com/users/phil-andrews/received_events","type":"User","site_admin":false},"created_at":"2018-12-17T23:36:16Z","updated_at":"2018-12-17T23:36:16Z","author_association":"NONE","body":"<img width=\"266\" alt=\"screen shot 2018-12-17 at 6 36 05 pm\" src=\"https://user-images.githubusercontent.com/14335126/50122476-a1ec2300-022a-11e9-96e2-9d876c569b4b.png\">\r\n"}}
{"actor":{"display_login":"phil-andrews"}}