为了回答如何将您的环境暴露在其中react-native,我建议使用Babel ... 您只需 .babelrc 在项目根目录的文件中添加“ react-native-dotenv”预设即可,如下所示:
確定! 回上一頁