react-native-inapp-inspector 1.1.17 → 1.1.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commonjs/components/Inspector/BundleTab.d.ts +5 -0
- package/dist/commonjs/components/Inspector/BundleTab.js +176 -46
- package/dist/commonjs/components/Inspector/MainScreen.js +7 -0
- package/dist/commonjs/components/Inspector/PerformanceTab.d.ts +22 -0
- package/dist/commonjs/components/Inspector/PerformanceTab.js +1143 -0
- package/dist/commonjs/components/Inspector/SettingsPanel.js +5 -0
- package/dist/commonjs/components/Inspector/TabBar.js +7 -0
- package/dist/commonjs/components/NetworkIcons.d.ts +1 -0
- package/dist/commonjs/components/NetworkIcons.js +10 -1
- package/dist/commonjs/constants/version.d.ts +1 -1
- package/dist/commonjs/constants/version.js +1 -1
- package/dist/commonjs/index.js +6 -3
- package/dist/commonjs/types/enums.d.ts +2 -2
- package/dist/esm/components/Inspector/BundleTab.d.ts +5 -0
- package/dist/esm/components/Inspector/BundleTab.js +177 -47
- package/dist/esm/components/Inspector/MainScreen.js +7 -0
- package/dist/esm/components/Inspector/PerformanceTab.d.ts +22 -0
- package/dist/esm/components/Inspector/PerformanceTab.js +1105 -0
- package/dist/esm/components/Inspector/SettingsPanel.js +6 -1
- package/dist/esm/components/Inspector/TabBar.js +8 -1
- package/dist/esm/components/NetworkIcons.d.ts +1 -0
- package/dist/esm/components/NetworkIcons.js +8 -0
- package/dist/esm/constants/version.d.ts +1 -1
- package/dist/esm/constants/version.js +1 -1
- package/dist/esm/index.js +6 -3
- package/dist/esm/types/enums.d.ts +2 -2
- package/package.json +2 -4
- package/assets/banner_dark.svg +0 -186
- package/assets/banner_light.svg +0 -186
- package/assets/icon_circle.svg +0 -148
- package/assets/icon_square.svg +0 -148
- package/assets/social_preview.png +0 -0
- package/assets/walkthrough.gif +0 -0
- package/dist/commonjs/assets/svgAssets.d.ts +0 -3
- package/dist/commonjs/assets/svgAssets.js +0 -17
- package/dist/commonjs/components/AnalyticsTabView.d.ts +0 -15
- package/dist/commonjs/components/AnalyticsTabView.js +0 -157
- package/dist/commonjs/components/ApiDetailView.d.ts +0 -22
- package/dist/commonjs/components/ApiDetailView.js +0 -304
- package/dist/commonjs/components/ApisTabView.d.ts +0 -33
- package/dist/commonjs/components/ApisTabView.js +0 -235
- package/dist/commonjs/components/ConsoleLogDetailView.d.ts +0 -9
- package/dist/commonjs/components/ConsoleLogDetailView.js +0 -278
- package/dist/commonjs/components/ConsoleLogsTabView.d.ts +0 -24
- package/dist/commonjs/components/ConsoleLogsTabView.js +0 -354
- package/dist/commonjs/components/FloatingBubble.d.ts +0 -14
- package/dist/commonjs/components/FloatingBubble.js +0 -75
- package/dist/commonjs/components/Inspector/InsightsDashboard.d.ts +0 -3
- package/dist/commonjs/components/Inspector/InsightsDashboard.js +0 -619
- package/dist/commonjs/components/Inspector/WebViewTab.d.ts +0 -3
- package/dist/commonjs/components/Inspector/WebViewTab.js +0 -757
- package/dist/commonjs/components/InspectorHeader.d.ts +0 -19
- package/dist/commonjs/components/InspectorHeader.js +0 -329
- package/dist/commonjs/components/InspectorTabBar.d.ts +0 -16
- package/dist/commonjs/components/InspectorTabBar.js +0 -90
- package/dist/commonjs/components/NavigationTracker.d.ts +0 -7
- package/dist/commonjs/components/NavigationTracker.js +0 -76
- package/dist/commonjs/components/ReduxTabView.d.ts +0 -9
- package/dist/commonjs/components/ReduxTabView.js +0 -56
- package/dist/commonjs/components/ReduxTreeView.d.ts +0 -16
- package/dist/commonjs/components/ReduxTreeView.js +0 -1257
- package/dist/commonjs/components/SettingsView.d.ts +0 -13
- package/dist/commonjs/components/SettingsView.js +0 -328
- package/dist/commonjs/customHooks/webViewLogger.d.ts +0 -24
- package/dist/commonjs/customHooks/webViewLogger.js +0 -452
- package/dist/commonjs/enums/index.d.ts +0 -39
- package/dist/commonjs/enums/index.js +0 -50
- package/dist/commonjs/i18n/en.json +0 -144
- package/dist/esm/assets/svgAssets.d.ts +0 -3
- package/dist/esm/assets/svgAssets.js +0 -14
- package/dist/esm/components/AnalyticsTabView.d.ts +0 -15
- package/dist/esm/components/AnalyticsTabView.js +0 -151
- package/dist/esm/components/ApiDetailView.d.ts +0 -22
- package/dist/esm/components/ApiDetailView.js +0 -264
- package/dist/esm/components/ApisTabView.d.ts +0 -33
- package/dist/esm/components/ApisTabView.js +0 -196
- package/dist/esm/components/ConsoleLogDetailView.d.ts +0 -9
- package/dist/esm/components/ConsoleLogDetailView.js +0 -271
- package/dist/esm/components/ConsoleLogsTabView.d.ts +0 -24
- package/dist/esm/components/ConsoleLogsTabView.js +0 -348
- package/dist/esm/components/FloatingBubble.d.ts +0 -14
- package/dist/esm/components/FloatingBubble.js +0 -68
- package/dist/esm/components/Inspector/InsightsDashboard.d.ts +0 -3
- package/dist/esm/components/Inspector/InsightsDashboard.js +0 -614
- package/dist/esm/components/Inspector/WebViewTab.d.ts +0 -3
- package/dist/esm/components/Inspector/WebViewTab.js +0 -752
- package/dist/esm/components/InspectorHeader.d.ts +0 -19
- package/dist/esm/components/InspectorHeader.js +0 -323
- package/dist/esm/components/InspectorTabBar.d.ts +0 -16
- package/dist/esm/components/InspectorTabBar.js +0 -84
- package/dist/esm/components/NavigationTracker.d.ts +0 -7
- package/dist/esm/components/NavigationTracker.js +0 -39
- package/dist/esm/components/ReduxTabView.d.ts +0 -9
- package/dist/esm/components/ReduxTabView.js +0 -50
- package/dist/esm/components/ReduxTreeView.d.ts +0 -16
- package/dist/esm/components/ReduxTreeView.js +0 -1218
- package/dist/esm/components/SettingsView.d.ts +0 -13
- package/dist/esm/components/SettingsView.js +0 -321
- package/dist/esm/customHooks/webViewLogger.d.ts +0 -24
- package/dist/esm/customHooks/webViewLogger.js +0 -405
- package/dist/esm/enums/index.d.ts +0 -39
- package/dist/esm/enums/index.js +0 -47
- package/dist/esm/i18n/en.json +0 -144
- package/example/.bundle/config +0 -2
- package/example/.eslintrc.js +0 -4
- package/example/.prettierrc.js +0 -5
- package/example/.watchmanconfig +0 -1
- package/example/App.tsx +0 -879
- package/example/Gemfile +0 -17
- package/example/README.md +0 -53
- package/example/__tests__/App.test.tsx +0 -13
- package/example/android/app/build.gradle +0 -147
- package/example/android/app/debug.keystore +0 -0
- package/example/android/app/proguard-rules.pro +0 -10
- package/example/android/app/src/main/AndroidManifest.xml +0 -27
- package/example/android/app/src/main/java/com/example/MainActivity.kt +0 -22
- package/example/android/app/src/main/java/com/example/MainApplication.kt +0 -52
- package/example/android/app/src/main/res/drawable/rn_edit_text_material.xml +0 -37
- package/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +0 -0
- package/example/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png +0 -0
- package/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +0 -0
- package/example/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png +0 -0
- package/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +0 -0
- package/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png +0 -0
- package/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
- package/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png +0 -0
- package/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +0 -0
- package/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png +0 -0
- package/example/android/app/src/main/res/values/strings.xml +0 -3
- package/example/android/app/src/main/res/values/styles.xml +0 -9
- package/example/android/build.gradle +0 -48
- package/example/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/example/android/gradle/wrapper/gradle-wrapper.properties +0 -7
- package/example/android/gradle.properties +0 -45
- package/example/android/gradlew +0 -248
- package/example/android/gradlew.bat +0 -98
- package/example/android/settings.gradle +0 -25
- package/example/app.json +0 -4
- package/example/assets/app_icon.png +0 -0
- package/example/babel.config.js +0 -3
- package/example/guidance/Video-WalkThrough.mp4 +0 -0
- package/example/index.js +0 -9
- package/example/ios/.xcode.env +0 -11
- package/example/ios/Podfile +0 -34
- package/example/ios/Podfile.lock +0 -2303
- package/example/ios/example/AppDelegate.swift +0 -48
- package/example/ios/example/Images.xcassets/AppIcon.appiconset/Contents.json +0 -62
- package/example/ios/example/Images.xcassets/AppIcon.appiconset/app_icon_1024.png +0 -0
- package/example/ios/example/Images.xcassets/Contents.json +0 -6
- package/example/ios/example/Info.plist +0 -60
- package/example/ios/example/LaunchScreen.storyboard +0 -47
- package/example/ios/example/PrivacyInfo.xcprivacy +0 -37
- package/example/ios/example.xcodeproj/project.pbxproj +0 -498
- package/example/ios/example.xcodeproj/xcshareddata/xcschemes/example.xcscheme +0 -88
- package/example/ios/example.xcworkspace/contents.xcworkspacedata +0 -10
- package/example/jest.config.js +0 -3
- package/example/metro.config.js +0 -45
- package/example/package-lock.json +0 -13508
- package/example/package.json +0 -54
- package/example/polyfill.js +0 -13
- package/example/tsconfig.json +0 -8
- package/fonts/Inter/Inter.ttc +0 -0
- package/fonts/Inter/InterVariable-Italic.ttf +0 -0
- package/fonts/Inter/InterVariable.ttf +0 -0
- package/fonts/Inter/LICENSE.txt +0 -92
- package/fonts/Inter/extras/otf/Inter-Black.otf +0 -0
- package/fonts/Inter/extras/otf/Inter-BlackItalic.otf +0 -0
- package/fonts/Inter/extras/otf/Inter-Bold.otf +0 -0
- package/fonts/Inter/extras/otf/Inter-BoldItalic.otf +0 -0
- package/fonts/Inter/extras/otf/Inter-ExtraBold.otf +0 -0
- package/fonts/Inter/extras/otf/Inter-ExtraBoldItalic.otf +0 -0
- package/fonts/Inter/extras/otf/Inter-ExtraLight.otf +0 -0
- package/fonts/Inter/extras/otf/Inter-ExtraLightItalic.otf +0 -0
- package/fonts/Inter/extras/otf/Inter-Italic.otf +0 -0
- package/fonts/Inter/extras/otf/Inter-Light.otf +0 -0
- package/fonts/Inter/extras/otf/Inter-LightItalic.otf +0 -0
- package/fonts/Inter/extras/otf/Inter-Medium.otf +0 -0
- package/fonts/Inter/extras/otf/Inter-MediumItalic.otf +0 -0
- package/fonts/Inter/extras/otf/Inter-Regular.otf +0 -0
- package/fonts/Inter/extras/otf/Inter-SemiBold.otf +0 -0
- package/fonts/Inter/extras/otf/Inter-SemiBoldItalic.otf +0 -0
- package/fonts/Inter/extras/otf/Inter-Thin.otf +0 -0
- package/fonts/Inter/extras/otf/Inter-ThinItalic.otf +0 -0
- package/fonts/Inter/extras/otf/InterDisplay-Black.otf +0 -0
- package/fonts/Inter/extras/otf/InterDisplay-BlackItalic.otf +0 -0
- package/fonts/Inter/extras/otf/InterDisplay-Bold.otf +0 -0
- package/fonts/Inter/extras/otf/InterDisplay-BoldItalic.otf +0 -0
- package/fonts/Inter/extras/otf/InterDisplay-ExtraBold.otf +0 -0
- package/fonts/Inter/extras/otf/InterDisplay-ExtraBoldItalic.otf +0 -0
- package/fonts/Inter/extras/otf/InterDisplay-ExtraLight.otf +0 -0
- package/fonts/Inter/extras/otf/InterDisplay-ExtraLightItalic.otf +0 -0
- package/fonts/Inter/extras/otf/InterDisplay-Italic.otf +0 -0
- package/fonts/Inter/extras/otf/InterDisplay-Light.otf +0 -0
- package/fonts/Inter/extras/otf/InterDisplay-LightItalic.otf +0 -0
- package/fonts/Inter/extras/otf/InterDisplay-Medium.otf +0 -0
- package/fonts/Inter/extras/otf/InterDisplay-MediumItalic.otf +0 -0
- package/fonts/Inter/extras/otf/InterDisplay-Regular.otf +0 -0
- package/fonts/Inter/extras/otf/InterDisplay-SemiBold.otf +0 -0
- package/fonts/Inter/extras/otf/InterDisplay-SemiBoldItalic.otf +0 -0
- package/fonts/Inter/extras/otf/InterDisplay-Thin.otf +0 -0
- package/fonts/Inter/extras/otf/InterDisplay-ThinItalic.otf +0 -0
- package/fonts/Inter/extras/ttf/Inter-Black.ttf +0 -0
- package/fonts/Inter/extras/ttf/Inter-BlackItalic.ttf +0 -0
- package/fonts/Inter/extras/ttf/Inter-Bold.ttf +0 -0
- package/fonts/Inter/extras/ttf/Inter-BoldItalic.ttf +0 -0
- package/fonts/Inter/extras/ttf/Inter-ExtraBold.ttf +0 -0
- package/fonts/Inter/extras/ttf/Inter-ExtraBoldItalic.ttf +0 -0
- package/fonts/Inter/extras/ttf/Inter-ExtraLight.ttf +0 -0
- package/fonts/Inter/extras/ttf/Inter-ExtraLightItalic.ttf +0 -0
- package/fonts/Inter/extras/ttf/Inter-Italic.ttf +0 -0
- package/fonts/Inter/extras/ttf/Inter-Light.ttf +0 -0
- package/fonts/Inter/extras/ttf/Inter-LightItalic.ttf +0 -0
- package/fonts/Inter/extras/ttf/Inter-Medium.ttf +0 -0
- package/fonts/Inter/extras/ttf/Inter-MediumItalic.ttf +0 -0
- package/fonts/Inter/extras/ttf/Inter-Regular.ttf +0 -0
- package/fonts/Inter/extras/ttf/Inter-SemiBold.ttf +0 -0
- package/fonts/Inter/extras/ttf/Inter-SemiBoldItalic.ttf +0 -0
- package/fonts/Inter/extras/ttf/Inter-Thin.ttf +0 -0
- package/fonts/Inter/extras/ttf/Inter-ThinItalic.ttf +0 -0
- package/fonts/Inter/extras/ttf/InterDisplay-Black.ttf +0 -0
- package/fonts/Inter/extras/ttf/InterDisplay-BlackItalic.ttf +0 -0
- package/fonts/Inter/extras/ttf/InterDisplay-Bold.ttf +0 -0
- package/fonts/Inter/extras/ttf/InterDisplay-BoldItalic.ttf +0 -0
- package/fonts/Inter/extras/ttf/InterDisplay-ExtraBold.ttf +0 -0
- package/fonts/Inter/extras/ttf/InterDisplay-ExtraBoldItalic.ttf +0 -0
- package/fonts/Inter/extras/ttf/InterDisplay-ExtraLight.ttf +0 -0
- package/fonts/Inter/extras/ttf/InterDisplay-ExtraLightItalic.ttf +0 -0
- package/fonts/Inter/extras/ttf/InterDisplay-Italic.ttf +0 -0
- package/fonts/Inter/extras/ttf/InterDisplay-Light.ttf +0 -0
- package/fonts/Inter/extras/ttf/InterDisplay-LightItalic.ttf +0 -0
- package/fonts/Inter/extras/ttf/InterDisplay-Medium.ttf +0 -0
- package/fonts/Inter/extras/ttf/InterDisplay-MediumItalic.ttf +0 -0
- package/fonts/Inter/extras/ttf/InterDisplay-Regular.ttf +0 -0
- package/fonts/Inter/extras/ttf/InterDisplay-SemiBold.ttf +0 -0
- package/fonts/Inter/extras/ttf/InterDisplay-SemiBoldItalic.ttf +0 -0
- package/fonts/Inter/extras/ttf/InterDisplay-Thin.ttf +0 -0
- package/fonts/Inter/extras/ttf/InterDisplay-ThinItalic.ttf +0 -0
- package/fonts/Inter/extras/woff-hinted/Inter-Black.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/Inter-BlackItalic.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/Inter-Bold.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/Inter-BoldItalic.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/Inter-ExtraBold.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/Inter-ExtraBoldItalic.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/Inter-ExtraLight.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/Inter-ExtraLightItalic.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/Inter-Italic.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/Inter-Light.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/Inter-LightItalic.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/Inter-Medium.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/Inter-MediumItalic.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/Inter-Regular.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/Inter-SemiBold.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/Inter-SemiBoldItalic.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/Inter-Thin.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/Inter-ThinItalic.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/InterDisplay-Black.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/InterDisplay-BlackItalic.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/InterDisplay-Bold.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/InterDisplay-BoldItalic.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/InterDisplay-ExtraBold.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/InterDisplay-ExtraBoldItalic.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/InterDisplay-ExtraLight.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/InterDisplay-ExtraLightItalic.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/InterDisplay-Italic.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/InterDisplay-Light.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/InterDisplay-LightItalic.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/InterDisplay-Medium.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/InterDisplay-MediumItalic.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/InterDisplay-Regular.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/InterDisplay-SemiBold.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/InterDisplay-SemiBoldItalic.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/InterDisplay-Thin.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/InterDisplay-ThinItalic.woff2 +0 -0
- package/fonts/Inter/help.txt +0 -165
- package/fonts/Inter/web/Inter-Black.woff2 +0 -0
- package/fonts/Inter/web/Inter-BlackItalic.woff2 +0 -0
- package/fonts/Inter/web/Inter-Bold.woff2 +0 -0
- package/fonts/Inter/web/Inter-BoldItalic.woff2 +0 -0
- package/fonts/Inter/web/Inter-ExtraBold.woff2 +0 -0
- package/fonts/Inter/web/Inter-ExtraBoldItalic.woff2 +0 -0
- package/fonts/Inter/web/Inter-ExtraLight.woff2 +0 -0
- package/fonts/Inter/web/Inter-ExtraLightItalic.woff2 +0 -0
- package/fonts/Inter/web/Inter-Italic.woff2 +0 -0
- package/fonts/Inter/web/Inter-Light.woff2 +0 -0
- package/fonts/Inter/web/Inter-LightItalic.woff2 +0 -0
- package/fonts/Inter/web/Inter-Medium.woff2 +0 -0
- package/fonts/Inter/web/Inter-MediumItalic.woff2 +0 -0
- package/fonts/Inter/web/Inter-Regular.woff2 +0 -0
- package/fonts/Inter/web/Inter-SemiBold.woff2 +0 -0
- package/fonts/Inter/web/Inter-SemiBoldItalic.woff2 +0 -0
- package/fonts/Inter/web/Inter-Thin.woff2 +0 -0
- package/fonts/Inter/web/Inter-ThinItalic.woff2 +0 -0
- package/fonts/Inter/web/InterDisplay-Black.woff2 +0 -0
- package/fonts/Inter/web/InterDisplay-BlackItalic.woff2 +0 -0
- package/fonts/Inter/web/InterDisplay-Bold.woff2 +0 -0
- package/fonts/Inter/web/InterDisplay-BoldItalic.woff2 +0 -0
- package/fonts/Inter/web/InterDisplay-ExtraBold.woff2 +0 -0
- package/fonts/Inter/web/InterDisplay-ExtraBoldItalic.woff2 +0 -0
- package/fonts/Inter/web/InterDisplay-ExtraLight.woff2 +0 -0
- package/fonts/Inter/web/InterDisplay-ExtraLightItalic.woff2 +0 -0
- package/fonts/Inter/web/InterDisplay-Italic.woff2 +0 -0
- package/fonts/Inter/web/InterDisplay-Light.woff2 +0 -0
- package/fonts/Inter/web/InterDisplay-LightItalic.woff2 +0 -0
- package/fonts/Inter/web/InterDisplay-Medium.woff2 +0 -0
- package/fonts/Inter/web/InterDisplay-MediumItalic.woff2 +0 -0
- package/fonts/Inter/web/InterDisplay-Regular.woff2 +0 -0
- package/fonts/Inter/web/InterDisplay-SemiBold.woff2 +0 -0
- package/fonts/Inter/web/InterDisplay-SemiBoldItalic.woff2 +0 -0
- package/fonts/Inter/web/InterDisplay-Thin.woff2 +0 -0
- package/fonts/Inter/web/InterDisplay-ThinItalic.woff2 +0 -0
- package/fonts/Inter/web/InterVariable-Italic.woff2 +0 -0
- package/fonts/Inter/web/InterVariable.woff2 +0 -0
- package/fonts/Inter/web/inter.css +0 -148
package/example/Gemfile
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
source 'https://rubygems.org'
|
|
2
|
-
|
|
3
|
-
# You may use http://rbenv.org/ or https://rvm.io/ to install and use this version
|
|
4
|
-
ruby ">= 2.6.10"
|
|
5
|
-
|
|
6
|
-
# Exclude problematic versions of cocoapods and activesupport that causes build failures.
|
|
7
|
-
gem 'cocoapods', '>= 1.13', '!= 1.15.0', '!= 1.15.1'
|
|
8
|
-
gem 'activesupport', '>= 6.1.7.5', '!= 7.1.0'
|
|
9
|
-
gem 'xcodeproj', '< 1.26.0'
|
|
10
|
-
gem 'concurrent-ruby', '< 1.3.4'
|
|
11
|
-
|
|
12
|
-
# Ruby 3.4.0 has removed some libraries from the standard library.
|
|
13
|
-
gem 'bigdecimal'
|
|
14
|
-
gem 'logger'
|
|
15
|
-
gem 'benchmark'
|
|
16
|
-
gem 'mutex_m'
|
|
17
|
-
gem 'nkf'
|
package/example/README.md
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
# React Native In-App Inspector Example App 🚀
|
|
2
|
-
|
|
3
|
-
This directory contains a complete, interactive sample application demonstrating all the capabilities of **`react-native-inapp-inspector`**.
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## 📱 Features Demonstrated
|
|
8
|
-
|
|
9
|
-
- 🌐 **Network Interception**: Test Axios (`GET`, `POST`, `PUT`, `PATCH`, `DELETE`) and `fetch` requests with response inspector, headers, and cURL generation.
|
|
10
|
-
- 🪵 **Console Logger & Call Stacks**: Test log levels (`log`, `warn`, `error`), multi-argument object logging, error exception stack traces, and Metro source map symbolication.
|
|
11
|
-
- ⏸️ **Live Stream Pause / Resume**: Test pausing and resuming real-time traffic across API and console streams.
|
|
12
|
-
- 🔄 **Redux State Inspection**: Test Redux state tree, live action dispatches, and diff tracking.
|
|
13
|
-
- 📊 **Analytics Tracking**: Test custom analytics events and e-commerce purchase payloads.
|
|
14
|
-
- 🛡️ **Error Boundary**: Test simulated JavaScript and native error catches.
|
|
15
|
-
|
|
16
|
-
---
|
|
17
|
-
|
|
18
|
-
## 🏃 Quick Start
|
|
19
|
-
|
|
20
|
-
### 1. Install Dependencies
|
|
21
|
-
|
|
22
|
-
```bash
|
|
23
|
-
cd example
|
|
24
|
-
npm install
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
### 2. iOS Setup
|
|
28
|
-
|
|
29
|
-
```bash
|
|
30
|
-
cd ios
|
|
31
|
-
bundle install
|
|
32
|
-
bundle exec pod install
|
|
33
|
-
cd ..
|
|
34
|
-
npm run ios
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
### 3. Android Setup
|
|
38
|
-
|
|
39
|
-
```bash
|
|
40
|
-
npm run android
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
---
|
|
44
|
-
|
|
45
|
-
## 🧪 Interactive Test Controls
|
|
46
|
-
|
|
47
|
-
The example screen provides one-tap triggers for:
|
|
48
|
-
- **Network Requests**: `Fetch User`, `Failing Request`, `Axios GET`, `Axios POST`, `Axios PUT`, `Axios PATCH`, `Axios DELETE`.
|
|
49
|
-
- **Console Events**: `Trigger Log / Warn / Error`, `Multi-Arg Log`, `Error Stack Log`.
|
|
50
|
-
- **Analytics Events**: `Log Custom Event`, `Log Purchase`.
|
|
51
|
-
- **Redux Actions**: `Toggle Sidebar`, `Toggle Theme`.
|
|
52
|
-
- **Simulate Batch (Flood)**: `Fire Sample All` triggers a simultaneous barrage of requests, logs, analytics events, and state dispatches.
|
|
53
|
-
- **Error Boundary**: `Crash JS Component` triggers a safe Error Boundary catch.
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @format
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import React from 'react';
|
|
6
|
-
import ReactTestRenderer from 'react-test-renderer';
|
|
7
|
-
import App from '../App';
|
|
8
|
-
|
|
9
|
-
test('renders correctly', async () => {
|
|
10
|
-
await ReactTestRenderer.act(() => {
|
|
11
|
-
ReactTestRenderer.create(<App />);
|
|
12
|
-
});
|
|
13
|
-
});
|
|
@@ -1,147 +0,0 @@
|
|
|
1
|
-
import java.net.NetworkInterface
|
|
2
|
-
import java.net.Inet4Address
|
|
3
|
-
|
|
4
|
-
def getLocalIpAddress() {
|
|
5
|
-
def ip = "10.0.2.2"
|
|
6
|
-
try {
|
|
7
|
-
def interfaces = NetworkInterface.getNetworkInterfaces()
|
|
8
|
-
while (interfaces.hasMoreElements()) {
|
|
9
|
-
def iface = interfaces.nextElement()
|
|
10
|
-
if (iface.isLoopback() || !iface.isUp()) continue
|
|
11
|
-
def addresses = iface.getInetAddresses()
|
|
12
|
-
while (addresses.hasMoreElements()) {
|
|
13
|
-
def addr = addresses.nextElement()
|
|
14
|
-
if (addr instanceof Inet4Address) {
|
|
15
|
-
def host = addr.getHostAddress()
|
|
16
|
-
if (host.startsWith("192.168.") || host.startsWith("10.") || host.startsWith("172.")) {
|
|
17
|
-
return host
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
} catch (Exception e) {
|
|
23
|
-
// ignore
|
|
24
|
-
}
|
|
25
|
-
return ip
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
apply plugin: "com.android.application"
|
|
29
|
-
apply plugin: "org.jetbrains.kotlin.android"
|
|
30
|
-
apply plugin: "com.facebook.react"
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* This is the configuration block to customize your React Native Android app.
|
|
34
|
-
* By default you don't need to apply any configuration, just uncomment the lines you need.
|
|
35
|
-
*/
|
|
36
|
-
react {
|
|
37
|
-
/* Folders */
|
|
38
|
-
// The root of your project, i.e. where "package.json" lives. Default is '../..'
|
|
39
|
-
// root = file("../../")
|
|
40
|
-
// The folder where the react-native NPM package is. Default is ../../node_modules/react-native
|
|
41
|
-
// reactNativeDir = file("../../node_modules/react-native")
|
|
42
|
-
// The folder where the react-native Codegen package is. Default is ../../node_modules/@react-native/codegen
|
|
43
|
-
// codegenDir = file("../../node_modules/@react-native/codegen")
|
|
44
|
-
// The cli.js file which is the React Native CLI entrypoint. Default is ../../node_modules/react-native/cli.js
|
|
45
|
-
// cliFile = file("../../node_modules/react-native/cli.js")
|
|
46
|
-
|
|
47
|
-
/* Variants */
|
|
48
|
-
// The list of variants to that are debuggable. For those we're going to
|
|
49
|
-
// skip the bundling of the JS bundle and the assets. Default is "debug", "debugOptimized".
|
|
50
|
-
// If you add flavors like lite, prod, etc. you'll have to list your debuggableVariants.
|
|
51
|
-
// debuggableVariants = ["liteDebug", "liteDebugOptimized", "prodDebug", "prodDebugOptimized"]
|
|
52
|
-
|
|
53
|
-
/* Bundling */
|
|
54
|
-
// A list containing the node command and its flags. Default is just 'node'.
|
|
55
|
-
nodeExecutableAndArgs = [rootProject.ext.has("NODE_EXECUTABLE") ? rootProject.ext.get("NODE_EXECUTABLE") : "node"]
|
|
56
|
-
//
|
|
57
|
-
// The command to run when bundling. By default is 'bundle'
|
|
58
|
-
// bundleCommand = "ram-bundle"
|
|
59
|
-
//
|
|
60
|
-
// The path to the CLI configuration file. Default is empty.
|
|
61
|
-
// bundleConfig = file(../rn-cli.config.js)
|
|
62
|
-
//
|
|
63
|
-
// The name of the generated asset file containing your JS bundle
|
|
64
|
-
// bundleAssetName = "MyApplication.android.bundle"
|
|
65
|
-
//
|
|
66
|
-
// The entry file for bundle generation. Default is 'index.android.js' or 'index.js'
|
|
67
|
-
// entryFile = file("../js/MyApplication.android.js")
|
|
68
|
-
//
|
|
69
|
-
// A list of extra flags to pass to the 'bundle' commands.
|
|
70
|
-
// See https://github.com/react-native-community/cli/blob/main/docs/commands.md#bundle
|
|
71
|
-
// extraPackagerArgs = []
|
|
72
|
-
|
|
73
|
-
/* Hermes Commands */
|
|
74
|
-
// The hermes compiler command to run. By default it is 'hermesc'
|
|
75
|
-
// hermesCommand = "$rootDir/my-custom-hermesc/bin/hermesc"
|
|
76
|
-
//
|
|
77
|
-
// The list of flags to pass to the Hermes compiler. By default is "-O", "-output-source-map"
|
|
78
|
-
// hermesFlags = ["-O", "-output-source-map"]
|
|
79
|
-
|
|
80
|
-
/* Autolinking */
|
|
81
|
-
autolinkLibrariesWithApp()
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
/**
|
|
85
|
-
* Set this to true to Run Proguard on Release builds to minify the Java bytecode.
|
|
86
|
-
*/
|
|
87
|
-
def enableProguardInReleaseBuilds = false
|
|
88
|
-
|
|
89
|
-
/**
|
|
90
|
-
* The preferred build flavor of JavaScriptCore (JSC)
|
|
91
|
-
*
|
|
92
|
-
* For example, to use the international variant, you can use:
|
|
93
|
-
* `def jscFlavor = io.github.react-native-community:jsc-android-intl:2026004.+`
|
|
94
|
-
*
|
|
95
|
-
* The international variant includes ICU i18n library and necessary data
|
|
96
|
-
* allowing to use e.g. `Date.toLocaleString` and `String.localeCompare` that
|
|
97
|
-
* give correct results when using with locales other than en-US. Note that
|
|
98
|
-
* this variant is about 6MiB larger per architecture than default.
|
|
99
|
-
*/
|
|
100
|
-
def jscFlavor = 'io.github.react-native-community:jsc-android:2026004.+'
|
|
101
|
-
|
|
102
|
-
android {
|
|
103
|
-
ndkVersion rootProject.ext.ndkVersion
|
|
104
|
-
buildToolsVersion rootProject.ext.buildToolsVersion
|
|
105
|
-
compileSdk rootProject.ext.compileSdkVersion
|
|
106
|
-
|
|
107
|
-
namespace "com.example"
|
|
108
|
-
defaultConfig {
|
|
109
|
-
applicationId "com.example"
|
|
110
|
-
minSdkVersion rootProject.ext.minSdkVersion
|
|
111
|
-
targetSdkVersion rootProject.ext.targetSdkVersion
|
|
112
|
-
versionCode 1
|
|
113
|
-
versionName "1.0"
|
|
114
|
-
resValue "string", "developer_ip_address", getLocalIpAddress()
|
|
115
|
-
}
|
|
116
|
-
signingConfigs {
|
|
117
|
-
debug {
|
|
118
|
-
storeFile file('debug.keystore')
|
|
119
|
-
storePassword 'android'
|
|
120
|
-
keyAlias 'androiddebugkey'
|
|
121
|
-
keyPassword 'android'
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
buildTypes {
|
|
125
|
-
debug {
|
|
126
|
-
signingConfig signingConfigs.debug
|
|
127
|
-
}
|
|
128
|
-
release {
|
|
129
|
-
// Caution! In production, you need to generate your own keystore file.
|
|
130
|
-
// see https://reactnative.dev/docs/signed-apk-android.
|
|
131
|
-
signingConfig signingConfigs.debug
|
|
132
|
-
minifyEnabled enableProguardInReleaseBuilds
|
|
133
|
-
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
dependencies {
|
|
139
|
-
// The version of react-native is set by the React Native Gradle Plugin
|
|
140
|
-
implementation("com.facebook.react:react-android")
|
|
141
|
-
|
|
142
|
-
if (hermesEnabled.toBoolean()) {
|
|
143
|
-
implementation("com.facebook.react:hermes-android")
|
|
144
|
-
} else {
|
|
145
|
-
implementation jscFlavor
|
|
146
|
-
}
|
|
147
|
-
}
|
|
Binary file
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
# Add project specific ProGuard rules here.
|
|
2
|
-
# By default, the flags in this file are appended to flags specified
|
|
3
|
-
# in /usr/local/Cellar/android-sdk/24.3.3/tools/proguard/proguard-android.txt
|
|
4
|
-
# You can edit the include path and order by changing the proguardFiles
|
|
5
|
-
# directive in build.gradle.
|
|
6
|
-
#
|
|
7
|
-
# For more details, see
|
|
8
|
-
# http://developer.android.com/guide/developing/tools/proguard.html
|
|
9
|
-
|
|
10
|
-
# Add any project specific keep options here:
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
|
2
|
-
|
|
3
|
-
<uses-permission android:name="android.permission.INTERNET" />
|
|
4
|
-
|
|
5
|
-
<application
|
|
6
|
-
android:name=".MainApplication"
|
|
7
|
-
android:label="@string/app_name"
|
|
8
|
-
android:icon="@mipmap/ic_launcher"
|
|
9
|
-
android:roundIcon="@mipmap/ic_launcher_round"
|
|
10
|
-
android:allowBackup="false"
|
|
11
|
-
android:theme="@style/AppTheme"
|
|
12
|
-
android:usesCleartextTraffic="${usesCleartextTraffic}"
|
|
13
|
-
android:supportsRtl="true">
|
|
14
|
-
<activity
|
|
15
|
-
android:name=".MainActivity"
|
|
16
|
-
android:label="@string/app_name"
|
|
17
|
-
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize|uiMode"
|
|
18
|
-
android:launchMode="singleTask"
|
|
19
|
-
android:windowSoftInputMode="adjustResize"
|
|
20
|
-
android:exported="true">
|
|
21
|
-
<intent-filter>
|
|
22
|
-
<action android:name="android.intent.action.MAIN" />
|
|
23
|
-
<category android:name="android.intent.category.LAUNCHER" />
|
|
24
|
-
</intent-filter>
|
|
25
|
-
</activity>
|
|
26
|
-
</application>
|
|
27
|
-
</manifest>
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
package com.example
|
|
2
|
-
|
|
3
|
-
import com.facebook.react.ReactActivity
|
|
4
|
-
import com.facebook.react.ReactActivityDelegate
|
|
5
|
-
import com.facebook.react.defaults.DefaultNewArchitectureEntryPoint.fabricEnabled
|
|
6
|
-
import com.facebook.react.defaults.DefaultReactActivityDelegate
|
|
7
|
-
|
|
8
|
-
class MainActivity : ReactActivity() {
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* Returns the name of the main component registered from JavaScript. This is used to schedule
|
|
12
|
-
* rendering of the component.
|
|
13
|
-
*/
|
|
14
|
-
override fun getMainComponentName(): String = "example"
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* Returns the instance of the [ReactActivityDelegate]. We use [DefaultReactActivityDelegate]
|
|
18
|
-
* which allows you to enable New Architecture with a single boolean flags [fabricEnabled]
|
|
19
|
-
*/
|
|
20
|
-
override fun createReactActivityDelegate(): ReactActivityDelegate =
|
|
21
|
-
DefaultReactActivityDelegate(this, mainComponentName, fabricEnabled)
|
|
22
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
package com.example
|
|
2
|
-
|
|
3
|
-
import android.app.Application
|
|
4
|
-
import com.facebook.react.PackageList
|
|
5
|
-
import com.facebook.react.ReactApplication
|
|
6
|
-
import com.facebook.react.ReactHost
|
|
7
|
-
import com.facebook.react.ReactNativeApplicationEntryPoint.loadReactNative
|
|
8
|
-
import com.facebook.react.defaults.DefaultReactHost.getDefaultReactHost
|
|
9
|
-
|
|
10
|
-
class MainApplication : Application(), ReactApplication {
|
|
11
|
-
|
|
12
|
-
override val reactHost: ReactHost by lazy {
|
|
13
|
-
getDefaultReactHost(
|
|
14
|
-
context = applicationContext,
|
|
15
|
-
packageList =
|
|
16
|
-
PackageList(this).packages.apply {
|
|
17
|
-
// Packages that cannot be autolinked yet can be added manually here, for example:
|
|
18
|
-
// add(MyReactNativePackage())
|
|
19
|
-
},
|
|
20
|
-
)
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
override fun onCreate() {
|
|
24
|
-
super.onCreate()
|
|
25
|
-
loadReactNative(this)
|
|
26
|
-
|
|
27
|
-
if (BuildConfig.DEBUG) {
|
|
28
|
-
val isEmulator = android.os.Build.FINGERPRINT.startsWith("generic")
|
|
29
|
-
|| android.os.Build.FINGERPRINT.startsWith("unknown")
|
|
30
|
-
|| android.os.Build.MODEL.contains("google_sdk")
|
|
31
|
-
|| android.os.Build.MODEL.contains("Emulator")
|
|
32
|
-
|| android.os.Build.MODEL.contains("Android SDK built for x86")
|
|
33
|
-
|| android.os.Build.MANUFACTURER.contains("Genymotion")
|
|
34
|
-
|| android.os.Build.HARDWARE.contains("goldfish")
|
|
35
|
-
|| android.os.Build.HARDWARE.contains("ranchu")
|
|
36
|
-
if (!isEmulator) {
|
|
37
|
-
try {
|
|
38
|
-
val ipResId = resources.getIdentifier("developer_ip_address", "string", packageName)
|
|
39
|
-
if (ipResId != 0) {
|
|
40
|
-
val ip = getString(ipResId)
|
|
41
|
-
if (ip.isNotEmpty() && ip != "10.0.2.2") {
|
|
42
|
-
val preferences = getSharedPreferences("${packageName}_preferences", MODE_PRIVATE)
|
|
43
|
-
preferences.edit().putString("debug_http_host", "$ip:8081").apply()
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
} catch (e: Exception) {
|
|
47
|
-
e.printStackTrace()
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<!-- Copyright (C) 2014 The Android Open Source Project
|
|
3
|
-
|
|
4
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
you may not use this file except in compliance with the License.
|
|
6
|
-
You may obtain a copy of the License at
|
|
7
|
-
|
|
8
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
|
|
10
|
-
Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
See the License for the specific language governing permissions and
|
|
14
|
-
limitations under the License.
|
|
15
|
-
-->
|
|
16
|
-
<inset xmlns:android="http://schemas.android.com/apk/res/android"
|
|
17
|
-
android:insetLeft="@dimen/abc_edit_text_inset_horizontal_material"
|
|
18
|
-
android:insetRight="@dimen/abc_edit_text_inset_horizontal_material"
|
|
19
|
-
android:insetTop="@dimen/abc_edit_text_inset_top_material"
|
|
20
|
-
android:insetBottom="@dimen/abc_edit_text_inset_bottom_material"
|
|
21
|
-
>
|
|
22
|
-
|
|
23
|
-
<selector>
|
|
24
|
-
<!--
|
|
25
|
-
This file is a copy of abc_edit_text_material (https://bit.ly/3k8fX7I).
|
|
26
|
-
The item below with state_pressed="false" and state_focused="false" causes a NullPointerException.
|
|
27
|
-
NullPointerException:tempt to invoke virtual method 'android.graphics.drawable.Drawable android.graphics.drawable.Drawable$ConstantState.newDrawable(android.content.res.Resources)'
|
|
28
|
-
|
|
29
|
-
<item android:state_pressed="false" android:state_focused="false" android:drawable="@drawable/abc_textfield_default_mtrl_alpha"/>
|
|
30
|
-
|
|
31
|
-
For more info, see https://bit.ly/3CdLStv (react-native/pull/29452) and https://bit.ly/3nxOMoR.
|
|
32
|
-
-->
|
|
33
|
-
<item android:state_enabled="false" android:drawable="@drawable/abc_textfield_default_mtrl_alpha"/>
|
|
34
|
-
<item android:drawable="@drawable/abc_textfield_activated_mtrl_alpha"/>
|
|
35
|
-
</selector>
|
|
36
|
-
|
|
37
|
-
</inset>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
<resources>
|
|
2
|
-
|
|
3
|
-
<!-- Base application theme. -->
|
|
4
|
-
<style name="AppTheme" parent="Theme.AppCompat.DayNight.NoActionBar">
|
|
5
|
-
<!-- Customize your theme here. -->
|
|
6
|
-
<item name="android:editTextBackground">@drawable/rn_edit_text_material</item>
|
|
7
|
-
</style>
|
|
8
|
-
|
|
9
|
-
</resources>
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
buildscript {
|
|
2
|
-
ext {
|
|
3
|
-
buildToolsVersion = "35.0.0"
|
|
4
|
-
minSdkVersion = 24
|
|
5
|
-
compileSdkVersion = 35
|
|
6
|
-
targetSdkVersion = 35
|
|
7
|
-
ndkVersion = "27.1.12297006"
|
|
8
|
-
kotlinVersion = "2.1.20"
|
|
9
|
-
REACT_NATIVE_NODE_MODULES_DIR = new File(rootDir, "../node_modules/react-native")
|
|
10
|
-
|
|
11
|
-
def findNodeBin = { ->
|
|
12
|
-
def nvmDir = System.getenv("NVM_DIR") ?: (System.getProperty("user.home") + "/.nvm")
|
|
13
|
-
def nvmVersionsDir = new File(nvmDir, "versions/node")
|
|
14
|
-
if (nvmVersionsDir.exists()) {
|
|
15
|
-
def versions = nvmVersionsDir.listFiles()?.findAll { it.isDirectory() }?.sort { it.name }?.reverse()
|
|
16
|
-
for (v in versions) {
|
|
17
|
-
def candidate = new File(v, "bin/node")
|
|
18
|
-
if (candidate.exists() && candidate.canExecute()) {
|
|
19
|
-
return candidate.absolutePath
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
return "node"
|
|
24
|
-
}
|
|
25
|
-
NODE_EXECUTABLE = findNodeBin()
|
|
26
|
-
}
|
|
27
|
-
repositories {
|
|
28
|
-
google()
|
|
29
|
-
mavenCentral()
|
|
30
|
-
}
|
|
31
|
-
dependencies {
|
|
32
|
-
classpath("com.android.tools.build:gradle:8.7.3")
|
|
33
|
-
classpath("com.facebook.react:react-native-gradle-plugin")
|
|
34
|
-
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin")
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
apply plugin: "com.facebook.react.rootproject"
|
|
39
|
-
|
|
40
|
-
allprojects {
|
|
41
|
-
configurations.all {
|
|
42
|
-
resolutionStrategy {
|
|
43
|
-
force 'androidx.core:core:1.13.1'
|
|
44
|
-
force 'androidx.core:core-ktx:1.13.1'
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
|
|
Binary file
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
# Project-wide Gradle settings.
|
|
2
|
-
|
|
3
|
-
# IDE (e.g. Android Studio) users:
|
|
4
|
-
# Gradle settings configured through the IDE *will override*
|
|
5
|
-
# any settings specified in this file.
|
|
6
|
-
|
|
7
|
-
# For more details on how to configure your build environment visit
|
|
8
|
-
# http://www.gradle.org/docs/current/userguide/build_environment.html
|
|
9
|
-
|
|
10
|
-
# Specifies the JVM arguments used for the daemon process.
|
|
11
|
-
# The setting is particularly useful for tweaking memory settings.
|
|
12
|
-
# Default value: -Xmx512m -XX:MaxMetaspaceSize=256m
|
|
13
|
-
org.gradle.jvmargs=-Xmx2048m -XX:MaxMetaspaceSize=512m
|
|
14
|
-
|
|
15
|
-
# When configured, Gradle will run in incubating parallel mode.
|
|
16
|
-
# This option should only be used with decoupled projects. More details, visit
|
|
17
|
-
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
|
|
18
|
-
# org.gradle.parallel=true
|
|
19
|
-
|
|
20
|
-
# AndroidX package structure to make it clearer which packages are bundled with the
|
|
21
|
-
# Android operating system, and which are packaged with your app's APK
|
|
22
|
-
# https://developer.android.com/topic/libraries/support-library/androidx-rn
|
|
23
|
-
android.useAndroidX=true
|
|
24
|
-
|
|
25
|
-
# Use this property to specify which architecture you want to build.
|
|
26
|
-
# You can also override it from the CLI using
|
|
27
|
-
# ./gradlew <task> -PreactNativeArchitectures=x86_64
|
|
28
|
-
reactNativeArchitectures=armeabi-v7a,arm64-v8a,x86,x86_64
|
|
29
|
-
|
|
30
|
-
# Use this property to enable support to the new architecture.
|
|
31
|
-
# This will allow you to use TurboModules and the Fabric render in
|
|
32
|
-
# your application. You should enable this flag either if you want
|
|
33
|
-
# to write custom TurboModules/Fabric components OR use libraries that
|
|
34
|
-
# are providing them.
|
|
35
|
-
newArchEnabled=true
|
|
36
|
-
|
|
37
|
-
# Use this property to enable or disable the Hermes JS engine.
|
|
38
|
-
# If set to false, you will be using JSC instead.
|
|
39
|
-
hermesEnabled=true
|
|
40
|
-
|
|
41
|
-
# Use this property to enable edge-to-edge display support.
|
|
42
|
-
# This allows your app to draw behind system bars for an immersive UI.
|
|
43
|
-
# Note: Only works with ReactActivity and should not be used with custom Activity.
|
|
44
|
-
edgeToEdgeEnabled=false
|
|
45
|
-
|