{"id":1560,"date":"2022-07-01T04:34:27","date_gmt":"2022-06-30T19:34:27","guid":{"rendered":"http:\/\/ts-engine.net\/?p=1560"},"modified":"2022-07-01T04:34:27","modified_gmt":"2022-06-30T19:34:27","slug":"react-native-expo-build%e3%81%8b%e3%82%89eas-build%e3%81%ab%e7%a7%bb%e8%a1%8c%e6%96%b9%e6%b3%95%e3%81%be%e3%81%a8%e3%82%81","status":"publish","type":"post","link":"http:\/\/ts-engine.net\/?p=1560","title":{"rendered":"[react native] expo build\u304b\u3089eas build\u306b\u79fb\u884c\u65b9\u6cd5\u307e\u3068\u3081"},"content":{"rendered":"\n<p>expo build\u304cdeprecated\u306b\u306a\u308a\u3001\u5c06\u6765\u7684\u306b\u306f\u306a\u304f\u306a\u308b\u3068\u3044\u3046\u3053\u3068\u3067eas build\u306b\u79fb\u884c\u3059\u308b\u5fc5\u8981\u304c\u51fa\u308b\u3002<\/p>\n\n\n\n<p>\u81ea\u5206\u306e\u5834\u5408\u306f\u3001expo managed workflow\u306e\u305f\u3081\u3001managed workflow\u304b\u3089eject\u305b\u305a\u306b\u305d\u306e\u307e\u307eeas build\u306b\u79fb\u884c\u3059\u308b\u5fc5\u8981\u304c\u3042\u3063\u305f\u3002<\/p>\n\n\n\n<p>\u81ea\u5206\u306e\u30a2\u30d7\u30ea\u304c\u4f7f\u3063\u3066\u3044\u308b\u554f\u984c\u3001(\u7279\u306badmob)\u304c\u3042\u308a\u3001\u516c\u5f0f\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u901a\u308a\u3084\u3063\u3066\u3082\u52d5\u304b\u306a\u304b\u3063\u305f\u306e\u3067\u3001\u81ea\u5206\u304c\u5bfe\u51e6\u3057\u305f\u65b9\u6cd5\u3092\u3044\u304b\u306b\u307e\u3068\u3081\u308b\u3002<\/p>\n\n\n\n<!--more-->\n\n\n\n<h2 class=\"wp-block-heading\">eas build\u3092\u52d5\u304b\u3059\u307e\u3067<\/h2>\n\n\n\n<p>\u307e\u305a\u306f\u5fc5\u8981\u306a\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u304c\u3001\u3053\u308c\u306f\u516c\u5f0f\u306b\u5f93\u3046\u306e\u307f\u3002<\/p>\n\n\n\n<p><a href=\"https:\/\/docs.expo.dev\/build-reference\/migrating\/\">https:\/\/docs.expo.dev\/build-reference\/migrating\/<\/a><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>\u3042\u3068\u306f\u3001\u3053\u306e\u8fba\u3092\u53c2\u8003\u306b\u3057\u305f\u3002<\/p>\n\n\n\n<p><a href=\"https:\/\/njkhanh.com\/expo-sdk-45-p5f3138383230\">https:\/\/njkhanh.com\/expo-sdk-45-p5f3138383230<\/a><\/p>\n\n\n\n<p>Managed workflow\u306e\u90e8\u5206\u3002<\/p>\n\n\n\n<p>\u3053\u308c\u304c\u7d42\u308f\u308c\u3070\u3001eas build\u30b3\u30de\u30f3\u30c9\u81ea\u4f53\u306f\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308b\u3002<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>\u7d50\u679c\u81ea\u5206\u304c\u5b9f\u884c\u3057\u305f\u30b3\u30de\u30f3\u30c9\u306f\u3053\u3061\u3089<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>- npm install -g eas-cli\n- npm i -g expo-cli\n- Yarn upgrade\n- expo upgrade\n- npx expo install expo-dev-client\n- eas update:configure\n- eas build:configure\n- Yarn remove expo-ads-admob\n- Yarn add react-native-google-mobile-ads\n- Edit app.json<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">eas build\u304c\u30a8\u30e9\u30fc\u306b\u306a\u308b\u3002\u3002\u3002<\/h2>\n\n\n\n<p>\u79c1\u306e\u5834\u5408\u306f\u3001admob\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u554f\u984c\u3060\u3063\u305f\u3002eas build\u306b\u306a\u3063\u3066\u304b\u3089\u306f\u3001<\/p>\n\n\n\n<p>expo-ads-admob\u304c\u975e\u63a8\u5968\u306b\u306a\u308b\u3002\u5c06\u6765\u7684\u306b\u306f\u306a\u304f\u306a\u308b\u3002\u305d\u306e\u305f\u3081\u3001<\/p>\n\n\n\n<p><a href=\"https:\/\/github.com\/invertase\/react-native-google-mobile-ads\">https:\/\/github.com\/invertase\/react-native-google-mobile-ads<\/a><\/p>\n\n\n\n<p>\u306b\u30de\u30a4\u30b0\u30ec\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002<\/p>\n\n\n\n<p>\u30de\u30a4\u30b0\u30ec\u81ea\u4f53\u306f\u7c21\u5358\u3060\u304c\u3001expo-ads-admob\u304c\u5165\u3063\u305f\u307e\u307e\u3001\u3064\u307e\u308a\u3001react-native-google-mobile-ads\u3068\u4e00\u7dd2\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u3068\u3001eas build\u304c\u901a\u3089\u306a\u3044\u3002\u3002<\/p>\n\n\n\n<pre class=\"wp-block-syntaxhighlighter-code\">yarn remove expo-ads-admob<\/pre>\n\n\n\n<p>\u3053\u308c\u3092\u3057\u306a\u3044\u3068build\u304c\u901a\u3089\u306a\u304b\u3063\u305f\u3057\u3001\u307e\u305f\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u3082\u305d\u3046\u3044\u3046\u8868\u793a\u304c\u306a\u3044\u306e\u3067\u3001\u304b\u306a\u308a\u82e6\u6226\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u307e\u305f\u3001app.json\u304b\u3089\u5fc5\u8981\u306a\u7b87\u6240\u3082\u524a\u9664\u3057\u3066\u304a\u304b\u306a\u3044\u3068build\u304c\u901a\u3089\u306a\u3044\u3002\u3053\u3053\u3060\u3051\u3067\u6570\u65e5\u3064\u304b\u3063\u305f\u3002\u672c\u5f53build\u306e\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u306f\u3082\u3046\u5c11\u3057\u308f\u304b\u308a\u3084\u3059\u304f\u3057\u3066\u304f\u308c\u3088\u3063\u3068\u3044\u3046\u611f\u3058\u3060\u3063\u305f\u3002<\/p>\n\n\n\n<p>\u4ee5\u4e0b\u306egoogleMobileAdsAppID\u306e\u90e8\u5206\u3092\u6d88\u3055\u306a\u3044\u3068build\u304c\u901a\u3089\u306a\u3044\u3002<\/p>\n\n\n\n<pre class=\"wp-block-syntaxhighlighter-code\">    \"android\": {\n      \/\/ ...\n      \"config\": {\n        \/\/ ...\n        \"googleMobileAdsAppId\": \"ca-app-pub-3940256099942544~3347511713\" \/\/ sample id, replace with your own\n      }\n    },\n    \"ios\": {\n      \/\/ ...\n      \"config\": {\n        \/\/ ...\n        \"googleMobileAdsAppId\": \"ca-app-pub-3940256099942544~1458002511\" \/\/ sample id, replace with your own\n      }\n    }<\/pre>\n\n\n\n<p>\u3042\u3068\u306f\u3001build\u3057\u305f\u30d0\u30a4\u30ca\u30ea\u3092Simulator\u306binstall\u3057\u305f\u308a\u3001<\/p>\n\n\n\n<p>\u5b9f\u6a5f\u3067\u898b\u308b\u3068\u304d\u306f\u3001\u30d7\u30ed\u30d5\u30a1\u30a4\u30eb\u3092\u5b9f\u6a5f\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u308a\u3068\u3001expo \u3088\u308a\u3082\u4f7f\u3044\u52dd\u624b\u306f\u60aa\u3044\u90e8\u5206\u306f\u3042\u308b\u304c\u3001\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u3067\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306e\u5909\u66f4\u304csimulator\u306b\u53cd\u6620\u3055\u308c\u305f\u308a\u3001\u3068\u3044\u3046\u3044\u3044\u90e8\u5206\u306f\u6b8b\u3063\u3066\u3044\u308b\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u30de\u30a4\u30b0\u30ec\u81ea\u4f53\u306f\u9762\u5012\u3067\u3042\u308b\u304c\u3001\u30de\u30a4\u30b0\u30ec\u3057\u3066\u3088\u304b\u3063\u305f\u3053\u3068<\/h2>\n\n\n\n<p>\u307e\u305a\u3001deprecated\u306b\u306a\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u30de\u30a4\u30b0\u30ec\u306f\u7d76\u5bfe\u3057\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u306e\u3067\u3001\u9078\u629e\u306f\u3067\u304d\u306a\u3044\u3002<\/p>\n\n\n\n<p>\u305d\u306e\u305f\u3081\u3001\u30c7\u30e1\u30ea\u30c3\u30c8\u306e\u307b\u3046\u304c\u591a\u3044\u306a\u3063\u3066\u601d\u3063\u3066\u3082\u7d50\u5c40\u3084\u3089\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u3002<\/p>\n\n\n\n<p>\u305f\u3060\u3057\u3001\u30de\u30a4\u30b0\u30ec\u3092\u5f8c\u62bc\u3057\u3059\u308b\u60c5\u5831\u3068\u3057\u3066\u3001<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>build\u5f8c\u306e\u30d0\u30a4\u30ca\u30ea\u304c\u534a\u5206\u4ee5\u4e0b\u306e\u30b5\u30a4\u30ba\u306b\u306a\u3063\u305f\u3053\u3068<\/li><li>hermes\u304c\u4f7f\u3048\u308b\u3053\u3068(\u305f\u3060\u3057\u3001android\u306b\u554f\u984c\u304c\u3042\u308b\u306e\u3067\u3001\u3061\u3087\u3063\u3068\u69d8\u5b50\u898b\u306f\u3057\u305f\u307b\u3046\u304c\u826f\u3055\u305d\u3046)<\/li><li>dev-client\u3092\u5165\u308c\u308b\u3053\u3068\u306b\u306a\u308b\u306e\u3067\u3001native\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3082\u4eca\u5f8c\u5229\u7528\u53ef\u80fd\u306b\u306a\u308b\u3053\u3068\uff0e\uff08\u305f\u3060\u4eca\u56de\u306ebuild\u30a8\u30e9\u30fc\u3092\u8e0f\u307e\u3048\u308b\u3068\u3001\u30a8\u30e9\u30fc\u304c\u89aa\u5207\u3067\u306f\u306a\u3044\u306e\u3067\u3001\u554f\u984c\u304c\u3042\u3063\u305f\u3068\u304d\u306e\u7279\u5b9a\u304c\u5927\u5909\u305d\u3046\u3002\uff09<\/li><li>eas submit\u3059\u308b\u3053\u3068\u3067\u4eca\u307e\u3067ipa\u3084apk\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u624b\u52d5\u3067\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u5fc5\u8981\u304c\u3042\u3063\u305f\u304c\u3001eas submit\u3067\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u307e\u3067\u5b8c\u7d50\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3053\u3068\u3002<\/li><\/ul>\n\n\n\n<p><\/p>\n\n\n\n<p>\u3053\u308c\u3089\u306f\u5927\u304d\u306a\u30e1\u30ea\u30c3\u30c8\u3067\u3042\u308b\u3002<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>expo build\u304cdeprecated\u306b\u306a\u308a\u3001\u5c06\u6765\u7684\u306b\u306f\u306a\u304f\u306a\u308b\u3068\u3044\u3046\u3053\u3068\u3067eas build\u306b\u79fb\u884c\u3059\u308b\u5fc5\u8981\u304c\u51fa\u308b\u3002 \u81ea\u5206\u306e\u5834\u5408\u306f\u3001expo managed workflow\u306e\u305f\u3081\u3001managed workflow\u304b\u3089eject\u305b\u305a\u306b\u305d\u306e\u307e\u307eeas build\u306b\u79fb\u884c\u3059\u308b\u5fc5\u8981\u304c\u3042\u3063\u305f\u3002 \u81ea\u5206\u306e\u30a2\u30d7\u30ea\u304c\u4f7f\u3063\u3066\u3044\u308b\u554f\u984c\u3001(\u7279\u306badmob)\u304c\u3042\u308a\u3001\u516c\u5f0f\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u901a\u308a\u3084\u3063\u3066\u3082\u52d5\u304b\u306a\u304b\u3063\u305f\u306e\u3067\u3001\u81ea\u5206\u304c\u5bfe\u51e6\u3057\u305f\u65b9\u6cd5\u3092\u3044\u304b\u306b\u307e\u3068\u3081\u308b\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26,20,6,7,16],"tags":[],"class_list":["post-1560","post","type-post","status-publish","format-standard","hentry","category-26","category-20","category-6","category-7","category-16"],"_links":{"self":[{"href":"http:\/\/ts-engine.net\/index.php?rest_route=\/wp\/v2\/posts\/1560","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/ts-engine.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/ts-engine.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/ts-engine.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/ts-engine.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1560"}],"version-history":[{"count":0,"href":"http:\/\/ts-engine.net\/index.php?rest_route=\/wp\/v2\/posts\/1560\/revisions"}],"wp:attachment":[{"href":"http:\/\/ts-engine.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1560"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/ts-engine.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1560"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/ts-engine.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1560"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}