{"id":4817,"date":"2024-03-29T11:42:02","date_gmt":"2024-03-29T02:42:02","guid":{"rendered":"https:\/\/www.agtech.co.jp\/blog\/?p=4817"},"modified":"2024-03-29T15:22:45","modified_gmt":"2024-03-29T06:22:45","slug":"the_importance_of_react_native_app_obfuscation","status":"publish","type":"post","link":"https:\/\/www.agtech.co.jp\/blog\/2024\/03\/the_importance_of_react_native_app_obfuscation\/","title":{"rendered":"\u958b\u767a\u8005\u5fc5\u898b\uff01React Native\u30a2\u30d7\u30ea\u96e3\u8aad\u5316\u306e\u91cd\u8981\u6027\u3068\u306f\uff1f"},"content":{"rendered":"<img loading=\"lazy\" class=\"center\" src=\"\/blog\/wp-content\/uploads\/2024\/03\/P018-top.jpg\" alt=\"\" width=\"280\" height=\"280\" class=\"alignnone size-full wp-image-7195\" \/>\r\n\r\n<h2>\uff11\uff0eReact Native\u306f\u30ea\u30d0\u30fc\u30b9\u30a8\u30f3\u30b8\u30cb\u30a2\u30ea\u30f3\u30b0\u306e\u30ea\u30b9\u30af\u306f\uff1f<\/h2>\r\n\r\n\t<p>Web\u306e\u6280\u8853\u3092\u6d3b\u7528\u3057\u3066\u30b9\u30de\u30db\u30a2\u30d7\u30ea\u3092\u958b\u767a\u3067\u304d\u308b\u3053\u3068\u304b\u3089\u3001React Native\u306f\u958b\u767a\u8005\u305f\u3061\u306b\u3068\u3063\u3066\u975e\u5e38\u306b\u4eba\u6c17\u306e\u3042\u308b\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002.NET\u30a2\u30d7\u30ea\u3084Android\u30a2\u30d7\u30ea\u304c\u30ea\u30d0\u30fc\u30b9\u30a8\u30f3\u30b8\u30cb\u30a2\u30ea\u30f3\u30b0\u3055\u308c\u3084\u3059\u3044\u3068\u3044\u3046\u4e8b\u5b9f\u306f\u3088\u304f\u77e5\u3089\u308c\u3066\u3044\u307e\u3059\u304c\u3001React Native\u30a2\u30d7\u30ea\u306f\u3069\u3046\u3067\u3057\u3087\u3046\u304b\uff1f\u5b9f\u969b\u306e\u3068\u3053\u308d\u3001\u4ed6\u306e\u958b\u767a\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u540c\u69d8\u3001React Native\u30a2\u30d7\u30ea\u3082\u307e\u305f\u3001\u30ea\u30d0\u30fc\u30b9\u30a8\u30f3\u30b8\u30cb\u30a2\u30ea\u30f3\u30b0\u3084\u6539\u3056\u3093\u3092\u3055\u308c\u3084\u3059\u3044\u72b6\u614b\u306b\u3042\u308a\u307e\u3059\u3002<\/p>\r\n\r\n\t<p>\u3053\u306e\u3088\u3046\u306a\u80cc\u666f\u3092\u8003\u616e\u3059\u308b\u3068\u3001\u30a2\u30d7\u30ea\u3092\u516c\u958b\u3059\u308b\u524d\u306b\u3001\u4f01\u696d\u306e\u77e5\u7684\u8ca1\u7523\uff08IP\uff09\u3068\u30c7\u30fc\u30bf\u3092\u5b88\u308b\u3053\u3068\u304c\u975e\u5e38\u306b\u91cd\u8981\u3067\u3059\u3002React Native\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u3067\u8fc5\u901f\u306b\u30a2\u30d7\u30ea\u3092\u958b\u767a\u3057\u5e02\u5834\u306b\u6295\u5165\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u304c\u3001\u305d\u306e\u4fbf\u5229\u3055\u306e\u88cf\u3067\u3001\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u9762\u3067\u306e\u6f5c\u5728\u7684\u306a\u30ea\u30b9\u30af\u3082\u7406\u89e3\u3057\u3066\u304a\u304f\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\r\n\r\n\r\n<h2>\uff12\uff0eReact Native\u3092\u30ea\u30d0\u30fc\u30b9\u30a8\u30f3\u30b8\u30cb\u30a2\u30ea\u30f3\u30b0\u3057\u3066\u307f\u305f<\/h2>\r\n\r\n\t<p>React Native\u30a2\u30d7\u30ea\u306f\u3001\u4e3b\u306bJavaScript\u3067\u8a18\u8ff0\u3055\u308c\u3001APK\u3001AAB\u3001\u307e\u305f\u306fIPA\u30d5\u30a1\u30a4\u30eb\u3068\u3057\u3066\u30d1\u30c3\u30b1\u30fc\u30b8\u5316\u3055\u308c\u3066\u914d\u5e03\u3055\u308c\u307e\u3059\u3002\u30a2\u30d7\u30ea\u304c\u30c7\u30d0\u30a4\u30b9\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u3068\u3001\u30a8\u30f3\u30c9\u30e6\u30fc\u30b6\u30fc\u306fAPK\u3092\u62bd\u51fa\u3057\u3001&#8221;assets&#8221;\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u5185\u306b\u30d0\u30f3\u30c9\u30eb\u3055\u308c\u305fJavaScript\u30d5\u30a1\u30a4\u30eb\u3092\u78ba\u8a8d\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u30b3\u30f3\u30bd\u30fc\u30eb\u51fa\u529b\u304b\u3089\u3082\u308f\u304b\u308b\u3088\u3046\u306b\u3001\u30d5\u30a1\u30a4\u30eb\u3092\u89e3\u51cd\u3059\u308b\u904e\u7a0b\u3067index.android.bundle\u3068\u3044\u3046\u30d5\u30a1\u30a4\u30eb\u304c\u898b\u3064\u304b\u308a\u307e\u3059\u3002\u3053\u308c\u306f\u3001React Native\u3067\u30d3\u30eb\u30c9\u3055\u308c\u305f\u30a2\u30d7\u30ea\u306e\u6838\u5fc3\u90e8\u5206\u3067\u3059\u3002<\/p>\r\n\r\n\t<img loading=\"lazy\" src=\"\/blog\/wp-content\/uploads\/2024\/03\/P018-01.png\" alt=\"\" width=\"573\" height=\"326\" class=\"alignnone size-full wp-image-7234\" \/>\r\n\r\n\t<p>\u30d3\u30eb\u30c9\u30d7\u30ed\u30bb\u30b9\u306b\u304a\u3044\u3066\u3001\u30b3\u30fc\u30c9\u306e\u30d0\u30f3\u30c9\u30eb\u306f\u6700\u5c0f\u5316\u3055\u308c\u3001\u4e00\u898b\u3059\u308b\u3068\u89e3\u6790\u304c\u96e3\u3057\u3044\u3088\u3046\u306b\u898b\u3048\u307e\u3059\u3002<\/p>\r\n\r\n\t<img loading=\"lazy\" src=\"\/blog\/wp-content\/uploads\/2024\/03\/P018-02.png\" alt=\"\" width=\"573\" height=\"270\" class=\"alignnone size-full wp-image-7197\" \/>\r\n\r\n\t<p>\u3057\u304b\u3057\u3001Nodepad++\u306eJSTool\u306a\u3069\u306e\u30c6\u30ad\u30b9\u30c8\u30a8\u30c7\u30a3\u30bf\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u7c21\u5358\u306b\u30b3\u30fc\u30c9\u3092\u5143\u306e\u5f62\u5f0f\u306b\u623b\u3057\u3001\u6574\u5f62\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\r\n\r\n\t<img loading=\"lazy\" src=\"\/blog\/wp-content\/uploads\/2024\/03\/P018-03.png\" alt=\"\" width=\"573\" height=\"214\" class=\"alignnone size-full wp-image-7230\" \/>\r\n\r\n\t<p>\u3053\u306e\u30d7\u30ed\u30bb\u30b9\u3092\u884c\u3046\u3068\u3001API\u547c\u3073\u51fa\u3057\u3001\u9375\u3001\u305d\u3057\u3066\u300cthis is a secret string!\u300d\u306e\u3088\u3046\u306a\u6a5f\u5bc6\u6027\u306e\u9ad8\u3044\u60c5\u5831\u304c\u9732\u5448\u3059\u308b\u6050\u308c\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u306f\u3001\u91cd\u5927\u306a\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30ea\u30b9\u30af\u3092\u610f\u5473\u3057\u307e\u3059\u3002\u60aa\u610f\u306e\u3042\u308b\u30e6\u30fc\u30b6\u30fc\u306b\u3088\u3063\u3066\u30a2\u30d7\u30ea\u304c\u8907\u88fd\u3055\u308c\u3001\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u30b7\u30b9\u30c6\u30e0\u306b\u4fb5\u5165\u3055\u308c\u3001\u30c7\u30fc\u30bf\u4fb5\u5bb3\u3084\u305d\u306e\u4ed6\u306e\u653b\u6483\u304c\u5f15\u304d\u8d77\u3053\u3055\u308c\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u306e\u3067\u3059\u3002<\/p>\r\n\r\n\t<p>\u3057\u304b\u3057\u5e78\u3044\u306b\u3082\u3001PreEmptive\u304c\u63d0\u4f9b\u3059\u308b\u30c4\u30fc\u30eb\u3092\u5229\u7528\u3059\u308c\u3070\u3001\u3053\u308c\u3089\u306e\u8105\u5a01\u304b\u3089\u30a2\u30d7\u30ea\u3092\u4fdd\u8b77\u3067\u304d\u307e\u3059\u3002JavaScript\u30d0\u30f3\u30c9\u30eb\u3092\u4fdd\u8b77\u3059\u308b\u305f\u3081\u306b\u7279\u5316\u3055\u308c\u305fJSDefender\u306a\u3069\u306e\u30c4\u30fc\u30eb\u306f\u3001\u30a2\u30d7\u30ea\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u3092\u5927\u5e45\u306b\u5411\u4e0a\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\r\n\r\n<h2>\uff13\uff0eReactNative\u306e\u96e3\u8aad\u5316\u65b9\u6cd5<\/h2>\r\n\r\n\t<p>JSDefender\u306e\u5c0e\u5165\u306f\u975e\u5e38\u306b\u7c21\u5358\u3067\u3001metro.config.js\u306b\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u8ffd\u52a0\u3059\u308b\u3060\u3051\u3067\u3059\u3002<\/p>\r\n\r\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"raw\">\r\nconst jsdefenderMetroPlugin = require(\"@preemptive\/jsdefender-metro-plugin\")(\r\n  {\r\n    configurationFile: \"jsdefender.config.json\", \r\n    quietMode: false, \r\n    protectUserModulesOnly: false, \r\n    enableInDevelopmentMode: false,     \r\n  },\r\n  \/\/ --\u30e1\u30c8\u30ed\u69cb\u6210\r\n  {\r\n    resolver: {\r\n    },\r\n    transformer: {\r\n    },\r\n    serializer: {\r\n    },\r\n    server: {\r\n    }\r\n  }\r\n)\r\nmodule.exports = jsdefenderMetroPlugin;\r\n<\/pre>\r\n\r\n\t<p>JSDefender\u306f\u30d3\u30eb\u30c9\u30d7\u30ed\u30bb\u30b9\u306b\u5bc6\u63a5\u306b\u7d71\u5408\u3055\u308c\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30b3\u30fc\u30c9\u3092\u81ea\u52d5\u7684\u306b\u96e3\u8aad\u5316\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u30ea\u30d0\u30fc\u30b9\u30a8\u30f3\u30b8\u30cb\u30a2\u30ea\u30f3\u30b0\u3084\u4e0d\u6b63\u306a\u6539\u5909\u304b\u3089\u30a2\u30d7\u30ea\u3092\u5b88\u308a\u307e\u3059\u3002<\/p>\r\n\r\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"raw\">\r\nnpx react-native run-android\r\n<\/pre>\r\n\r\n\t<p>\u30d3\u30eb\u30c9\u51fa\u529b\u3067\u3001PreEmptive\u304c\u5b9f\u884c\u3055\u308c\u3066\u3044\u308b\u306e\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\r\n\r\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"raw\">\r\nPreEmptive Protection JSDefender(TM)\r\nCopyright 2019-2024 PreEmptive Solutions, LLC. All Rights Reserved\r\nUse of this software constitutes acceptance of the accompanying license agreement.\r\nInfo: JSDefender version 2.6.0\r\nInfo: Licensed to: xxxxxx@agtech.co.jp\r\nFloating Build License: ############################497C\r\nThis software may be used on binaries for general release.Concurrent Build Limit: 3\r\nWarning: http:\/\/www.preemptive.com\/dotfuscator\/index.html\r\nInfo: Source tree building in progress...\r\nInfo: Source tree successfully built.\r\nInfo: Total length: 361\r\nInfo: #of scripts: 1\r\nInfo: #of syntax nodes: 59\r\nInfo: Highest ES version: ES5\r\nInfo: DevTools blocking transformation applied.\r\nInfo: Lexical tree building in progress...\r\nInfo: Lexical tree successfully built.\r\nInfo: global object hiding transformation applied.\r\nInfo: String literal transformation applied.\r\nInfo: Number of string literals extracted: 7\r\nInfo: Rendering protected files...\r\nInfo: Protected files rendered successfully.\r\nInfo: Rendering lexical scope maps...\r\nInfo: Lexical scope maps successfully rendered.\r\nExecution time: 1s 987ms\r\nnpm notice \r\nnpm notice New major version of npm available! 8.15.0 -> 10.5.0\r\nnpm notice Changelog: https:\/\/github.com\/npm\/cli\/releases\/tag\/v10.5.0\r\nnpm notice Run npm install -g npm@10.5.0 to update!\r\nnpm notice\r\n<\/pre>\r\n\t<p>\u3053\u306e\u30d3\u30eb\u30c9\u5f8c\u3001\u30d0\u30a4\u30ca\u30ea\u306f\u9006\u30b3\u30f3\u30d1\u30a4\u30eb\u3001\u30ea\u30d0\u30fc\u30b9\u30a8\u30f3\u30b8\u30cb\u30a2\u30ea\u30f3\u30b0\u3001\u304a\u3088\u3073\u6539\u3056\u3093\u306b\u5bfe\u3057\u3066\u5f37\u5316\u3055\u308c\u307e\u3059\u3002<br>\r\n\u4e00\u90e8\u629c\u7c8b\u3057\u307e\u3059\u304c\u3001\u30ed\u30b8\u30c3\u30af\u306e\u89e3\u6790\u3084\u6587\u5b57\u5217\u691c\u7d22\u304c\u4e00\u76ee\u3067\u4e0d\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\r\n\r\n\t<img loading=\"lazy\" src=\"\/blog\/wp-content\/uploads\/2024\/03\/P018-04.png\" alt=\"\" width=\"573\" height=\"305\" class=\"alignnone size-full wp-image-7199\" \/>\r\n\r\n<h2>\uff14\uff0e\u307e\u3068\u3081<\/h2>\r\n\r\n\t<p>React Native\u3067\u958b\u767a\u3055\u308c\u305f\u30a2\u30d7\u30ea\u306f\u3001\u305d\u306e\u4fbf\u5229\u3055\u3068\u52b9\u7387\u306e\u826f\u3055\u304b\u3089\u591a\u304f\u306e\u4f01\u696d\u306b\u63a1\u7528\u3055\u308c\u3066\u3044\u307e\u3059\u304c\u3001\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u9762\u3067\u306e\u61f8\u5ff5\u3082\u4f34\u3044\u307e\u3059\u3002\u30ea\u30d0\u30fc\u30b9\u30a8\u30f3\u30b8\u30cb\u30a2\u30ea\u30f3\u30b0\u3084\u6539\u3056\u3093\u3068\u3044\u3063\u305f\u8105\u5a01\u304b\u3089\u30a2\u30d7\u30ea\u3092\u5b88\u308b\u305f\u3081\u306b\u306f\u3001\u96e3\u8aad\u5316\u30c4\u30fc\u30eb\u306e\u5c0e\u5165\u304c\u4e0d\u53ef\u6b20\u3067\u3059\u3002JSDefender\u3092\u306f\u3058\u3081\u3068\u3059\u308bPreEmptive\u306e\u30c4\u30fc\u30eb\u306f\u3001\u3053\u306e\u3088\u3046\u306a\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u5bfe\u7b56\u3092\u5b9f\u73fe\u3059\u308b\u305f\u3081\u306e\u5f37\u529b\u306a\u624b\u6bb5\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002\u30a2\u30d7\u30ea\u3092\u5e02\u5834\u306b\u51fa\u3059\u524d\u306b\u3001\u9069\u5207\u306a\u4fdd\u8b77\u63aa\u7f6e\u3092\u8b1b\u3058\u308b\u3053\u3068\u3067\u3001\u4f01\u696d\u306e\u8ca1\u7523\u3068\u30e6\u30fc\u30b6\u30fc\u306e\u4fe1\u983c\u3092\u5b88\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\r\n\r\n\t<p>\u305c\u3072\u3001JSDefender\u306e\u8a55\u4fa1\u7248\u3092\u8a66\u3057\u3066\u3001React Native\u30a2\u30d7\u30ea\u306e\u4fdd\u8b77\u30ec\u30d9\u30eb\u3092\u5b9f\u969b\u306b\u4f53\u9a13\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\r\n\r\n<h2>\uff15\uff0e\u8a55\u4fa1\u7248\u306e\u304a\u7533\u3057\u8fbc\u307f\u306b\u3064\u3044\u3066<\/h2>\r\n\r\n\t<p>\u8a55\u4fa1\u7248\u306e\u3054\u5229\u7528\u3092\u5e0c\u671b\u3055\u308c\u308b\u304a\u5ba2\u69d8\u306f\u3001\u4ee5\u4e0b\u306eURL\u3088\u308a\u304a\u7533\u3057\u8fbc\u307f\u304f\u3060\u3055\u3044\u3002<br>\r\n\t<a href=\"\/preemptive\/jsdefender\/trial\/\" rel=\"noopener\" target=\"_blank\">https:\/\/www.agtech.co.jp\/preemptive\/jsdefender\/trial\/<\/a><\/p>","protected":false},"excerpt":{"rendered":"\uff11\uff0eReact Native\u306f\u30ea\u30d0\u30fc\u30b9\u30a8\u30f3\u30b8\u30cb\u30a2\u30ea\u30f3\u30b0\u306e\u30ea\u30b9\u30af\u306f\uff1f Web\u306e\u6280\u8853\u3092\u6d3b\u7528\u3057\u3066\u30b9\u30de\u30db\u30a2\u30d7\u30ea\u3092\u958b\u767a\u3067\u304d\u308b\u3053\u3068\u304b\u3089\u3001React Native\u306f\u958b\u767a\u8005\u305f\u3061\u306b\u3068\u3063\u3066\u975e\u5e38\u306b\u4eba\u6c17\u306e\u3042\u308b\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002.NE [&hellip;]","protected":false},"author":1,"featured_media":4813,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"product":[84,96],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.agtech.co.jp\/blog\/wp-json\/wp\/v2\/posts\/4817"}],"collection":[{"href":"https:\/\/www.agtech.co.jp\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.agtech.co.jp\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.agtech.co.jp\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.agtech.co.jp\/blog\/wp-json\/wp\/v2\/comments?post=4817"}],"version-history":[{"count":2,"href":"https:\/\/www.agtech.co.jp\/blog\/wp-json\/wp\/v2\/posts\/4817\/revisions"}],"predecessor-version":[{"id":4819,"href":"https:\/\/www.agtech.co.jp\/blog\/wp-json\/wp\/v2\/posts\/4817\/revisions\/4819"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.agtech.co.jp\/blog\/wp-json\/wp\/v2\/media\/4813"}],"wp:attachment":[{"href":"https:\/\/www.agtech.co.jp\/blog\/wp-json\/wp\/v2\/media?parent=4817"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.agtech.co.jp\/blog\/wp-json\/wp\/v2\/categories?post=4817"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.agtech.co.jp\/blog\/wp-json\/wp\/v2\/tags?post=4817"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/www.agtech.co.jp\/blog\/wp-json\/wp\/v2\/product?post=4817"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}