{"id":197,"date":"2021-08-16T09:31:04","date_gmt":"2021-08-16T09:31:04","guid":{"rendered":"https:\/\/www.radiustheme.com\/docs\/classima-mobile-app\/?p=197"},"modified":"2025-11-19T06:04:45","modified_gmt":"2025-11-19T06:04:45","password":"","slug":"configuring-app-json-file","status":"publish","type":"docs","link":"https:\/\/www.radiustheme.com\/docs\/classima-mobile-app\/docs\/app-configuration\/configuring-app-json-file\/","title":{"rendered":"Configuring App.json file"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">To Configuring App.json file do the following steps<\/h3>\n\n\n\n<ol style=\"list-style-type:1\" class=\"wp-block-list\">\n<li>This file is located in the project root directory.<br><\/li>\n\n\n\n<li>Change the <strong>name<\/strong> property to your desired app name.<\/li>\n\n\n\n<li>Similarly change <strong>slug<\/strong>(lowercase character only without spaces), <strong>version<\/strong>, <strong>bundleIdentifier<\/strong> for iOS and <strong>package<\/strong> for android.<br><\/li>\n\n\n\n<li><strong>[important]<\/strong> For android, the versionCode and for iOS the buildNumber property will be 1 for the first time you\u2019re uploading it to Play store or app store. After that for every new version release, the versionCode \/ buildNumber will increase by 1. (I.e., for version 1.0.1 versionCode will be 1. And for version 1.0.2 versionCode will be 2).<br><\/li>\n\n\n\n<li>Change splash \u201c<strong>backgroundColor<\/strong>\u201d property as needed. (This is the screen you see before the app opens).<br><\/li>\n\n\n\n<li>Copy and paste your Google maps API Key in \u201c<strong>GoogleMapsApiKey<\/strong>\u201d for <strong>iOS<\/strong> and \u201c<strong>apiKey<\/strong>\u201d for android. (If you use map feature this step is very important)<\/li>\n\n\n\n<li>Change the app name under ios &gt; infoPlist properties.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">app.json file general structure:<br><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n  \"expo\": {\n    \"name\": \"classima\",\n    \"slug\": \"classima\",\n    \"version\": \"2.95.2\",\n    \"orientation\": \"portrait\",\n    \"icon\": \".\/assets\/icon.png\",\n    \"scheme\": \"classima\",\n    \"userInterfaceStyle\": \"automatic\",\n    \"newArchEnabled\": true,\n    \"plugins\": &#91;\n      &#91;\n        \"react-native-maps\",\n        {\n          \"iosGoogleMapsApiKey\": \"AIzaSyC0xWPUAzIYq0xy3bv5gVe2O6EYGfpF1j9\",\n          \"androidGoogleMapsApiKey\": \"AIzaSyC0xWPUAzIYq0xy3bv5gVe2O6EYGfpF1j9\"\n        }\n      ],\n      &#91;\n        \"@stripe\/stripe-react-native\",\n        {\n          \"merchantIdentifier\": \"\",\n          \"enableGooglePay\": false\n        }\n      ],\n      &#91;\n        \"expo-notifications\",\n        {\n          \"icon\": \".\/assets\/icon96x96.png\",\n          \"mode\": \"production\",\n          \"color\": \"#ffffff\",\n          \"defaultChannel\": \"default\",\n          \"enableBackgroundRemoteNotifications\": true\n        }\n      ],\n      &#91;\n        \"expo-location\",\n        {\n          \"locationAlwaysAndWhenInUsePermission\": \"Classima uses device location on listing information, Listing search Data and User information.\"\n        }\n      ],\n      \"expo-localization\",\n      &#91;\n        \"expo-image-picker\",\n        {\n          \"photosPermission\": \"Classima needs access to the photo library to select and upload user profile image and Listing Image to the server.\",\n          \"cameraPermission\": \"Classima uses the camera to capture and upload user profile image and Listing Image to the server.\"\n        }\n      ],\n      &#91;\n        \"expo-document-picker\",\n        {\n          \"appleTeamId\": \"M34L8S85ZU\",\n          \"iCloudContainerEnvironment\": \"Production\"\n        }\n      ],\n      \"expo-apple-authentication\",\n      \"expo-router\",\n      &#91;\n        \"expo-splash-screen\",\n        {\n          \"image\": \".\/assets\/icons\/splash-icon-dark.png\",\n          \"resizeMode\": \"contain\",\n          \"imageWidth\": 200,\n          \"backgroundColor\": \"#ffffff\",\n          \"dark\": {\n            \"backgroundColor\": \"#000000\"\n          }\n        }\n      ],\n      &#91;\n        \"expo-build-properties\",\n        {\n          \"ios\": {\n            \"useFrameworks\": \"static\",\n            \"deploymentTarget\": \"15.1\",\n            \"forceStaticLinking\": &#91;\n              \"RNFBApp\"\n            ]\n          },\n          \"android\": {\n            \"compileSdkVersion\": 35,\n            \"targetSdkVersion\": 35,\n            \"buildToolsVersion\": \"34.0.0\"\n          }\n        }\n      ],\n      \"expo-localization\"\n    ],\n    \"ios\": {\n      \"bitcode\": \"Debug\",\n      \"supportsTablet\": true,\n      \"usesAppleSignIn\": true,\n      \"bundleIdentifier\": \"com.classima\",\n      \"buildNumber\": \"80\",\n      \"usesIcloudStorage\": true,\n      \"config\": {\n        \"googleMapsApiKey\": \"AIzaSyC0xWPUAzIYq0xy3bv5gVe2O6EYGfpF1j9\",\n        \"usesNonExemptEncryption\": false\n      },\n      \"infoPlist\": {\n        \"NSCameraUsageDescription\": \"Classima uses the camera to capture and upload user profile image and Listing Image to the server.\",\n        \"NSPhotoLibraryUsageDescription\": \"Classima needs access to the photo library to select and upload user profile image and Listing Image to the server.\",\n        \"NSPhotoLibraryAddUsageDescription\": \"Classima needs access to the photo library to select and upload user profile image and Listing Image to the server.\",\n        \"NSLocationWhenInUseUsageDescription\": \"Classima uses device location on listing information, Listing search Data and User information.\",\n        \"NSLocationAlwaysAndWhenInUseUsageDescription\": \"Classima uses device location on listing information, Listing search Data and User information.\",\n        \"NSLocationAlwaysUsageDescription\": \"Classima uses device location on listing information, Listing search Data and User information.\",\n        \"NSMicrophoneUsageDescription\": \"Classima uses your microphone while taking video of your product for uploading in listing information.\",\n        \"CFBundleAllowMixedLocalizations\": true,\n        \"UIBackgroundModes\": &#91;\n          \"remote-notification\"\n        ],\n        \"SKAdNetworkItems\": &#91;\n          {\n            \"SKAdNetworkIdentifier\": \"cstr6suwn9.skadnetwork\"\n          },\n          {\n            \"SKAdNetworkIdentifier\": \"v9wttpbfk9.skadnetwork\"\n          },\n          {\n            \"SKAdNetworkIdentifier\": \"n38lu8286q.skadnetwork\"\n          }\n        ]\n      },\n      \"icon\": \".\/assets\/icons\/Light.png\"\n    },\n    \"android\": {\n      \"package\": \"com.classima\",\n      \"config\": {\n        \"googleMaps\": {\n          \"apiKey\": \"AIzaSyC0xWPUAzIYq0xy3bv5gVe2O6EYGfpF1j9\"\n        }\n      },\n      \"adaptiveIcon\": {\n        \"foregroundImage\": \".\/assets\/icons\/adaptive-icon.png\",\n        \"monochromeImage\": \".\/assets\/icons\/adaptive-icon.png\",\n        \"backgroundColor\": \"#ffffff\"\n      },\n      \"edgeToEdgeEnabled\": true,\n      \"predictiveBackGestureEnabled\": false,\n      \"permissions\": &#91;\n        \"android.permission.CAMERA\",\n        \"android.permission.CAMERA_ROLL\",\n        \"android.permission.MEDIA_LIBRARY\",\n        \"android.permission.READ_EXTERNAL_STORAGE\",\n        \"android.permission.WRITE_EXTERNAL_STORAGE\",\n        \"android.permission.READ_PHONE_STATE\",\n        \"android.permission.LOCATION\",\n        \"android.permission.ACCESS_COARSE_LOCATION\",\n        \"android.permission.ACCESS_FINE_LOCATION\",\n        \"android.permission.RECEIVE_BOOT_COMPLETED\",\n        \"android.permission.INTERNET\",\n        \"android.permission.POST_NOTIFICATIONS\",\n        \"android.permission.ACCESS_COARSE_LOCATION\",\n        \"android.permission.ACCESS_FINE_LOCATION\",\n        \"android.permission.RECORD_AUDIO\"\n      ],\n      \"blockedPermissions\": &#91;\n        \"READ_CONTACTS\",\n        \"RECORD_AUDIO\"\n      ],\n      \"versionCode\": 80\n    },\n    \"web\": {\n      \"output\": \"static\",\n      \"favicon\": \".\/assets\/favicon.png\"\n    },\n    \"experiments\": {\n      \"typedRoutes\": true,\n      \"reactCompiler\": true\n    },\n    \"extra\": {\n      \"router\": {},\n      \"eas\": {\n        \"projectId\": \"47c5dce0-69e9-4ebf-a637-e5be113bbc00\"\n      }\n    }\n  }\n}\n\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">8. If you see the below marked line in fresh source code, just remove these lines (Only first time). If you do not remove these lines , your build command might fail for the first time. Once you build successfully, these lines will be newly generated for you. You can keep those after first successful build. <br><br><img fetchpriority=\"high\" decoding=\"async\" width=\"1230\" height=\"1130\" class=\"wp-image-688\" style=\"width: 1230px;\" src=\"https:\/\/www.radiustheme.com\/docs\/classima-mobile-app\/wp-content\/uploads\/sites\/13\/2021\/08\/Screenshot-2023-05-03-at-9.53.03-AM.png\" alt=\"\" srcset=\"https:\/\/www.radiustheme.com\/docs\/classima-mobile-app\/wp-content\/uploads\/sites\/13\/2021\/08\/Screenshot-2023-05-03-at-9.53.03-AM.png 845w, https:\/\/www.radiustheme.com\/docs\/classima-mobile-app\/wp-content\/uploads\/sites\/13\/2021\/08\/Screenshot-2023-05-03-at-9.53.03-AM-300x276.png 300w, https:\/\/www.radiustheme.com\/docs\/classima-mobile-app\/wp-content\/uploads\/sites\/13\/2021\/08\/Screenshot-2023-05-03-at-9.53.03-AM-768x705.png 768w\" sizes=\"(max-width: 1230px) 100vw, 1230px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>To Configuring App.json file do the following steps app.json file general structure: 8. If you see the below marked line in fresh source code, just remove these lines (Only first time). If you do not remove these lines , your build command might fail for the first time. Once you build successfully, these lines will [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[13],"doc_tag":[],"class_list":["post-197","docs","type-docs","status-publish","hentry","doc_category-app-configuration"],"year_month":"2026-11","word_count":650,"total_views":"55","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"RadiusTheme","author_nicename":"rttlp","author_url":"https:\/\/www.radiustheme.com\/docs\/classima-mobile-app\/author\/rttlp\/"},"doc_category_info":[{"term_name":"App Configuration","term_url":"https:\/\/www.radiustheme.com\/docs\/classima-mobile-app\/docs-category\/app-configuration\/"}],"doc_tag_info":[],"_links":{"self":[{"href":"https:\/\/www.radiustheme.com\/docs\/classima-mobile-app\/wp-json\/wp\/v2\/docs\/197","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.radiustheme.com\/docs\/classima-mobile-app\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.radiustheme.com\/docs\/classima-mobile-app\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.radiustheme.com\/docs\/classima-mobile-app\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.radiustheme.com\/docs\/classima-mobile-app\/wp-json\/wp\/v2\/comments?post=197"}],"version-history":[{"count":14,"href":"https:\/\/www.radiustheme.com\/docs\/classima-mobile-app\/wp-json\/wp\/v2\/docs\/197\/revisions"}],"predecessor-version":[{"id":1038,"href":"https:\/\/www.radiustheme.com\/docs\/classima-mobile-app\/wp-json\/wp\/v2\/docs\/197\/revisions\/1038"}],"wp:attachment":[{"href":"https:\/\/www.radiustheme.com\/docs\/classima-mobile-app\/wp-json\/wp\/v2\/media?parent=197"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www.radiustheme.com\/docs\/classima-mobile-app\/wp-json\/wp\/v2\/doc_category?post=197"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.radiustheme.com\/docs\/classima-mobile-app\/wp-json\/wp\/v2\/doc_tag?post=197"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}