{"action":"created","issue":{"url":"https://api.github.com/repos/luggit/react-native-config/issues/129","repository_url":"https://api.github.com/repos/luggit/react-native-config","labels_url":"https://api.github.com/repos/luggit/react-native-config/issues/129/labels{/name}","comments_url":"https://api.github.com/repos/luggit/react-native-config/issues/129/comments","events_url":"https://api.github.com/repos/luggit/react-native-config/issues/129/events","html_url":"https://github.com/luggit/react-native-config/issues/129","id":240547382,"number":129,"title":"react-native-config does not read variables from env file","user":{"login":"satishmane","id":17117391,"avatar_url":"https://avatars1.githubusercontent.com/u/17117391?v=4","gravatar_id":"","url":"https://api.github.com/users/satishmane","html_url":"https://github.com/satishmane","followers_url":"https://api.github.com/users/satishmane/followers","following_url":"https://api.github.com/users/satishmane/following{/other_user}","gists_url":"https://api.github.com/users/satishmane/gists{/gist_id}","starred_url":"https://api.github.com/users/satishmane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/satishmane/subscriptions","organizations_url":"https://api.github.com/users/satishmane/orgs","repos_url":"https://api.github.com/users/satishmane/repos","events_url":"https://api.github.com/users/satishmane/events{/privacy}","received_events_url":"https://api.github.com/users/satishmane/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-07-05T06:13:01Z","updated_at":"2017-10-11T02:40:24Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\n\"react\": \"16.0.0-alpha.12\",\r\n \"react-native\": \"0.45.1\"\r\n\"react-native-config\": \"0.3.0\",\r\n\r\nPerformed below steps\r\n\r\n1.Set the value for Info.plist Preprocessor Prefix File ${SYMROOT}/Release$(EFFECTIVE_PLATFORM_NAME)/GeneratedInfoPlistDotEnv.h\r\n2.Set Info.plist Other Preprocessor Flags to -traditional\r\n3. Set Preprocess Info.plist File to Yes\r\n4. Created my scheme and entered my env file as echo \".env.dev\" >> /tmp/envfile in pre-actions and also did the same under archive pre-actions\r\n5. Selected my scheme.\r\n6. Build->Archive->export etc\r\n7. Deployed .ipa file on mobile\r\n8. It does not show env specific changes to screen\r\n\r\nOut of ten times, it worked couple of times. Not sure what is causing this problem. I closed xcode and restarted, clean build and repeated step 5 to 7. No luck\r\n\r\nI can see my .env.dev file being copied to /tmp/envfile. But my env variables are not read by config package.\r\n\r\nI am fed up with react-native-config. Any help would be appreciated"},"comment":{"url":"https://api.github.com/repos/luggit/react-native-config/issues/comments/335665051","html_url":"https://github.com/luggit/react-native-config/issues/129#issuecomment-335665051","issue_url":"https://api.github.com/repos/luggit/react-native-config/issues/129","id":335665051,"user":{"login":"damathryx","id":14576761,"avatar_url":"https://avatars0.githubusercontent.com/u/14576761?v=4","gravatar_id":"","url":"https://api.github.com/users/damathryx","html_url":"https://github.com/damathryx","followers_url":"https://api.github.com/users/damathryx/followers","following_url":"https://api.github.com/users/damathryx/following{/other_user}","gists_url":"https://api.github.com/users/damathryx/gists{/gist_id}","starred_url":"https://api.github.com/users/damathryx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damathryx/subscriptions","organizations_url":"https://api.github.com/users/damathryx/orgs","repos_url":"https://api.github.com/users/damathryx/repos","events_url":"https://api.github.com/users/damathryx/events{/privacy}","received_events_url":"https://api.github.com/users/damathryx/received_events","type":"User","site_admin":false},"created_at":"2017-10-11T02:40:24Z","updated_at":"2017-10-11T02:40:24Z","author_association":"NONE","body":"same problem @satishmane  have you solved this?"}}
{"actor":{"display_login":"damathryx"}}