catalyst-core 0.0.3-canary.2 → 0.0.3-canary.3
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/babel.config.js +32 -0
- package/changelog.md +9 -27
- package/dist/native/androidProject/.idea/deploymentTargetSelector.xml +8 -0
- package/dist/native/androidProject/app/build/generated/source/buildConfig/debug/com/example/androidProject/BuildConfig.java +2 -2
- package/dist/native/androidProject/app/build/intermediates/apk/debug/app-debug.apk +0 -0
- package/dist/native/androidProject/app/build/intermediates/apk/debug/baselineProfiles/0/app-debug.dm +0 -0
- package/dist/native/androidProject/app/build/intermediates/apk/debug/baselineProfiles/1/app-debug.dm +0 -0
- package/dist/native/androidProject/app/build/intermediates/apk/debug/output-metadata.json +16 -0
- package/dist/native/androidProject/app/build/intermediates/assets/debug/mergeDebugAssets/webview_config.properties +2 -2
- package/dist/native/androidProject/app/build/intermediates/binary_art_profile/debug/compileDebugArtProfile/baseline.prof +0 -0
- package/dist/native/androidProject/app/build/intermediates/binary_art_profile_metadata/debug/compileDebugArtProfile/baseline.profm +0 -0
- package/dist/native/androidProject/app/build/intermediates/combined_art_profile/debug/compileDebugArtProfile/baseline-prof.txt +1342 -0
- package/dist/native/androidProject/app/build/intermediates/compressed_assets/debug/compressDebugAssets/out/assets/webview_config.properties.jar +0 -0
- package/dist/native/androidProject/app/build/intermediates/d8_metadata/debug/mergeDexDebug/out.jar +1 -0
- package/dist/native/androidProject/app/build/intermediates/dex/debug/mergeDexDebug/classes.dex +0 -0
- package/dist/native/androidProject/app/build/intermediates/dex_metadata_directory/debug/compileDebugArtProfile/0/.dm +0 -0
- package/dist/native/androidProject/app/build/intermediates/dex_metadata_directory/debug/compileDebugArtProfile/1/.dm +0 -0
- package/dist/native/androidProject/app/build/intermediates/dex_metadata_directory/debug/compileDebugArtProfile/dex-metadata-map.properties +5 -0
- package/dist/native/androidProject/app/build/intermediates/external_libs_dex/debug/mergeExtDexDebug/classes.dex +0 -0
- package/dist/native/androidProject/app/build/intermediates/incremental/packageDebug/tmp/debug/dex-renamer-state.txt +2 -14
- package/dist/native/androidProject/app/build/intermediates/incremental/packageDebug/tmp/debug/zip-cache/androidResources +0 -0
- package/dist/native/androidProject/app/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/example/androidProject/BuildConfig.class +0 -0
- package/dist/native/androidProject/app/build/intermediates/linked_resources_binary_format/debug/processDebugResources/linked-resources-binary-format-debug.ap_ +0 -0
- package/dist/native/androidProject/app/build/intermediates/manifest_merge_blame_file/debug/processDebugMainManifest/manifest-merger-blame-debug-report.txt +98 -95
- package/dist/native/androidProject/app/build/intermediates/merged_art_profile/debug/mergeDebugArtProfile/baseline-prof.txt +1342 -0
- package/dist/native/androidProject/app/build/intermediates/merged_manifest/debug/processDebugMainManifest/AndroidManifest.xml +4 -1
- package/dist/native/androidProject/app/build/intermediates/merged_manifests/debug/processDebugManifest/AndroidManifest.xml +4 -1
- package/dist/native/androidProject/app/build/intermediates/metadata_library_dependencies_report/debug/collectDebugDependencies/dependencies.pb +0 -0
- package/dist/native/androidProject/app/build/intermediates/optimized_processed_res/debug/optimizeDebugResources/output-metadata.json +20 -0
- package/dist/native/androidProject/app/build/intermediates/optimized_processed_res/debug/optimizeDebugResources/resources-debug-optimize.ap_ +0 -0
- package/dist/native/androidProject/app/build/intermediates/packaged_manifests/debug/processDebugManifestForPackage/AndroidManifest.xml +4 -1
- package/dist/native/androidProject/app/build/intermediates/project_dex_archive/debug/dexBuilderDebug/out/bdb298b9df351e4ff2e214ec7e399c1c1170e7b31e799763dc6ad8e5b79a36d3_0.jar +0 -0
- package/dist/native/androidProject/app/build/intermediates/project_dex_archive/debug/dexBuilderDebug/out/bdb298b9df351e4ff2e214ec7e399c1c1170e7b31e799763dc6ad8e5b79a36d3_1.jar +0 -0
- package/dist/native/androidProject/app/build/intermediates/project_dex_archive/debug/dexBuilderDebug/out/bdb298b9df351e4ff2e214ec7e399c1c1170e7b31e799763dc6ad8e5b79a36d3_2.jar +0 -0
- package/dist/native/androidProject/app/build/intermediates/project_dex_archive/debug/dexBuilderDebug/out/bdb298b9df351e4ff2e214ec7e399c1c1170e7b31e799763dc6ad8e5b79a36d3_3.jar +0 -0
- package/dist/native/androidProject/app/build/intermediates/project_dex_archive/debug/dexBuilderDebug/out/bdb298b9df351e4ff2e214ec7e399c1c1170e7b31e799763dc6ad8e5b79a36d3_4.jar +0 -0
- package/dist/native/androidProject/app/build/intermediates/project_dex_archive/debug/dexBuilderDebug/out/com/example/androidProject/BuildConfig.dex +0 -0
- package/dist/native/androidProject/app/build/intermediates/project_dex_archive/debug/dexBuilderDebug/out/com/example/androidProject/MainActivity$AndroidConfig.dex +0 -0
- package/dist/native/androidProject/app/build/intermediates/project_dex_archive/debug/dexBuilderDebug/out/com/example/androidProject/MainActivity$onCreate$4.dex +0 -0
- package/dist/native/androidProject/app/build/intermediates/project_dex_archive/debug/dexBuilderDebug/out/com/example/androidProject/MainActivity$setupWebView$2$shouldInterceptRequest$1.dex +0 -0
- package/dist/native/androidProject/app/build/intermediates/project_dex_archive/debug/dexBuilderDebug/out/com/example/androidProject/MainActivity$setupWebView$2.dex +0 -0
- package/dist/native/androidProject/app/build/intermediates/project_dex_archive/debug/dexBuilderDebug/out/com/example/androidProject/MainActivity$setupWebView$3.dex +0 -0
- package/dist/native/androidProject/app/build/intermediates/project_dex_archive/debug/dexBuilderDebug/out/com/example/androidProject/MainActivity.dex +0 -0
- package/dist/native/androidProject/app/build/intermediates/project_dex_archive/debug/dexBuilderDebug/out/com/example/androidProject/databinding/ActivityMainBinding.dex +0 -0
- package/dist/native/androidProject/app/build/intermediates/project_dex_archive/debug/dexBuilderDebug/out/com/example/myapplication/WebCacheManager$CacheEntry.dex +0 -0
- package/dist/native/androidProject/app/build/intermediates/project_dex_archive/debug/dexBuilderDebug/out/com/example/myapplication/WebCacheManager$CacheMetadata.dex +0 -0
- package/dist/native/androidProject/app/build/intermediates/project_dex_archive/debug/dexBuilderDebug/out/com/example/myapplication/WebCacheManager$cleanup$2$invokeSuspend$$inlined$sortedBy$1.dex +0 -0
- package/dist/native/androidProject/app/build/intermediates/project_dex_archive/debug/dexBuilderDebug/out/com/example/myapplication/WebCacheManager$cleanup$2$invokeSuspend$$inlined$sortedBy$2.dex +0 -0
- package/dist/native/androidProject/app/build/intermediates/project_dex_archive/debug/dexBuilderDebug/out/com/example/myapplication/WebCacheManager$cleanup$2.dex +0 -0
- package/dist/native/androidProject/app/build/intermediates/project_dex_archive/debug/dexBuilderDebug/out/com/example/myapplication/WebCacheManager$fetchAndCacheResource$2$2.dex +0 -0
- package/dist/native/androidProject/app/build/intermediates/project_dex_archive/debug/dexBuilderDebug/out/com/example/myapplication/WebCacheManager$fetchAndCacheResource$2.dex +0 -0
- package/dist/native/androidProject/app/build/intermediates/project_dex_archive/debug/dexBuilderDebug/out/com/example/myapplication/WebCacheManager$generateCacheKey$1.dex +0 -0
- package/dist/native/androidProject/app/build/intermediates/project_dex_archive/debug/dexBuilderDebug/out/com/example/myapplication/WebCacheManager$getCachedResponse$2.dex +0 -0
- package/dist/native/androidProject/app/build/intermediates/project_dex_archive/debug/dexBuilderDebug/out/com/example/myapplication/WebCacheManager$revalidateInBackground$1.dex +0 -0
- package/dist/native/androidProject/app/build/intermediates/project_dex_archive/debug/dexBuilderDebug/out/com/example/myapplication/WebCacheManager.dex +0 -0
- package/dist/native/androidProject/app/build/intermediates/sdk_dependency_data/debug/sdkDebugDependencyData/sdkDependencyData.pb +0 -0
- package/dist/native/androidProject/app/build/intermediates/stable_resource_ids_file/debug/processDebugResources/stableIds.txt +1653 -1653
- package/dist/native/androidProject/app/build/intermediates/version_control_info_file/debug/extractDebugVersionControlInfo/version-control-info.textproto +1 -0
- package/dist/native/androidProject/app/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab +0 -0
- package/dist/native/androidProject/app/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.values.at +0 -0
- package/dist/native/androidProject/app/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab +0 -0
- package/dist/native/androidProject/app/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at +0 -0
- package/dist/native/androidProject/app/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/java-sources-proto-map.tab +0 -0
- package/dist/native/androidProject/app/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/java-sources-proto-map.tab.values.at +0 -0
- package/dist/native/androidProject/app/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab +0 -0
- package/dist/native/androidProject/app/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.at +0 -0
- package/dist/native/androidProject/app/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab +0 -0
- package/dist/native/androidProject/app/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at +0 -0
- package/dist/native/androidProject/app/build/kotlin/compileDebugKotlin/cacheable/last-build.bin +0 -0
- package/dist/native/androidProject/app/build/kotlin/compileDebugKotlin/local-state/build-history.bin +0 -0
- package/dist/native/androidProject/app/build/outputs/logs/manifest-merger-debug-report.txt +15 -4
- package/dist/native/androidProject/app/build/outputs/sdk-dependencies/debug/sdkDependencies.txt +1226 -0
- package/dist/native/androidProject/app/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/BuildConfig.class.uniqueId0 +0 -0
- package/dist/native/androidProject/app/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
- package/dist/native/androidProject/app/src/main/assets/webview_config.properties +1 -1
- package/dist/native/androidProject/app/src/main/java/com/example/myapplication/MainActivity.kt +5 -5
- package/dist/native/androidProject/app/src/main/java/com/example/myapplication/WebCacheManager.kt +6 -5
- package/dist/native/androidSetup.js +1 -1
- package/dist/native/buildAppAndroid.js +1 -1
- package/dist/native/setupEmulatorIos.js +1 -1
- package/dist/native/terminalProgress.js +1 -1
- package/dist/native/utils.js +2 -2
- package/dist/scripts/build.js +2 -9
- package/dist/scripts/devBuild.js +2 -9
- package/dist/scripts/devServe.js +2 -4
- package/dist/scripts/loadScriptsBeforeServerStarts.js +2 -2
- package/dist/scripts/registerAliases.js +1 -1
- package/dist/scripts/scriptUtils.js +2 -2
- package/dist/scripts/serve.js +2 -4
- package/dist/scripts/start.js +4 -4
- package/dist/server/expressServer.js +1 -1
- package/dist/server/renderer/document/Body.js +3 -3
- package/dist/server/renderer/document/Head.js +2 -2
- package/dist/server/renderer/extract.js +2 -2
- package/dist/server/renderer/handler.js +12 -6
- package/dist/server/renderer/index.js +1 -1
- package/dist/server/startServer.js +4 -3
- package/dist/server/utils/userAgentUtil.js +1 -1
- package/dist/server/utils/validator.js +1 -1
- package/dist/webpack/babel.config.client.js +1 -1
- package/dist/webpack/babel.config.ssr.js +1 -1
- package/dist/webpack/base.babel.js +3 -3
- package/dist/webpack/development.client.babel.js +2 -2
- package/dist/webpack/production.client.babel.js +1 -1
- package/dist/webpack/production.ssr.babel.js +1 -1
- package/package.json +6 -1
- package/babel.config.json +0 -21
package/babel.config.js
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
module.exports = (api) => {
|
|
2
|
+
api.cache(true)
|
|
3
|
+
|
|
4
|
+
return {
|
|
5
|
+
presets: [
|
|
6
|
+
[
|
|
7
|
+
"@babel/preset-typescript",
|
|
8
|
+
{
|
|
9
|
+
isTSX: true,
|
|
10
|
+
allExtensions: true,
|
|
11
|
+
},
|
|
12
|
+
],
|
|
13
|
+
[
|
|
14
|
+
"@babel/preset-env",
|
|
15
|
+
{
|
|
16
|
+
targets: {
|
|
17
|
+
node: "current",
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
],
|
|
21
|
+
["@babel/preset-react", { runtime: "automatic" }],
|
|
22
|
+
],
|
|
23
|
+
compact: true,
|
|
24
|
+
plugins: ["@loadable/babel-plugin"],
|
|
25
|
+
env: {
|
|
26
|
+
test: {
|
|
27
|
+
presets: ["@babel/preset-react"],
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
ignore: ["__TEST__"],
|
|
31
|
+
}
|
|
32
|
+
}
|
package/changelog.md
CHANGED
|
@@ -1,37 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## [0.0.3-canary.
|
|
3
|
+
## [0.0.3-canary.3] - 06-03-2025
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
## Cache Management Updates
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
- [ ] Refactor
|
|
10
|
-
- [x] Feature
|
|
11
|
-
- [ ] Bug Fix
|
|
12
|
-
- [x] Optimization
|
|
13
|
-
- [ ] Documentation Update
|
|
14
|
-
|
|
15
|
-
## Description
|
|
16
|
-
This PR introduces hardware acceleration support to improve performance and resource utilization. Hardware acceleration enables better processing capabilities by leveraging system hardware resources effectively.
|
|
7
|
+
## Overview
|
|
8
|
+
This PR introduces native WebView implementations for Android, along with significant cache management improvements and bug fixes.
|
|
17
9
|
|
|
18
10
|
## Changes
|
|
19
|
-
### Features 🚀
|
|
20
|
-
* Added hardware acceleration support
|
|
21
|
-
* Optimized resource utilization
|
|
22
|
-
* Enhanced processing capabilities
|
|
23
|
-
|
|
24
|
-
### Performance Improvements ⚡
|
|
25
|
-
* Improved processing speed through hardware acceleration
|
|
26
|
-
* Better resource management
|
|
27
|
-
* Optimized system resource allocation
|
|
28
11
|
|
|
29
|
-
|
|
30
|
-
-
|
|
31
|
-
- [x] No
|
|
12
|
+
- Increased buffer size for `BufferedInputStream` in `WebCacheManager.kt` to 32KB (32 * 1024) for optimized cache file reading
|
|
13
|
+
- Refactored `MainActivity.kt` to use `properties.getProperty` instead of `jsonObject.optString` for configuration values
|
|
32
14
|
|
|
33
|
-
|
|
34
|
-
|
|
15
|
+
### Fixed
|
|
16
|
+
- Corrected prompt string in `utils.js` from "CSS pattern" to "Cache pattern"
|
|
35
17
|
|
|
36
18
|
## Version
|
|
37
|
-
- Target version: 0.0.3-canary.
|
|
19
|
+
- Target version: 0.0.3-canary.3
|
|
@@ -4,6 +4,14 @@
|
|
|
4
4
|
<selectionStates>
|
|
5
5
|
<SelectionState runConfigName="app">
|
|
6
6
|
<option name="selectionMode" value="DROPDOWN" />
|
|
7
|
+
<DropdownSelection timestamp="2025-02-18T04:28:14.358379Z">
|
|
8
|
+
<Target type="DEFAULT_BOOT">
|
|
9
|
+
<handle>
|
|
10
|
+
<DeviceId pluginId="PhysicalDevice" identifier="serial=9fbee4f0" />
|
|
11
|
+
</handle>
|
|
12
|
+
</Target>
|
|
13
|
+
</DropdownSelection>
|
|
14
|
+
<DialogSelection />
|
|
7
15
|
</SelectionState>
|
|
8
16
|
</selectionStates>
|
|
9
17
|
</component>
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
package com.example.androidProject;
|
|
5
5
|
|
|
6
6
|
public final class BuildConfig {
|
|
7
|
-
public static final boolean DEBUG =
|
|
7
|
+
public static final boolean DEBUG = false;
|
|
8
8
|
public static final String APPLICATION_ID = "com.example.androidProject";
|
|
9
9
|
public static final String BUILD_TYPE = "debug";
|
|
10
10
|
public static final int VERSION_CODE = 1;
|
|
@@ -12,5 +12,5 @@ public final class BuildConfig {
|
|
|
12
12
|
// Field from build type: debug
|
|
13
13
|
public static final Boolean ALLOW_MIXED_CONTENT = true;
|
|
14
14
|
// Field from build type: debug
|
|
15
|
-
public static final String LOCAL_IP = "192.168.3.
|
|
15
|
+
public static final String LOCAL_IP = "192.168.3.84";
|
|
16
16
|
}
|
|
Binary file
|
package/dist/native/androidProject/app/build/intermediates/apk/debug/baselineProfiles/0/app-debug.dm
ADDED
|
Binary file
|
package/dist/native/androidProject/app/build/intermediates/apk/debug/baselineProfiles/1/app-debug.dm
ADDED
|
Binary file
|
|
@@ -17,5 +17,21 @@
|
|
|
17
17
|
}
|
|
18
18
|
],
|
|
19
19
|
"elementType": "File",
|
|
20
|
+
"baselineProfiles": [
|
|
21
|
+
{
|
|
22
|
+
"minApi": 28,
|
|
23
|
+
"maxApi": 30,
|
|
24
|
+
"baselineProfiles": [
|
|
25
|
+
"baselineProfiles/1/app-debug.dm"
|
|
26
|
+
]
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"minApi": 31,
|
|
30
|
+
"maxApi": 2147483647,
|
|
31
|
+
"baselineProfiles": [
|
|
32
|
+
"baselineProfiles/0/app-debug.dm"
|
|
33
|
+
]
|
|
34
|
+
}
|
|
35
|
+
],
|
|
20
36
|
"minSdkVersionForDexing": 24
|
|
21
37
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
LOCAL_IP=192.168.3.
|
|
2
|
-
android={\n "buildType"\: "
|
|
1
|
+
LOCAL_IP=192.168.3.84
|
|
2
|
+
android={\n "buildType"\: "release",\n "sdkPath"\: "/Users/mayankmahavar/Android",\n "emulatorName"\: "testMediumPhone",\n "cachePattern"\: "*.css,*.js"\n }
|
|
3
3
|
port=3005
|
|
4
4
|
.
|
|
Binary file
|