{"action":"opened","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/7493","repository_url":"https://api.github.com/repos/facebook/react-native","labels_url":"https://api.github.com/repos/facebook/react-native/issues/7493/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/7493/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/7493/events","html_url":"https://github.com/facebook/react-native/issues/7493","id":154094494,"number":7493,"title":"BuildConfig doesn't propagate properly","user":{"login":"charpeni","id":7189823,"avatar_url":"https://avatars.githubusercontent.com/u/7189823?v=3","gravatar_id":"","url":"https://api.github.com/users/charpeni","html_url":"https://github.com/charpeni","followers_url":"https://api.github.com/users/charpeni/followers","following_url":"https://api.github.com/users/charpeni/following{/other_user}","gists_url":"https://api.github.com/users/charpeni/gists{/gist_id}","starred_url":"https://api.github.com/users/charpeni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charpeni/subscriptions","organizations_url":"https://api.github.com/users/charpeni/orgs","repos_url":"https://api.github.com/users/charpeni/repos","events_url":"https://api.github.com/users/charpeni/events{/privacy}","received_events_url":"https://api.github.com/users/charpeni/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-10T20:05:32Z","updated_at":"2016-05-10T20:05:32Z","closed_at":null,"body":"I noticed that `BuildConfig` doesn't seems to be propagated properly on react-native@0.25.1.\r\n\r\nI was wondering why the feature introduced with #5071 isn't enabled on debug mode. After some investigations, I noticed that `BuildConfig.DEBUG` from [com.facebook.react.BuildConfig](https://github.com/facebook/react-native/blob/master/ReactAndroid/src/main/java/com/facebook/react/common/build/ReactBuildConfig.java) is always false.\r\n\r\nBut from the `MainActivity.java`, `BuildConfig.DEBUG` returned true.\r\n\r\nProbably related : http://stackoverflow.com/questions/21365928/gradle-how-to-use-buildconfig-in-an-android-library-with-a-flag-that-gets-set\r\n\r\ncc @mkonicek @astreet "}}