{"action":"created","issue":{"url":"https://api.github.com/repos/luggit/react-native-config/issues/8","repository_url":"https://api.github.com/repos/luggit/react-native-config","labels_url":"https://api.github.com/repos/luggit/react-native-config/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/luggit/react-native-config/issues/8/comments","events_url":"https://api.github.com/repos/luggit/react-native-config/issues/8/events","html_url":"https://github.com/luggit/react-native-config/issues/8","id":146326759,"number":8,"title":"iOS build config suggestion","user":{"login":"thadcodes","id":384014,"avatar_url":"https://avatars.githubusercontent.com/u/384014?v=3","gravatar_id":"","url":"https://api.github.com/users/thadcodes","html_url":"https://github.com/thadcodes","followers_url":"https://api.github.com/users/thadcodes/followers","following_url":"https://api.github.com/users/thadcodes/following{/other_user}","gists_url":"https://api.github.com/users/thadcodes/gists{/gist_id}","starred_url":"https://api.github.com/users/thadcodes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thadcodes/subscriptions","organizations_url":"https://api.github.com/users/thadcodes/orgs","repos_url":"https://api.github.com/users/thadcodes/repos","events_url":"https://api.github.com/users/thadcodes/events{/privacy}","received_events_url":"https://api.github.com/users/thadcodes/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-04-06T14:13:40Z","updated_at":"2016-09-14T02:22:15Z","closed_at":"2016-09-14T02:22:15Z","body":"I am not an iOS developer so I'm not certain how to do this exactly but I know it's possible to pass environment variables for the build to xcode as extra parameters.  So Perhaps it might be worth it to add that as an option for setting the environment file, just pass ENVFILE into the build or set it in the scheme?\r\n\r\nI'll try to learn enough to do it myself later but I don't know ruby so it might take a while"},"comment":{"url":"https://api.github.com/repos/luggit/react-native-config/issues/comments/246886488","html_url":"https://github.com/luggit/react-native-config/issues/8#issuecomment-246886488","issue_url":"https://api.github.com/repos/luggit/react-native-config/issues/8","id":246886488,"user":{"login":"pedro","id":2248,"avatar_url":"https://avatars.githubusercontent.com/u/2248?v=3","gravatar_id":"","url":"https://api.github.com/users/pedro","html_url":"https://github.com/pedro","followers_url":"https://api.github.com/users/pedro/followers","following_url":"https://api.github.com/users/pedro/following{/other_user}","gists_url":"https://api.github.com/users/pedro/gists{/gist_id}","starred_url":"https://api.github.com/users/pedro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pedro/subscriptions","organizations_url":"https://api.github.com/users/pedro/orgs","repos_url":"https://api.github.com/users/pedro/repos","events_url":"https://api.github.com/users/pedro/events{/privacy}","received_events_url":"https://api.github.com/users/pedro/received_events","type":"User","site_admin":false},"created_at":"2016-09-14T02:22:15Z","updated_at":"2016-09-14T02:22:15Z","body":"Right on – if I was writing an ios-only app I'd probably just go with `.xcconfig` files.\r\n\r\nWould also like to use these files to tell react-native-config which `.env` file to read, but wasn't able to get that going last I tried!\r\n\r\nIdeally what I'd LOVE to do is to generate a `.xcconfig` file from `.env` on build time, but that doesn't seem to be possible... So long story short we are still missing a good way to integrate `.env` with iOS. [You can read some of the previous discussion on this here](https://github.com/luggit/react-native-config/issues/6).\r\n\r\nClosing this in favor of #6 then! Follow up there if you have any ideas on how to improve this.\r\n\r\nThanks,"}}
{"actor":{"display_login":"pedro"}}