diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 639b562..7cc9f6d 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,8 +1,8 @@ blank_issues_enabled: false contact_links: - name: Feature Request 💡 - url: https://github.com/callstackincubator/react-native-release-inspector/discussions/new?category=ideas + url: https://github.com/callstackincubator/inspector/discussions/new?category=ideas about: If you have a feature request, please create a new discussion on GitHub. - name: Discussions on GitHub 💬 - url: https://github.com/callstackincubator/react-native-release-inspector/discussions + url: https://github.com/callstackincubator/inspector/discussions about: If this library works as promised but you need help, please ask questions there. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c899930..2b31ca2 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -8,7 +8,7 @@ We want this community to be friendly and respectful to each other. Please follo This project is a monorepo managed using [Yarn workspaces](https://yarnpkg.com/features/workspaces). It contains the following packages: -- The library package in `packages/react-native-release-inspector`. +- The library package in `packages/inspector`. - An example app in `apps/example`. To get started with the project, make sure you have the correct version of [Node.js](https://nodejs.org/) installed. See the [`.nvmrc`](./.nvmrc) file for the version used in this project. @@ -25,9 +25,9 @@ The [example app](/apps/example/) demonstrates usage of the library. You need to It is configured to use the local version of the library, so any changes you make to the library's source code will be reflected in the example app. Changes to the library's JavaScript code will be reflected in the example app without a rebuild, but native code changes will require a rebuild of the example app. -If you want to use Android Studio or Xcode to edit the native code, you can open the `apps/example/android` or `apps/example/ios` directories respectively in those editors. To edit the Objective-C or Swift files, open `apps/example/ios/ReleaseInspectorExample.xcworkspace` in Xcode and find the source files at `Pods > Development Pods > react-native-release-inspector`. +If you want to use Android Studio or Xcode to edit the native code, you can open the `apps/example/android` or `apps/example/ios` directories respectively in those editors. To edit the Objective-C or Swift files, open `apps/example/ios/InspectorExample.xcworkspace` in Xcode and find the source files at `Pods > Development Pods > inspector`. -To edit the Java or Kotlin files, open `apps/example/android` in Android studio and find the source files at `react-native-release-inspector` under `Android`. +To edit the Java or Kotlin files, open `apps/example/android` in Android studio and find the source files at `inspector` under `Android`. You can use various commands from the root directory to work with the project. @@ -52,7 +52,7 @@ yarn example ios To confirm that the app is running with the new architecture, you can check the Metro logs for a message like this: ```sh -Running "ReleaseInspectorExample" with {"fabric":true,"initialProps":{"concurrentRoot":true},"rootTag":1} +Running "InspectorExample" with {"fabric":true,"initialProps":{"concurrentRoot":true},"rootTag":1} ``` Note the `"fabric":true` and `"concurrentRoot":true` properties. diff --git a/README.md b/README.md index 6ffc832..7c140c2 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ - + - react-native-release-inspector + inspector @@ -12,7 +12,7 @@ --- -# react-native-release-inspector +# inspector The React on Web allows the users to run [profilable](https://react.dev/reference/dev-tools/react-performance-tracks#using-profiling-builds) builds to get near to production experience. This is the sweetest spot to having more confident profiling. However, on React Native this wasn't possible until now. @@ -20,7 +20,7 @@ This package fixes this gap following the same analogy from React on Web, by all ## Demo -![release-inspector](./docs/assets/inspector.gif) +![inspector](./docs/assets/inspector.gif)
@@ -51,7 +51,7 @@ function onRender(id, phase, actualDuration, baseDuration, startTime, commitTime ## Installation ```sh -npm install @callstack/react-native-release-inspector +npm install @callstack/inspector ``` #### Additional For Expo: @@ -66,7 +66,7 @@ npm install --dev @react-native/metro-config@YOUR_RN_VERSION Add this to the top level of `index.js`: ```diff -+import '@callstack/react-native-release-inspector'; ++import '@callstack/inspector'; import { AppRegistry } from 'react-native'; ``` @@ -77,7 +77,7 @@ import { AppRegistry } from 'react-native'; - Create an `entry.tsx` file, if you don't have it already: ```tsx -import "@callstack/react-native-release-inspector"; +import "@callstack/inspector"; import { ExpoRoot } from "expo-router"; import { AppRegistry } from "react-native"; @@ -88,7 +88,7 @@ function App() { AppRegistry.registerComponent("main", () => App); ``` -> This is required to allow importing `@callstack/react-native-release-inspector` as the first module +> This is required to allow importing `@callstack/inspector` as the first module - Update `package.json` to reflect this entry file: @@ -120,12 +120,10 @@ module.exports = config;
-Update your `metro.config` with `withReactNativeReleaseInspector`: +Update your `metro.config` with `withInspector`: ```diff -+const { -+ withReactNativeReleaseInspector, -+} = require('@callstack/react-native-release-inspector/metro'); ++const { withInspector } = require('@callstack/inspector/metro'); const root = path.resolve(__dirname, '../..'); @@ -134,7 +132,7 @@ const config = withMetroConfig(getDefaultConfig(__dirname), { dirname: __dirname, }); -+module.exports = withReactNativeReleaseInspector(config, true); ++module.exports = withInspector(config, true); ``` #### Step 3: @@ -158,9 +156,9 @@ Now build and run your app in release mode, you should see the react devtools co ### API -The `@callstack/react-native-release-inspector` requires the user to configure their `metro.config` as shown above. This `withReactNativeReleaseInspector` receives the following arguments: +The `@callstack/inspector` requires the user to configure their `metro.config` as shown above. This `withInspector` receives the following arguments: -- `withReactNativeReleaseInspector(config, enabled)` +- `withInspector(config, enabled)` - `config: MetroConfig` - User only need to pass the config instance from Metro - `enabled: Boolean` @@ -169,7 +167,7 @@ The `@callstack/react-native-release-inspector` requires the user to configure t ### CLI -The `@callstack/react-native-release-inspector` exposes a CLI `inspector` to start the instance of React DevTools. +The `@callstack/inspector` exposes a CLI `inspector` to start the instance of React DevTools. It supports the following options: @@ -181,9 +179,9 @@ It supports the following options: Sample Usages: ```bash -yarn inspector start -yarn inspector help -yarn inspector -h +npx inspector start +npx inspector help +npx inspector -h ```
@@ -195,7 +193,7 @@ yarn inspector -h ## Made with ❤️ at Callstack -**react-native-release-inspector** is an open source project and will always remain free to use. If you think it's cool, please star it 🌟. +**inspector** is an open source project and will always remain free to use. If you think it's cool, please star it 🌟. [Callstack](https://www.callstack.com/) is a group of React and React Native geeks, contact us at [hello@callstack.com](mailto:hello@callstack.com) if you need any help with these or just want to say hi! @@ -207,9 +205,9 @@ Made with [create-react-native-library](https://github.com/callstack/react-nativ MIT -[license-badge]: https://img.shields.io/npm/l/react-native-release-inspector?style=for-the-badge -[license]: https://github.com/callstackincubator/react-native-release-inspector/blob/main/LICENSE -[npm-downloads-badge]: https://img.shields.io/npm/dm/react-native-release-inspector?style=for-the-badge -[npm-downloads]: https://www.npmjs.com/package/react-native-release-inspector +[license-badge]: https://img.shields.io/npm/l/@callstack/inspector?style=for-the-badge +[license]: https://github.com/callstackincubator/inspector/blob/main/LICENSE +[npm-downloads-badge]: https://img.shields.io/npm/dm/@callstack/inspector?style=for-the-badge +[npm-downloads]: https://www.npmjs.com/package/@callstack/inspector [prs-welcome-badge]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=for-the-badge -[prs-welcome]: https://github.com/callstackincubator/react-native-release-inspector \ No newline at end of file +[prs-welcome]: https://github.com/callstackincubator/inspector \ No newline at end of file diff --git a/apps/example/android/app/build.gradle b/apps/example/android/app/build.gradle index 74754de..f2956fb 100644 --- a/apps/example/android/app/build.gradle +++ b/apps/example/android/app/build.gradle @@ -77,9 +77,9 @@ android { buildToolsVersion rootProject.ext.buildToolsVersion compileSdk rootProject.ext.compileSdkVersion - namespace "releaseinspector.example" + namespace "inspector.example" defaultConfig { - applicationId "releaseinspector.example" + applicationId "inspector.example" minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion versionCode 1 diff --git a/apps/example/android/app/src/main/java/releaseinspector/example/MainActivity.kt b/apps/example/android/app/src/main/java/releaseinspector/example/MainActivity.kt index 37f02a2..834d352 100644 --- a/apps/example/android/app/src/main/java/releaseinspector/example/MainActivity.kt +++ b/apps/example/android/app/src/main/java/releaseinspector/example/MainActivity.kt @@ -1,4 +1,4 @@ -package releaseinspector.example +package inspector.example import com.facebook.react.ReactActivity import com.facebook.react.ReactActivityDelegate @@ -11,7 +11,7 @@ class MainActivity : ReactActivity() { * Returns the name of the main component registered from JavaScript. This is used to schedule * rendering of the component. */ - override fun getMainComponentName(): String = "ReleaseInspectorExample" + override fun getMainComponentName(): String = "InspectorExample" /** * Returns the instance of the [ReactActivityDelegate]. We use [DefaultReactActivityDelegate] diff --git a/apps/example/android/app/src/main/java/releaseinspector/example/MainApplication.kt b/apps/example/android/app/src/main/java/releaseinspector/example/MainApplication.kt index b5cfd3b..a469823 100644 --- a/apps/example/android/app/src/main/java/releaseinspector/example/MainApplication.kt +++ b/apps/example/android/app/src/main/java/releaseinspector/example/MainApplication.kt @@ -1,4 +1,4 @@ -package releaseinspector.example +package inspector.example import android.app.Application import com.facebook.react.PackageList diff --git a/apps/example/android/app/src/main/res/values/strings.xml b/apps/example/android/app/src/main/res/values/strings.xml index f3b11f5..88cb947 100644 --- a/apps/example/android/app/src/main/res/values/strings.xml +++ b/apps/example/android/app/src/main/res/values/strings.xml @@ -1,3 +1,3 @@ - ReleaseInspectorExample + InspectorExample diff --git a/apps/example/android/settings.gradle b/apps/example/android/settings.gradle index 70810bb..a26038c 100644 --- a/apps/example/android/settings.gradle +++ b/apps/example/android/settings.gradle @@ -1,6 +1,6 @@ pluginManagement { includeBuild("../node_modules/@react-native/gradle-plugin") } plugins { id("com.facebook.react.settings") } extensions.configure(com.facebook.react.ReactSettingsExtension){ ex -> ex.autolinkLibrariesFromCommand() } -rootProject.name = 'releaseinspector.example' +rootProject.name = 'inspector.example' include ':app' includeBuild('../node_modules/@react-native/gradle-plugin') diff --git a/apps/example/app.json b/apps/example/app.json index e151e57..e79bce6 100644 --- a/apps/example/app.json +++ b/apps/example/app.json @@ -1,4 +1,4 @@ { - "name": "ReleaseInspectorExample", - "displayName": "ReleaseInspectorExample" + "name": "InspectorExample", + "displayName": "InspectorExample" } diff --git a/apps/example/babel.config.js b/apps/example/babel.config.js index 13c3415..75018d9 100644 --- a/apps/example/babel.config.js +++ b/apps/example/babel.config.js @@ -5,8 +5,8 @@ module.exports = { 'module-resolver', { alias: { - '@callstack/react-native-release-inspector': - '../../packages/react-native-release-inspector/src', + '@callstack/inspector': + '../../packages/inspector/src', }, }, ], diff --git a/apps/example/index.js b/apps/example/index.js index 7ce8a8b..58499cd 100644 --- a/apps/example/index.js +++ b/apps/example/index.js @@ -1,4 +1,4 @@ -import '@callstack/react-native-release-inspector'; +import '@callstack/inspector'; import { AppRegistry } from 'react-native'; import App from './src/App'; import { name as appName } from './app.json'; diff --git a/apps/example/ios/ReleaseInspectorExample.xcodeproj/project.pbxproj b/apps/example/ios/InspectorExample.xcodeproj/project.pbxproj similarity index 78% rename from apps/example/ios/ReleaseInspectorExample.xcodeproj/project.pbxproj rename to apps/example/ios/InspectorExample.xcodeproj/project.pbxproj index c4f616f..5bc891a 100644 --- a/apps/example/ios/ReleaseInspectorExample.xcodeproj/project.pbxproj +++ b/apps/example/ios/InspectorExample.xcodeproj/project.pbxproj @@ -7,7 +7,7 @@ objects = { /* Begin PBXBuildFile section */ - 0C80B921A6F3F58F76C31292 /* libPods-ReleaseInspectorExample.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5DCACB8F33CDC322A6C60F78 /* libPods-ReleaseInspectorExample.a */; }; + 0C80B921A6F3F58F76C31292 /* libPods-InspectorExample.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5DCACB8F33CDC322A6C60F78 /* libPods-InspectorExample.a */; }; 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 761780ED2CA45674006654EE /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 761780EC2CA45674006654EE /* AppDelegate.swift */; }; 81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */; }; @@ -15,15 +15,15 @@ /* End PBXBuildFile section */ /* Begin PBXFileReference section */ - 13B07F961A680F5B00A75B9A /* ReleaseInspectorExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ReleaseInspectorExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; - 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = ReleaseInspectorExample/Images.xcassets; sourceTree = ""; }; - 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = ReleaseInspectorExample/Info.plist; sourceTree = ""; }; - 13B07FB81A68108700A75B9A /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = PrivacyInfo.xcprivacy; path = ReleaseInspectorExample/PrivacyInfo.xcprivacy; sourceTree = ""; }; - 3B4392A12AC88292D35C810B /* Pods-ReleaseInspectorExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ReleaseInspectorExample.debug.xcconfig"; path = "Target Support Files/Pods-ReleaseInspectorExample/Pods-ReleaseInspectorExample.debug.xcconfig"; sourceTree = ""; }; - 5709B34CF0A7D63546082F79 /* Pods-ReleaseInspectorExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ReleaseInspectorExample.release.xcconfig"; path = "Target Support Files/Pods-ReleaseInspectorExample/Pods-ReleaseInspectorExample.release.xcconfig"; sourceTree = ""; }; - 5DCACB8F33CDC322A6C60F78 /* libPods-ReleaseInspectorExample.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-ReleaseInspectorExample.a"; sourceTree = BUILT_PRODUCTS_DIR; }; - 761780EC2CA45674006654EE /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = AppDelegate.swift; path = ReleaseInspectorExample/AppDelegate.swift; sourceTree = ""; }; - 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = ReleaseInspectorExample/LaunchScreen.storyboard; sourceTree = ""; }; + 13B07F961A680F5B00A75B9A /* InspectorExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = InspectorExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = InspectorExample/Images.xcassets; sourceTree = ""; }; + 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = InspectorExample/Info.plist; sourceTree = ""; }; + 13B07FB81A68108700A75B9A /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = PrivacyInfo.xcprivacy; path = InspectorExample/PrivacyInfo.xcprivacy; sourceTree = ""; }; + 3B4392A12AC88292D35C810B /* Pods-InspectorExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-InspectorExample.debug.xcconfig"; path = "Target Support Files/Pods-InspectorExample/Pods-InspectorExample.debug.xcconfig"; sourceTree = ""; }; + 5709B34CF0A7D63546082F79 /* Pods-InspectorExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-InspectorExample.release.xcconfig"; path = "Target Support Files/Pods-InspectorExample/Pods-InspectorExample.release.xcconfig"; sourceTree = ""; }; + 5DCACB8F33CDC322A6C60F78 /* libPods-InspectorExample.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-InspectorExample.a"; sourceTree = BUILT_PRODUCTS_DIR; }; + 761780EC2CA45674006654EE /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = AppDelegate.swift; path = InspectorExample/AppDelegate.swift; sourceTree = ""; }; + 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = InspectorExample/LaunchScreen.storyboard; sourceTree = ""; }; ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; }; /* End PBXFileReference section */ @@ -32,14 +32,14 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 0C80B921A6F3F58F76C31292 /* libPods-ReleaseInspectorExample.a in Frameworks */, + 0C80B921A6F3F58F76C31292 /* libPods-InspectorExample.a in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ - 13B07FAE1A68108700A75B9A /* ReleaseInspectorExample */ = { + 13B07FAE1A68108700A75B9A /* InspectorExample */ = { isa = PBXGroup; children = ( 13B07FB51A68108700A75B9A /* Images.xcassets */, @@ -48,14 +48,14 @@ 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */, 13B07FB81A68108700A75B9A /* PrivacyInfo.xcprivacy */, ); - name = ReleaseInspectorExample; + name = InspectorExample; sourceTree = ""; }; 2D16E6871FA4F8E400B85C8A /* Frameworks */ = { isa = PBXGroup; children = ( ED297162215061F000B7C4FE /* JavaScriptCore.framework */, - 5DCACB8F33CDC322A6C60F78 /* libPods-ReleaseInspectorExample.a */, + 5DCACB8F33CDC322A6C60F78 /* libPods-InspectorExample.a */, ); name = Frameworks; sourceTree = ""; @@ -70,7 +70,7 @@ 83CBB9F61A601CBA00E9B192 = { isa = PBXGroup; children = ( - 13B07FAE1A68108700A75B9A /* ReleaseInspectorExample */, + 13B07FAE1A68108700A75B9A /* InspectorExample */, 832341AE1AAA6A7D00B99B32 /* Libraries */, 83CBBA001A601CBA00E9B192 /* Products */, 2D16E6871FA4F8E400B85C8A /* Frameworks */, @@ -84,7 +84,7 @@ 83CBBA001A601CBA00E9B192 /* Products */ = { isa = PBXGroup; children = ( - 13B07F961A680F5B00A75B9A /* ReleaseInspectorExample.app */, + 13B07F961A680F5B00A75B9A /* InspectorExample.app */, ); name = Products; sourceTree = ""; @@ -92,8 +92,8 @@ BBD78D7AC51CEA395F1C20DB /* Pods */ = { isa = PBXGroup; children = ( - 3B4392A12AC88292D35C810B /* Pods-ReleaseInspectorExample.debug.xcconfig */, - 5709B34CF0A7D63546082F79 /* Pods-ReleaseInspectorExample.release.xcconfig */, + 3B4392A12AC88292D35C810B /* Pods-InspectorExample.debug.xcconfig */, + 5709B34CF0A7D63546082F79 /* Pods-InspectorExample.release.xcconfig */, ); path = Pods; sourceTree = ""; @@ -101,9 +101,9 @@ /* End PBXGroup section */ /* Begin PBXNativeTarget section */ - 13B07F861A680F5B00A75B9A /* ReleaseInspectorExample */ = { + 13B07F861A680F5B00A75B9A /* InspectorExample */ = { isa = PBXNativeTarget; - buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "ReleaseInspectorExample" */; + buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "InspectorExample" */; buildPhases = ( C38B50BA6285516D6DCD4F65 /* [CP] Check Pods Manifest.lock */, 13B07F871A680F5B00A75B9A /* Sources */, @@ -117,9 +117,9 @@ ); dependencies = ( ); - name = ReleaseInspectorExample; - productName = ReleaseInspectorExample; - productReference = 13B07F961A680F5B00A75B9A /* ReleaseInspectorExample.app */; + name = InspectorExample; + productName = InspectorExample; + productReference = 13B07F961A680F5B00A75B9A /* InspectorExample.app */; productType = "com.apple.product-type.application"; }; /* End PBXNativeTarget section */ @@ -135,7 +135,7 @@ }; }; }; - buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "ReleaseInspectorExample" */; + buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "InspectorExample" */; compatibilityVersion = "Xcode 12.0"; developmentRegion = en; hasScannedForEncodings = 0; @@ -148,7 +148,7 @@ projectDirPath = ""; projectRoot = ""; targets = ( - 13B07F861A680F5B00A75B9A /* ReleaseInspectorExample */, + 13B07F861A680F5B00A75B9A /* InspectorExample */, ); }; /* End PBXProject section */ @@ -189,15 +189,15 @@ files = ( ); inputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-ReleaseInspectorExample/Pods-ReleaseInspectorExample-frameworks-${CONFIGURATION}-input-files.xcfilelist", + "${PODS_ROOT}/Target Support Files/Pods-InspectorExample/Pods-InspectorExample-frameworks-${CONFIGURATION}-input-files.xcfilelist", ); name = "[CP] Embed Pods Frameworks"; outputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-ReleaseInspectorExample/Pods-ReleaseInspectorExample-frameworks-${CONFIGURATION}-output-files.xcfilelist", + "${PODS_ROOT}/Target Support Files/Pods-InspectorExample/Pods-InspectorExample-frameworks-${CONFIGURATION}-output-files.xcfilelist", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-ReleaseInspectorExample/Pods-ReleaseInspectorExample-frameworks.sh\"\n"; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-InspectorExample/Pods-InspectorExample-frameworks.sh\"\n"; showEnvVarsInLog = 0; }; C38B50BA6285516D6DCD4F65 /* [CP] Check Pods Manifest.lock */ = { @@ -215,7 +215,7 @@ outputFileListPaths = ( ); outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-ReleaseInspectorExample-checkManifestLockResult.txt", + "$(DERIVED_FILE_DIR)/Pods-InspectorExample-checkManifestLockResult.txt", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; @@ -228,15 +228,15 @@ files = ( ); inputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-ReleaseInspectorExample/Pods-ReleaseInspectorExample-resources-${CONFIGURATION}-input-files.xcfilelist", + "${PODS_ROOT}/Target Support Files/Pods-InspectorExample/Pods-InspectorExample-resources-${CONFIGURATION}-input-files.xcfilelist", ); name = "[CP] Copy Pods Resources"; outputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-ReleaseInspectorExample/Pods-ReleaseInspectorExample-resources-${CONFIGURATION}-output-files.xcfilelist", + "${PODS_ROOT}/Target Support Files/Pods-InspectorExample/Pods-InspectorExample-resources-${CONFIGURATION}-output-files.xcfilelist", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-ReleaseInspectorExample/Pods-ReleaseInspectorExample-resources.sh\"\n"; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-InspectorExample/Pods-InspectorExample-resources.sh\"\n"; showEnvVarsInLog = 0; }; /* End PBXShellScriptBuildPhase section */ @@ -255,13 +255,13 @@ /* Begin XCBuildConfiguration section */ 13B07F941A680F5B00A75B9A /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 3B4392A12AC88292D35C810B /* Pods-ReleaseInspectorExample.debug.xcconfig */; + baseConfigurationReference = 3B4392A12AC88292D35C810B /* Pods-InspectorExample.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; CURRENT_PROJECT_VERSION = 1; ENABLE_BITCODE = NO; - INFOPLIST_FILE = ReleaseInspectorExample/Info.plist; + INFOPLIST_FILE = InspectorExample/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 15.1; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", @@ -273,8 +273,8 @@ "-ObjC", "-lc++", ); - PRODUCT_BUNDLE_IDENTIFIER = releaseinspector.example; - PRODUCT_NAME = ReleaseInspectorExample; + PRODUCT_BUNDLE_IDENTIFIER = inspector.example; + PRODUCT_NAME = InspectorExample; SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_VERSION = 5.0; @@ -285,12 +285,12 @@ }; 13B07F951A680F5B00A75B9A /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 5709B34CF0A7D63546082F79 /* Pods-ReleaseInspectorExample.release.xcconfig */; + baseConfigurationReference = 5709B34CF0A7D63546082F79 /* Pods-InspectorExample.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; CURRENT_PROJECT_VERSION = 1; - INFOPLIST_FILE = ReleaseInspectorExample/Info.plist; + INFOPLIST_FILE = InspectorExample/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 15.1; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", @@ -302,8 +302,8 @@ "-ObjC", "-lc++", ); - PRODUCT_BUNDLE_IDENTIFIER = releaseinspector.example; - PRODUCT_NAME = ReleaseInspectorExample; + PRODUCT_BUNDLE_IDENTIFIER = inspector.example; + PRODUCT_NAME = InspectorExample; SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; @@ -470,7 +470,7 @@ /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ - 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "ReleaseInspectorExample" */ = { + 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "InspectorExample" */ = { isa = XCConfigurationList; buildConfigurations = ( 13B07F941A680F5B00A75B9A /* Debug */, @@ -479,7 +479,7 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "ReleaseInspectorExample" */ = { + 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "InspectorExample" */ = { isa = XCConfigurationList; buildConfigurations = ( 83CBBA201A601CBA00E9B192 /* Debug */, diff --git a/apps/example/ios/ReleaseInspectorExample.xcodeproj/xcshareddata/xcschemes/ReleaseInspectorExample.xcscheme b/apps/example/ios/InspectorExample.xcodeproj/xcshareddata/xcschemes/InspectorExample.xcscheme similarity index 76% rename from apps/example/ios/ReleaseInspectorExample.xcodeproj/xcshareddata/xcschemes/ReleaseInspectorExample.xcscheme rename to apps/example/ios/InspectorExample.xcodeproj/xcshareddata/xcschemes/InspectorExample.xcscheme index 2269a72..fcbc03a 100644 --- a/apps/example/ios/ReleaseInspectorExample.xcodeproj/xcshareddata/xcschemes/ReleaseInspectorExample.xcscheme +++ b/apps/example/ios/InspectorExample.xcodeproj/xcshareddata/xcschemes/InspectorExample.xcscheme @@ -15,9 +15,9 @@ + BuildableName = "InspectorExample.app" + BlueprintName = "InspectorExample" + ReferencedContainer = "container:InspectorExample.xcodeproj"> @@ -33,9 +33,9 @@ + BuildableName = "InspectorExampleTests.xctest" + BlueprintName = "InspectorExampleTests" + ReferencedContainer = "container:InspectorExample.xcodeproj"> @@ -55,9 +55,9 @@ + BuildableName = "InspectorExample.app" + BlueprintName = "InspectorExample" + ReferencedContainer = "container:InspectorExample.xcodeproj"> @@ -72,9 +72,9 @@ + BuildableName = "InspectorExample.app" + BlueprintName = "InspectorExample" + ReferencedContainer = "container:InspectorExample.xcodeproj"> diff --git a/apps/example/ios/ReleaseInspectorExample.xcworkspace/contents.xcworkspacedata b/apps/example/ios/InspectorExample.xcworkspace/contents.xcworkspacedata similarity index 75% rename from apps/example/ios/ReleaseInspectorExample.xcworkspace/contents.xcworkspacedata rename to apps/example/ios/InspectorExample.xcworkspace/contents.xcworkspacedata index 502554c..d4dac70 100644 --- a/apps/example/ios/ReleaseInspectorExample.xcworkspace/contents.xcworkspacedata +++ b/apps/example/ios/InspectorExample.xcworkspace/contents.xcworkspacedata @@ -2,7 +2,7 @@ + location = "group:InspectorExample.xcodeproj"> diff --git a/apps/example/ios/ReleaseInspectorExample/AppDelegate.swift b/apps/example/ios/InspectorExample/AppDelegate.swift similarity index 96% rename from apps/example/ios/ReleaseInspectorExample/AppDelegate.swift rename to apps/example/ios/InspectorExample/AppDelegate.swift index 9a477b3..973b9d8 100644 --- a/apps/example/ios/ReleaseInspectorExample/AppDelegate.swift +++ b/apps/example/ios/InspectorExample/AppDelegate.swift @@ -24,7 +24,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate { window = UIWindow(frame: UIScreen.main.bounds) factory.startReactNative( - withModuleName: "ReleaseInspectorExample", + withModuleName: "InspectorExample", in: window, launchOptions: launchOptions ) diff --git a/apps/example/ios/ReleaseInspectorExample/Images.xcassets/AppIcon.appiconset/Contents.json b/apps/example/ios/InspectorExample/Images.xcassets/AppIcon.appiconset/Contents.json similarity index 100% rename from apps/example/ios/ReleaseInspectorExample/Images.xcassets/AppIcon.appiconset/Contents.json rename to apps/example/ios/InspectorExample/Images.xcassets/AppIcon.appiconset/Contents.json diff --git a/apps/example/ios/ReleaseInspectorExample/Images.xcassets/Contents.json b/apps/example/ios/InspectorExample/Images.xcassets/Contents.json similarity index 100% rename from apps/example/ios/ReleaseInspectorExample/Images.xcassets/Contents.json rename to apps/example/ios/InspectorExample/Images.xcassets/Contents.json diff --git a/apps/example/ios/ReleaseInspectorExample/Info.plist b/apps/example/ios/InspectorExample/Info.plist similarity index 97% rename from apps/example/ios/ReleaseInspectorExample/Info.plist rename to apps/example/ios/InspectorExample/Info.plist index bb0f3ee..1789edc 100644 --- a/apps/example/ios/ReleaseInspectorExample/Info.plist +++ b/apps/example/ios/InspectorExample/Info.plist @@ -7,7 +7,7 @@ CFBundleDevelopmentRegion en CFBundleDisplayName - ReleaseInspectorExample + InspectorExample CFBundleExecutable $(EXECUTABLE_NAME) CFBundleIdentifier diff --git a/apps/example/ios/ReleaseInspectorExample/LaunchScreen.storyboard b/apps/example/ios/InspectorExample/LaunchScreen.storyboard similarity index 93% rename from apps/example/ios/ReleaseInspectorExample/LaunchScreen.storyboard rename to apps/example/ios/InspectorExample/LaunchScreen.storyboard index 59edfe0..274f6ba 100644 --- a/apps/example/ios/ReleaseInspectorExample/LaunchScreen.storyboard +++ b/apps/example/ios/InspectorExample/LaunchScreen.storyboard @@ -16,7 +16,7 @@ -