pulse-updates 1.0.0
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/README.md +333 -0
- package/android/build/.transforms/051997ae5715069c07acae848c6dd9c5/results.bin +1 -0
- package/android/build/.transforms/051997ae5715069c07acae848c6dd9c5/transformed/bundleLibRuntimeToDirRelease/bundleLibRuntimeToDirRelease_dex/app/pulse/updates/AssetModel.dex +0 -0
- package/android/build/.transforms/051997ae5715069c07acae848c6dd9c5/transformed/bundleLibRuntimeToDirRelease/bundleLibRuntimeToDirRelease_dex/app/pulse/updates/BuildConfig.dex +0 -0
- package/android/build/.transforms/051997ae5715069c07acae848c6dd9c5/transformed/bundleLibRuntimeToDirRelease/bundleLibRuntimeToDirRelease_dex/app/pulse/updates/BundleModel.dex +0 -0
- package/android/build/.transforms/051997ae5715069c07acae848c6dd9c5/transformed/bundleLibRuntimeToDirRelease/bundleLibRuntimeToDirRelease_dex/app/pulse/updates/CheckResult.dex +0 -0
- package/android/build/.transforms/051997ae5715069c07acae848c6dd9c5/transformed/bundleLibRuntimeToDirRelease/bundleLibRuntimeToDirRelease_dex/app/pulse/updates/FetchResult.dex +0 -0
- package/android/build/.transforms/051997ae5715069c07acae848c6dd9c5/transformed/bundleLibRuntimeToDirRelease/bundleLibRuntimeToDirRelease_dex/app/pulse/updates/ManifestModel$Companion.dex +0 -0
- package/android/build/.transforms/051997ae5715069c07acae848c6dd9c5/transformed/bundleLibRuntimeToDirRelease/bundleLibRuntimeToDirRelease_dex/app/pulse/updates/ManifestModel.dex +0 -0
- package/android/build/.transforms/051997ae5715069c07acae848c6dd9c5/transformed/bundleLibRuntimeToDirRelease/bundleLibRuntimeToDirRelease_dex/app/pulse/updates/PulseController$Companion.dex +0 -0
- package/android/build/.transforms/051997ae5715069c07acae848c6dd9c5/transformed/bundleLibRuntimeToDirRelease/bundleLibRuntimeToDirRelease_dex/app/pulse/updates/PulseController$Delegate.dex +0 -0
- package/android/build/.transforms/051997ae5715069c07acae848c6dd9c5/transformed/bundleLibRuntimeToDirRelease/bundleLibRuntimeToDirRelease_dex/app/pulse/updates/PulseController$errorRecoveryDelegate$1.dex +0 -0
- package/android/build/.transforms/051997ae5715069c07acae848c6dd9c5/transformed/bundleLibRuntimeToDirRelease/bundleLibRuntimeToDirRelease_dex/app/pulse/updates/PulseController.dex +0 -0
- package/android/build/.transforms/051997ae5715069c07acae848c6dd9c5/transformed/bundleLibRuntimeToDirRelease/bundleLibRuntimeToDirRelease_dex/app/pulse/updates/PulseControllerKt.dex +0 -0
- package/android/build/.transforms/051997ae5715069c07acae848c6dd9c5/transformed/bundleLibRuntimeToDirRelease/bundleLibRuntimeToDirRelease_dex/app/pulse/updates/PulseIntegrityCheck.dex +0 -0
- package/android/build/.transforms/051997ae5715069c07acae848c6dd9c5/transformed/bundleLibRuntimeToDirRelease/bundleLibRuntimeToDirRelease_dex/app/pulse/updates/PulseReactHostDelegate.dex +0 -0
- package/android/build/.transforms/051997ae5715069c07acae848c6dd9c5/transformed/bundleLibRuntimeToDirRelease/bundleLibRuntimeToDirRelease_dex/app/pulse/updates/PulseReactHostFactory.dex +0 -0
- package/android/build/.transforms/051997ae5715069c07acae848c6dd9c5/transformed/bundleLibRuntimeToDirRelease/bundleLibRuntimeToDirRelease_dex/app/pulse/updates/PulseReaper.dex +0 -0
- package/android/build/.transforms/051997ae5715069c07acae848c6dd9c5/transformed/bundleLibRuntimeToDirRelease/bundleLibRuntimeToDirRelease_dex/app/pulse/updates/PulseRemoteLoader.dex +0 -0
- package/android/build/.transforms/051997ae5715069c07acae848c6dd9c5/transformed/bundleLibRuntimeToDirRelease/bundleLibRuntimeToDirRelease_dex/app/pulse/updates/PulseUpdatesConfig.dex +0 -0
- package/android/build/.transforms/051997ae5715069c07acae848c6dd9c5/transformed/bundleLibRuntimeToDirRelease/bundleLibRuntimeToDirRelease_dex/app/pulse/updates/PulseUpdatesException.dex +0 -0
- package/android/build/.transforms/051997ae5715069c07acae848c6dd9c5/transformed/bundleLibRuntimeToDirRelease/bundleLibRuntimeToDirRelease_dex/app/pulse/updates/PulseUpdatesModule$Companion.dex +0 -0
- package/android/build/.transforms/051997ae5715069c07acae848c6dd9c5/transformed/bundleLibRuntimeToDirRelease/bundleLibRuntimeToDirRelease_dex/app/pulse/updates/PulseUpdatesModule.dex +0 -0
- package/android/build/.transforms/051997ae5715069c07acae848c6dd9c5/transformed/bundleLibRuntimeToDirRelease/bundleLibRuntimeToDirRelease_dex/app/pulse/updates/PulseUpdatesPackage.dex +0 -0
- package/android/build/.transforms/051997ae5715069c07acae848c6dd9c5/transformed/bundleLibRuntimeToDirRelease/bundleLibRuntimeToDirRelease_dex/app/pulse/updates/SignatureModel.dex +0 -0
- package/android/build/.transforms/051997ae5715069c07acae848c6dd9c5/transformed/bundleLibRuntimeToDirRelease/bundleLibRuntimeToDirRelease_dex/app/pulse/updates/UiThreadUtil.dex +0 -0
- package/android/build/.transforms/051997ae5715069c07acae848c6dd9c5/transformed/bundleLibRuntimeToDirRelease/bundleLibRuntimeToDirRelease_dex/app/pulse/updates/database/PulseAsset.dex +0 -0
- package/android/build/.transforms/051997ae5715069c07acae848c6dd9c5/transformed/bundleLibRuntimeToDirRelease/bundleLibRuntimeToDirRelease_dex/app/pulse/updates/database/PulseDatabase.dex +0 -0
- package/android/build/.transforms/051997ae5715069c07acae848c6dd9c5/transformed/bundleLibRuntimeToDirRelease/bundleLibRuntimeToDirRelease_dex/app/pulse/updates/database/PulseDatabaseSchema.dex +0 -0
- package/android/build/.transforms/051997ae5715069c07acae848c6dd9c5/transformed/bundleLibRuntimeToDirRelease/bundleLibRuntimeToDirRelease_dex/app/pulse/updates/database/PulseUpdate.dex +0 -0
- package/android/build/.transforms/051997ae5715069c07acae848c6dd9c5/transformed/bundleLibRuntimeToDirRelease/bundleLibRuntimeToDirRelease_dex/app/pulse/updates/database/PulseUpdateStatus$Companion.dex +0 -0
- package/android/build/.transforms/051997ae5715069c07acae848c6dd9c5/transformed/bundleLibRuntimeToDirRelease/bundleLibRuntimeToDirRelease_dex/app/pulse/updates/database/PulseUpdateStatus.dex +0 -0
- package/android/build/.transforms/051997ae5715069c07acae848c6dd9c5/transformed/bundleLibRuntimeToDirRelease/bundleLibRuntimeToDirRelease_dex/app/pulse/updates/errorrecovery/PulseErrorRecovery$Companion.dex +0 -0
- package/android/build/.transforms/051997ae5715069c07acae848c6dd9c5/transformed/bundleLibRuntimeToDirRelease/bundleLibRuntimeToDirRelease_dex/app/pulse/updates/errorrecovery/PulseErrorRecovery.dex +0 -0
- package/android/build/.transforms/051997ae5715069c07acae848c6dd9c5/transformed/bundleLibRuntimeToDirRelease/bundleLibRuntimeToDirRelease_dex/app/pulse/updates/errorrecovery/PulseErrorRecoveryDelegate$LauncherCallback.dex +0 -0
- package/android/build/.transforms/051997ae5715069c07acae848c6dd9c5/transformed/bundleLibRuntimeToDirRelease/bundleLibRuntimeToDirRelease_dex/app/pulse/updates/errorrecovery/PulseErrorRecoveryDelegate$RemoteLoadStatus.dex +0 -0
- package/android/build/.transforms/051997ae5715069c07acae848c6dd9c5/transformed/bundleLibRuntimeToDirRelease/bundleLibRuntimeToDirRelease_dex/app/pulse/updates/errorrecovery/PulseErrorRecoveryDelegate.dex +0 -0
- package/android/build/.transforms/051997ae5715069c07acae848c6dd9c5/transformed/bundleLibRuntimeToDirRelease/bundleLibRuntimeToDirRelease_dex/app/pulse/updates/errorrecovery/PulseErrorRecoveryHandler$Companion.dex +0 -0
- package/android/build/.transforms/051997ae5715069c07acae848c6dd9c5/transformed/bundleLibRuntimeToDirRelease/bundleLibRuntimeToDirRelease_dex/app/pulse/updates/errorrecovery/PulseErrorRecoveryHandler$MessageType.dex +0 -0
- package/android/build/.transforms/051997ae5715069c07acae848c6dd9c5/transformed/bundleLibRuntimeToDirRelease/bundleLibRuntimeToDirRelease_dex/app/pulse/updates/errorrecovery/PulseErrorRecoveryHandler$Task.dex +0 -0
- package/android/build/.transforms/051997ae5715069c07acae848c6dd9c5/transformed/bundleLibRuntimeToDirRelease/bundleLibRuntimeToDirRelease_dex/app/pulse/updates/errorrecovery/PulseErrorRecoveryHandler$WhenMappings.dex +0 -0
- package/android/build/.transforms/051997ae5715069c07acae848c6dd9c5/transformed/bundleLibRuntimeToDirRelease/bundleLibRuntimeToDirRelease_dex/app/pulse/updates/errorrecovery/PulseErrorRecoveryHandler$tryRelaunchFromCache$1.dex +0 -0
- package/android/build/.transforms/051997ae5715069c07acae848c6dd9c5/transformed/bundleLibRuntimeToDirRelease/bundleLibRuntimeToDirRelease_dex/app/pulse/updates/errorrecovery/PulseErrorRecoveryHandler.dex +0 -0
- package/android/build/.transforms/051997ae5715069c07acae848c6dd9c5/transformed/bundleLibRuntimeToDirRelease/bundleLibRuntimeToDirRelease_dex/app/pulse/updates/launcher/EmbeddedAsset$Companion.dex +0 -0
- package/android/build/.transforms/051997ae5715069c07acae848c6dd9c5/transformed/bundleLibRuntimeToDirRelease/bundleLibRuntimeToDirRelease_dex/app/pulse/updates/launcher/EmbeddedAsset.dex +0 -0
- package/android/build/.transforms/051997ae5715069c07acae848c6dd9c5/transformed/bundleLibRuntimeToDirRelease/bundleLibRuntimeToDirRelease_dex/app/pulse/updates/launcher/EmbeddedManifest$Companion.dex +0 -0
- package/android/build/.transforms/051997ae5715069c07acae848c6dd9c5/transformed/bundleLibRuntimeToDirRelease/bundleLibRuntimeToDirRelease_dex/app/pulse/updates/launcher/EmbeddedManifest.dex +0 -0
- package/android/build/.transforms/051997ae5715069c07acae848c6dd9c5/transformed/bundleLibRuntimeToDirRelease/bundleLibRuntimeToDirRelease_dex/app/pulse/updates/launcher/LauncherException.dex +0 -0
- package/android/build/.transforms/051997ae5715069c07acae848c6dd9c5/transformed/bundleLibRuntimeToDirRelease/bundleLibRuntimeToDirRelease_dex/app/pulse/updates/launcher/PulseAppLauncher$Companion.dex +0 -0
- package/android/build/.transforms/051997ae5715069c07acae848c6dd9c5/transformed/bundleLibRuntimeToDirRelease/bundleLibRuntimeToDirRelease_dex/app/pulse/updates/launcher/PulseAppLauncher.dex +0 -0
- package/android/build/.transforms/051997ae5715069c07acae848c6dd9c5/transformed/bundleLibRuntimeToDirRelease/bundleLibRuntimeToDirRelease_dex/app/pulse/updates/launcher/PulseDefaultSelectionPolicy.dex +0 -0
- package/android/build/.transforms/051997ae5715069c07acae848c6dd9c5/transformed/bundleLibRuntimeToDirRelease/bundleLibRuntimeToDirRelease_dex/app/pulse/updates/launcher/PulseSelectionPolicy.dex +0 -0
- package/android/build/.transforms/051997ae5715069c07acae848c6dd9c5/transformed/bundleLibRuntimeToDirRelease/bundleLibRuntimeToDirRelease_dex/app/pulse/updates/launcher/PulseUpdateInfo.dex +0 -0
- package/android/build/.transforms/051997ae5715069c07acae848c6dd9c5/transformed/bundleLibRuntimeToDirRelease/desugar_graph.bin +0 -0
- package/android/build/.transforms/1a2af57545c1657f87f3de30891a3470/results.bin +1 -0
- package/android/build/.transforms/1a2af57545c1657f87f3de30891a3470/transformed/classes/classes_dex/classes.dex +0 -0
- package/android/build/generated/source/buildConfig/debug/app/pulse/updates/BuildConfig.java +10 -0
- package/android/build/generated/source/buildConfig/release/app/pulse/updates/BuildConfig.java +10 -0
- package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/AndroidManifest.xml +9 -0
- package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/output-metadata.json +18 -0
- package/android/build/intermediates/aapt_friendly_merged_manifests/release/processReleaseManifest/aapt/AndroidManifest.xml +9 -0
- package/android/build/intermediates/aapt_friendly_merged_manifests/release/processReleaseManifest/aapt/output-metadata.json +18 -0
- package/android/build/intermediates/aar_metadata/debug/writeDebugAarMetadata/aar-metadata.properties +6 -0
- package/android/build/intermediates/aar_metadata/release/writeReleaseAarMetadata/aar-metadata.properties +6 -0
- package/android/build/intermediates/annotation_processor_list/debug/javaPreCompileDebug/annotationProcessors.json +1 -0
- package/android/build/intermediates/annotation_processor_list/release/javaPreCompileRelease/annotationProcessors.json +1 -0
- package/android/build/intermediates/compile_library_classes_jar/release/bundleLibCompileToJarRelease/classes.jar +0 -0
- package/android/build/intermediates/compile_r_class_jar/debug/generateDebugRFile/R.jar +0 -0
- package/android/build/intermediates/compile_r_class_jar/release/generateReleaseRFile/R.jar +0 -0
- package/android/build/intermediates/compile_symbol_list/debug/generateDebugRFile/R.txt +0 -0
- package/android/build/intermediates/compile_symbol_list/release/generateReleaseRFile/R.txt +0 -0
- package/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +1 -0
- package/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +2 -0
- package/android/build/intermediates/incremental/mergeDebugAssets/merger.xml +2 -0
- package/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +2 -0
- package/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +2 -0
- package/android/build/intermediates/incremental/mergeReleaseAssets/merger.xml +2 -0
- package/android/build/intermediates/incremental/mergeReleaseJniLibFolders/merger.xml +2 -0
- package/android/build/intermediates/incremental/mergeReleaseShaders/merger.xml +2 -0
- package/android/build/intermediates/incremental/release/packageReleaseResources/compile-file-map.properties +1 -0
- package/android/build/intermediates/incremental/release/packageReleaseResources/merger.xml +2 -0
- package/android/build/intermediates/java_res/release/processReleaseJavaRes/out/META-INF/pulse-updates_release.kotlin_module +0 -0
- package/android/build/intermediates/javac/release/compileReleaseJavaWithJavac/classes/app/pulse/updates/BuildConfig.class +0 -0
- package/android/build/intermediates/local_only_symbol_list/debug/parseDebugLocalResources/R-def.txt +2 -0
- package/android/build/intermediates/local_only_symbol_list/release/parseReleaseLocalResources/R-def.txt +2 -0
- package/android/build/intermediates/manifest_merge_blame_file/debug/processDebugManifest/manifest-merger-blame-debug-report.txt +11 -0
- package/android/build/intermediates/manifest_merge_blame_file/release/processReleaseManifest/manifest-merger-blame-release-report.txt +11 -0
- package/android/build/intermediates/merged_manifest/debug/processDebugManifest/AndroidManifest.xml +9 -0
- package/android/build/intermediates/merged_manifest/release/processReleaseManifest/AndroidManifest.xml +9 -0
- package/android/build/intermediates/navigation_json/debug/extractDeepLinksDebug/navigation.json +1 -0
- package/android/build/intermediates/navigation_json/release/extractDeepLinksRelease/navigation.json +1 -0
- package/android/build/intermediates/nested_resources_validation_report/debug/generateDebugResources/nestedResourcesValidationReport.txt +1 -0
- package/android/build/intermediates/nested_resources_validation_report/release/generateReleaseResources/nestedResourcesValidationReport.txt +1 -0
- package/android/build/intermediates/runtime_library_classes_dir/release/bundleLibRuntimeToDirRelease/META-INF/pulse-updates_release.kotlin_module +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/release/bundleLibRuntimeToDirRelease/app/pulse/updates/AssetModel.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/release/bundleLibRuntimeToDirRelease/app/pulse/updates/BuildConfig.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/release/bundleLibRuntimeToDirRelease/app/pulse/updates/BundleModel.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/release/bundleLibRuntimeToDirRelease/app/pulse/updates/CheckResult.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/release/bundleLibRuntimeToDirRelease/app/pulse/updates/FetchResult.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/release/bundleLibRuntimeToDirRelease/app/pulse/updates/ManifestModel$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/release/bundleLibRuntimeToDirRelease/app/pulse/updates/ManifestModel.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/release/bundleLibRuntimeToDirRelease/app/pulse/updates/PulseController$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/release/bundleLibRuntimeToDirRelease/app/pulse/updates/PulseController$Delegate.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/release/bundleLibRuntimeToDirRelease/app/pulse/updates/PulseController$errorRecoveryDelegate$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/release/bundleLibRuntimeToDirRelease/app/pulse/updates/PulseController.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/release/bundleLibRuntimeToDirRelease/app/pulse/updates/PulseControllerKt.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/release/bundleLibRuntimeToDirRelease/app/pulse/updates/PulseIntegrityCheck.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/release/bundleLibRuntimeToDirRelease/app/pulse/updates/PulseReactHostDelegate.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/release/bundleLibRuntimeToDirRelease/app/pulse/updates/PulseReactHostFactory.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/release/bundleLibRuntimeToDirRelease/app/pulse/updates/PulseReaper.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/release/bundleLibRuntimeToDirRelease/app/pulse/updates/PulseRemoteLoader.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/release/bundleLibRuntimeToDirRelease/app/pulse/updates/PulseUpdatesConfig.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/release/bundleLibRuntimeToDirRelease/app/pulse/updates/PulseUpdatesException.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/release/bundleLibRuntimeToDirRelease/app/pulse/updates/PulseUpdatesModule$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/release/bundleLibRuntimeToDirRelease/app/pulse/updates/PulseUpdatesModule.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/release/bundleLibRuntimeToDirRelease/app/pulse/updates/PulseUpdatesPackage.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/release/bundleLibRuntimeToDirRelease/app/pulse/updates/SignatureModel.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/release/bundleLibRuntimeToDirRelease/app/pulse/updates/UiThreadUtil.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/release/bundleLibRuntimeToDirRelease/app/pulse/updates/database/PulseAsset.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/release/bundleLibRuntimeToDirRelease/app/pulse/updates/database/PulseDatabase.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/release/bundleLibRuntimeToDirRelease/app/pulse/updates/database/PulseDatabaseSchema.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/release/bundleLibRuntimeToDirRelease/app/pulse/updates/database/PulseUpdate.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/release/bundleLibRuntimeToDirRelease/app/pulse/updates/database/PulseUpdateStatus$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/release/bundleLibRuntimeToDirRelease/app/pulse/updates/database/PulseUpdateStatus.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/release/bundleLibRuntimeToDirRelease/app/pulse/updates/errorrecovery/PulseErrorRecovery$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/release/bundleLibRuntimeToDirRelease/app/pulse/updates/errorrecovery/PulseErrorRecovery.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/release/bundleLibRuntimeToDirRelease/app/pulse/updates/errorrecovery/PulseErrorRecoveryDelegate$LauncherCallback.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/release/bundleLibRuntimeToDirRelease/app/pulse/updates/errorrecovery/PulseErrorRecoveryDelegate$RemoteLoadStatus.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/release/bundleLibRuntimeToDirRelease/app/pulse/updates/errorrecovery/PulseErrorRecoveryDelegate.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/release/bundleLibRuntimeToDirRelease/app/pulse/updates/errorrecovery/PulseErrorRecoveryHandler$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/release/bundleLibRuntimeToDirRelease/app/pulse/updates/errorrecovery/PulseErrorRecoveryHandler$MessageType.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/release/bundleLibRuntimeToDirRelease/app/pulse/updates/errorrecovery/PulseErrorRecoveryHandler$Task.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/release/bundleLibRuntimeToDirRelease/app/pulse/updates/errorrecovery/PulseErrorRecoveryHandler$WhenMappings.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/release/bundleLibRuntimeToDirRelease/app/pulse/updates/errorrecovery/PulseErrorRecoveryHandler$tryRelaunchFromCache$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/release/bundleLibRuntimeToDirRelease/app/pulse/updates/errorrecovery/PulseErrorRecoveryHandler.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/release/bundleLibRuntimeToDirRelease/app/pulse/updates/launcher/EmbeddedAsset$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/release/bundleLibRuntimeToDirRelease/app/pulse/updates/launcher/EmbeddedAsset.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/release/bundleLibRuntimeToDirRelease/app/pulse/updates/launcher/EmbeddedManifest$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/release/bundleLibRuntimeToDirRelease/app/pulse/updates/launcher/EmbeddedManifest.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/release/bundleLibRuntimeToDirRelease/app/pulse/updates/launcher/LauncherException.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/release/bundleLibRuntimeToDirRelease/app/pulse/updates/launcher/PulseAppLauncher$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/release/bundleLibRuntimeToDirRelease/app/pulse/updates/launcher/PulseAppLauncher.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/release/bundleLibRuntimeToDirRelease/app/pulse/updates/launcher/PulseDefaultSelectionPolicy.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/release/bundleLibRuntimeToDirRelease/app/pulse/updates/launcher/PulseSelectionPolicy.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/release/bundleLibRuntimeToDirRelease/app/pulse/updates/launcher/PulseUpdateInfo.class +0 -0
- package/android/build/intermediates/runtime_library_classes_jar/release/bundleLibRuntimeToJarRelease/classes.jar +0 -0
- package/android/build/intermediates/symbol_list_with_package_name/debug/generateDebugRFile/package-aware-r.txt +1 -0
- package/android/build/intermediates/symbol_list_with_package_name/release/generateReleaseRFile/package-aware-r.txt +1 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.s +1 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/counters.tab +2 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/last-build.bin +0 -0
- package/android/build/kotlin/compileDebugKotlin/classpath-snapshot/shrunk-classpath-snapshot.bin +0 -0
- package/android/build/kotlin/compileDebugKotlin/local-state/build-history.bin +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/inputs/source-to-output.tab +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.values +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.values.at +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.values.s +1 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.values.at +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.s +4 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.values.at +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.s +3 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab.keystream +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab.keystream.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab.values.at +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab_i +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab_i.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.at +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.s +1 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.values.at +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.values.at +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/counters.tab +2 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/file-to-id.tab +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.values.at +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/id-to-file.tab +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.values.at +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/lookups.tab +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/lookups.tab.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/lookups.tab.values +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.at +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.s +1 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/lookups.tab_i +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/lookups/lookups.tab_i.len +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/last-build.bin +0 -0
- package/android/build/kotlin/compileReleaseKotlin/classpath-snapshot/shrunk-classpath-snapshot.bin +0 -0
- package/android/build/kotlin/compileReleaseKotlin/local-state/build-history.bin +0 -0
- package/android/build/outputs/logs/manifest-merger-debug-report.txt +20 -0
- package/android/build/outputs/logs/manifest-merger-release-report.txt +20 -0
- package/android/build/tmp/compileReleaseJavaWithJavac/previous-compilation-data.bin +0 -0
- package/android/build/tmp/kotlin-classes/debug/META-INF/pulse-updates_debug.kotlin_module +0 -0
- package/android/build/tmp/kotlin-classes/debug/app/pulse/updates/AssetModel.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/app/pulse/updates/BundleModel.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/app/pulse/updates/CheckResult.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/app/pulse/updates/FetchResult.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/app/pulse/updates/ManifestModel$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/app/pulse/updates/ManifestModel.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/app/pulse/updates/PulseController$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/app/pulse/updates/PulseController$Delegate.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/app/pulse/updates/PulseController$errorRecoveryDelegate$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/app/pulse/updates/PulseController.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/app/pulse/updates/PulseControllerKt.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/app/pulse/updates/PulseIntegrityCheck.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/app/pulse/updates/PulseReaper.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/app/pulse/updates/PulseRemoteLoader.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/app/pulse/updates/PulseUpdatesConfig.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/app/pulse/updates/PulseUpdatesException.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/app/pulse/updates/PulseUpdatesModule$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/app/pulse/updates/PulseUpdatesModule.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/app/pulse/updates/PulseUpdatesPackage.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/app/pulse/updates/SignatureModel.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/app/pulse/updates/UiThreadUtil.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/app/pulse/updates/database/PulseAsset.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/app/pulse/updates/database/PulseDatabase.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/app/pulse/updates/database/PulseDatabaseSchema.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/app/pulse/updates/database/PulseUpdate.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/app/pulse/updates/database/PulseUpdateStatus$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/app/pulse/updates/database/PulseUpdateStatus.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/app/pulse/updates/errorrecovery/PulseErrorRecovery$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/app/pulse/updates/errorrecovery/PulseErrorRecovery.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/app/pulse/updates/errorrecovery/PulseErrorRecoveryDelegate$LauncherCallback.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/app/pulse/updates/errorrecovery/PulseErrorRecoveryDelegate$RemoteLoadStatus.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/app/pulse/updates/errorrecovery/PulseErrorRecoveryDelegate.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/app/pulse/updates/errorrecovery/PulseErrorRecoveryHandler$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/app/pulse/updates/errorrecovery/PulseErrorRecoveryHandler$MessageType.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/app/pulse/updates/errorrecovery/PulseErrorRecoveryHandler$Task.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/app/pulse/updates/errorrecovery/PulseErrorRecoveryHandler$WhenMappings.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/app/pulse/updates/errorrecovery/PulseErrorRecoveryHandler$tryRelaunchFromCache$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/app/pulse/updates/errorrecovery/PulseErrorRecoveryHandler.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/app/pulse/updates/launcher/EmbeddedAsset$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/app/pulse/updates/launcher/EmbeddedAsset.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/app/pulse/updates/launcher/EmbeddedManifest$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/app/pulse/updates/launcher/EmbeddedManifest.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/app/pulse/updates/launcher/LauncherException.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/app/pulse/updates/launcher/PulseAppLauncher$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/app/pulse/updates/launcher/PulseAppLauncher.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/app/pulse/updates/launcher/PulseDefaultSelectionPolicy.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/app/pulse/updates/launcher/PulseSelectionPolicy.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/app/pulse/updates/launcher/PulseUpdateInfo.class +0 -0
- package/android/build/tmp/kotlin-classes/release/META-INF/pulse-updates_release.kotlin_module +0 -0
- package/android/build/tmp/kotlin-classes/release/app/pulse/updates/AssetModel.class +0 -0
- package/android/build/tmp/kotlin-classes/release/app/pulse/updates/BundleModel.class +0 -0
- package/android/build/tmp/kotlin-classes/release/app/pulse/updates/CheckResult.class +0 -0
- package/android/build/tmp/kotlin-classes/release/app/pulse/updates/FetchResult.class +0 -0
- package/android/build/tmp/kotlin-classes/release/app/pulse/updates/ManifestModel$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/release/app/pulse/updates/ManifestModel.class +0 -0
- package/android/build/tmp/kotlin-classes/release/app/pulse/updates/PulseController$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/release/app/pulse/updates/PulseController$Delegate.class +0 -0
- package/android/build/tmp/kotlin-classes/release/app/pulse/updates/PulseController$errorRecoveryDelegate$1.class +0 -0
- package/android/build/tmp/kotlin-classes/release/app/pulse/updates/PulseController.class +0 -0
- package/android/build/tmp/kotlin-classes/release/app/pulse/updates/PulseControllerKt.class +0 -0
- package/android/build/tmp/kotlin-classes/release/app/pulse/updates/PulseIntegrityCheck.class +0 -0
- package/android/build/tmp/kotlin-classes/release/app/pulse/updates/PulseReactHostDelegate.class +0 -0
- package/android/build/tmp/kotlin-classes/release/app/pulse/updates/PulseReactHostFactory.class +0 -0
- package/android/build/tmp/kotlin-classes/release/app/pulse/updates/PulseReaper.class +0 -0
- package/android/build/tmp/kotlin-classes/release/app/pulse/updates/PulseRemoteLoader.class +0 -0
- package/android/build/tmp/kotlin-classes/release/app/pulse/updates/PulseUpdatesConfig.class +0 -0
- package/android/build/tmp/kotlin-classes/release/app/pulse/updates/PulseUpdatesException.class +0 -0
- package/android/build/tmp/kotlin-classes/release/app/pulse/updates/PulseUpdatesModule$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/release/app/pulse/updates/PulseUpdatesModule.class +0 -0
- package/android/build/tmp/kotlin-classes/release/app/pulse/updates/PulseUpdatesPackage.class +0 -0
- package/android/build/tmp/kotlin-classes/release/app/pulse/updates/SignatureModel.class +0 -0
- package/android/build/tmp/kotlin-classes/release/app/pulse/updates/UiThreadUtil.class +0 -0
- package/android/build/tmp/kotlin-classes/release/app/pulse/updates/database/PulseAsset.class +0 -0
- package/android/build/tmp/kotlin-classes/release/app/pulse/updates/database/PulseDatabase.class +0 -0
- package/android/build/tmp/kotlin-classes/release/app/pulse/updates/database/PulseDatabaseSchema.class +0 -0
- package/android/build/tmp/kotlin-classes/release/app/pulse/updates/database/PulseUpdate.class +0 -0
- package/android/build/tmp/kotlin-classes/release/app/pulse/updates/database/PulseUpdateStatus$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/release/app/pulse/updates/database/PulseUpdateStatus.class +0 -0
- package/android/build/tmp/kotlin-classes/release/app/pulse/updates/errorrecovery/PulseErrorRecovery$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/release/app/pulse/updates/errorrecovery/PulseErrorRecovery.class +0 -0
- package/android/build/tmp/kotlin-classes/release/app/pulse/updates/errorrecovery/PulseErrorRecoveryDelegate$LauncherCallback.class +0 -0
- package/android/build/tmp/kotlin-classes/release/app/pulse/updates/errorrecovery/PulseErrorRecoveryDelegate$RemoteLoadStatus.class +0 -0
- package/android/build/tmp/kotlin-classes/release/app/pulse/updates/errorrecovery/PulseErrorRecoveryDelegate.class +0 -0
- package/android/build/tmp/kotlin-classes/release/app/pulse/updates/errorrecovery/PulseErrorRecoveryHandler$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/release/app/pulse/updates/errorrecovery/PulseErrorRecoveryHandler$MessageType.class +0 -0
- package/android/build/tmp/kotlin-classes/release/app/pulse/updates/errorrecovery/PulseErrorRecoveryHandler$Task.class +0 -0
- package/android/build/tmp/kotlin-classes/release/app/pulse/updates/errorrecovery/PulseErrorRecoveryHandler$WhenMappings.class +0 -0
- package/android/build/tmp/kotlin-classes/release/app/pulse/updates/errorrecovery/PulseErrorRecoveryHandler$tryRelaunchFromCache$1.class +0 -0
- package/android/build/tmp/kotlin-classes/release/app/pulse/updates/errorrecovery/PulseErrorRecoveryHandler.class +0 -0
- package/android/build/tmp/kotlin-classes/release/app/pulse/updates/launcher/EmbeddedAsset$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/release/app/pulse/updates/launcher/EmbeddedAsset.class +0 -0
- package/android/build/tmp/kotlin-classes/release/app/pulse/updates/launcher/EmbeddedManifest$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/release/app/pulse/updates/launcher/EmbeddedManifest.class +0 -0
- package/android/build/tmp/kotlin-classes/release/app/pulse/updates/launcher/LauncherException.class +0 -0
- package/android/build/tmp/kotlin-classes/release/app/pulse/updates/launcher/PulseAppLauncher$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/release/app/pulse/updates/launcher/PulseAppLauncher.class +0 -0
- package/android/build/tmp/kotlin-classes/release/app/pulse/updates/launcher/PulseDefaultSelectionPolicy.class +0 -0
- package/android/build/tmp/kotlin-classes/release/app/pulse/updates/launcher/PulseSelectionPolicy.class +0 -0
- package/android/build/tmp/kotlin-classes/release/app/pulse/updates/launcher/PulseUpdateInfo.class +0 -0
- package/android/build.gradle +53 -0
- package/android/src/main/AndroidManifest.xml +3 -0
- package/android/src/main/java/app/pulse/updates/PulseController.kt +1419 -0
- package/android/src/main/java/app/pulse/updates/PulseReactHostFactory.kt +116 -0
- package/android/src/main/java/app/pulse/updates/PulseUpdatesModule.kt +314 -0
- package/android/src/main/java/app/pulse/updates/PulseUpdatesPackage.kt +16 -0
- package/android/src/main/java/app/pulse/updates/database/PulseDatabase.kt +400 -0
- package/android/src/main/java/app/pulse/updates/database/PulseDatabaseSchema.kt +90 -0
- package/android/src/main/java/app/pulse/updates/errorrecovery/PulseErrorRecovery.kt +89 -0
- package/android/src/main/java/app/pulse/updates/errorrecovery/PulseErrorRecoveryDelegate.kt +30 -0
- package/android/src/main/java/app/pulse/updates/errorrecovery/PulseErrorRecoveryHandler.kt +159 -0
- package/android/src/main/java/app/pulse/updates/launcher/PulseAppLauncher.kt +472 -0
- package/ios/PulseUpdates/AppLauncher/PulseAppLauncher.swift +551 -0
- package/ios/PulseUpdates/Database/PulseDatabase.swift +557 -0
- package/ios/PulseUpdates/Database/PulseDatabaseSchema.swift +229 -0
- package/ios/PulseUpdates/Database/PulseDatabaseUtils.swift +247 -0
- package/ios/PulseUpdates/ErrorRecovery/PulseErrorRecovery.swift +415 -0
- package/ios/PulseUpdates/PulseController.swift +1359 -0
- package/ios/PulseUpdates/PulseTypes.swift +289 -0
- package/ios/PulseUpdates/PulseUpdates.m +37 -0
- package/ios/PulseUpdates/PulseUpdates.swift +236 -0
- package/lib/commonjs/NativePulseUpdates.js +9 -0
- package/lib/commonjs/NativePulseUpdates.js.map +1 -0
- package/lib/commonjs/PulseUpdates.js +315 -0
- package/lib/commonjs/PulseUpdates.js.map +1 -0
- package/lib/commonjs/assetResolver.js +201 -0
- package/lib/commonjs/assetResolver.js.map +1 -0
- package/lib/commonjs/index.js +55 -0
- package/lib/commonjs/index.js.map +1 -0
- package/lib/commonjs/types.js +2 -0
- package/lib/commonjs/types.js.map +1 -0
- package/lib/commonjs/usePulseUpdates.js +115 -0
- package/lib/commonjs/usePulseUpdates.js.map +1 -0
- package/lib/module/NativePulseUpdates.js +3 -0
- package/lib/module/NativePulseUpdates.js.map +1 -0
- package/lib/module/PulseUpdates.js +291 -0
- package/lib/module/PulseUpdates.js.map +1 -0
- package/lib/module/assetResolver.js +193 -0
- package/lib/module/assetResolver.js.map +1 -0
- package/lib/module/index.js +5 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/types.js +2 -0
- package/lib/module/types.js.map +1 -0
- package/lib/module/usePulseUpdates.js +108 -0
- package/lib/module/usePulseUpdates.js.map +1 -0
- package/lib/typescript/NativePulseUpdates.d.ts +34 -0
- package/lib/typescript/NativePulseUpdates.d.ts.map +1 -0
- package/lib/typescript/PulseUpdates.d.ts +93 -0
- package/lib/typescript/PulseUpdates.d.ts.map +1 -0
- package/lib/typescript/assetResolver.d.ts +30 -0
- package/lib/typescript/assetResolver.d.ts.map +1 -0
- package/lib/typescript/index.d.ts +5 -0
- package/lib/typescript/index.d.ts.map +1 -0
- package/lib/typescript/types.d.ts +70 -0
- package/lib/typescript/types.d.ts.map +1 -0
- package/lib/typescript/usePulseUpdates.d.ts +21 -0
- package/lib/typescript/usePulseUpdates.d.ts.map +1 -0
- package/package.json +63 -0
- package/pulse-updates.podspec +23 -0
- package/react-native.config.js +18 -0
- package/scripts/create-pulse-resources-android.sh +93 -0
- package/scripts/create-pulse-resources-ios.sh +114 -0
- package/scripts/generate-embedded-manifest.mjs +307 -0
- package/scripts/manifest-check.js +67 -0
- package/scripts/publish.mjs +902 -0
- package/src/NativePulseUpdates.ts +52 -0
- package/src/PulseUpdates.ts +332 -0
- package/src/assetResolver.ts +193 -0
- package/src/index.ts +4 -0
- package/src/types.ts +78 -0
- package/src/usePulseUpdates.ts +135 -0
|
@@ -0,0 +1,902 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
/**
|
|
3
|
+
* Pulse Updates CLI - Publish command
|
|
4
|
+
* Creates JS bundle with Hermes and uploads to server
|
|
5
|
+
*/
|
|
6
|
+
import fs from 'fs';
|
|
7
|
+
import path from 'path';
|
|
8
|
+
import crypto from 'crypto';
|
|
9
|
+
import { execSync, spawnSync } from 'child_process';
|
|
10
|
+
|
|
11
|
+
const VERSION = '1.0.1';
|
|
12
|
+
|
|
13
|
+
// ANSI colors
|
|
14
|
+
const colors = {
|
|
15
|
+
reset: '\x1b[0m',
|
|
16
|
+
bright: '\x1b[1m',
|
|
17
|
+
dim: '\x1b[2m',
|
|
18
|
+
green: '\x1b[32m',
|
|
19
|
+
yellow: '\x1b[33m',
|
|
20
|
+
blue: '\x1b[34m',
|
|
21
|
+
red: '\x1b[31m',
|
|
22
|
+
cyan: '\x1b[36m',
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
function log(message, color = '') {
|
|
26
|
+
console.log(`${color}${message}${colors.reset}`);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
function logStep(step, message) {
|
|
30
|
+
log(`[${step}] ${message}`, colors.cyan);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
function logSuccess(message) {
|
|
34
|
+
log(`✓ ${message}`, colors.green);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
function logError(message) {
|
|
38
|
+
log(`✗ ${message}`, colors.red);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
function logWarning(message) {
|
|
42
|
+
log(`⚠ ${message}`, colors.yellow);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Calculate SHA-256 hash of a file (for integrity verification)
|
|
47
|
+
*/
|
|
48
|
+
async function hashFileSHA256(filePath) {
|
|
49
|
+
return new Promise((resolve, reject) => {
|
|
50
|
+
const hash = crypto.createHash('sha256');
|
|
51
|
+
const stream = fs.createReadStream(filePath);
|
|
52
|
+
stream.on('data', (chunk) => hash.update(chunk));
|
|
53
|
+
stream.on('error', reject);
|
|
54
|
+
stream.on('end', () => resolve(hash.digest('hex')));
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Calculate MD5 hash of a file (for asset key - matches Metro/expo format)
|
|
60
|
+
*/
|
|
61
|
+
async function hashFileMD5(filePath) {
|
|
62
|
+
return new Promise((resolve, reject) => {
|
|
63
|
+
const hash = crypto.createHash('md5');
|
|
64
|
+
const stream = fs.createReadStream(filePath);
|
|
65
|
+
stream.on('data', (chunk) => hash.update(chunk));
|
|
66
|
+
stream.on('error', reject);
|
|
67
|
+
stream.on('end', () => resolve(hash.digest('hex')));
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Get MIME type from file extension
|
|
73
|
+
*/
|
|
74
|
+
function getMimeType(ext) {
|
|
75
|
+
const mimeTypes = {
|
|
76
|
+
'.js': 'application/javascript',
|
|
77
|
+
'.hbc': 'application/octet-stream',
|
|
78
|
+
'.json': 'application/json',
|
|
79
|
+
'.png': 'image/png',
|
|
80
|
+
'.jpg': 'image/jpeg',
|
|
81
|
+
'.jpeg': 'image/jpeg',
|
|
82
|
+
'.gif': 'image/gif',
|
|
83
|
+
'.webp': 'image/webp',
|
|
84
|
+
'.svg': 'image/svg+xml',
|
|
85
|
+
'.ttf': 'font/ttf',
|
|
86
|
+
'.otf': 'font/otf',
|
|
87
|
+
'.woff': 'font/woff',
|
|
88
|
+
'.woff2': 'font/woff2',
|
|
89
|
+
'.mp3': 'audio/mpeg',
|
|
90
|
+
'.mp4': 'video/mp4',
|
|
91
|
+
'.wav': 'audio/wav',
|
|
92
|
+
'.riv': 'application/octet-stream',
|
|
93
|
+
};
|
|
94
|
+
return mimeTypes[ext.toLowerCase()] || 'application/octet-stream';
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* Find Hermes compiler
|
|
99
|
+
*/
|
|
100
|
+
function findHermesc(platform) {
|
|
101
|
+
const possiblePaths = [
|
|
102
|
+
// iOS paths
|
|
103
|
+
'ios/Pods/hermes-engine/destroot/bin/hermesc',
|
|
104
|
+
'node_modules/react-native/sdks/hermesc/osx-bin/hermesc',
|
|
105
|
+
'node_modules/react-native/sdks/hermesc/linux64-bin/hermesc',
|
|
106
|
+
// Android paths
|
|
107
|
+
'node_modules/react-native/ReactAndroid/hermes-engine/build/hermes/bin/hermesc',
|
|
108
|
+
];
|
|
109
|
+
|
|
110
|
+
for (const p of possiblePaths) {
|
|
111
|
+
const fullPath = path.resolve(p);
|
|
112
|
+
if (fs.existsSync(fullPath)) {
|
|
113
|
+
return fullPath;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
// Try to find via which
|
|
118
|
+
try {
|
|
119
|
+
return execSync('which hermesc', { encoding: 'utf8' }).trim();
|
|
120
|
+
} catch {
|
|
121
|
+
return null;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* Create JS bundle using Metro
|
|
127
|
+
*/
|
|
128
|
+
function createBundle(platform, bundleDir, entryFile = 'index.ts') {
|
|
129
|
+
const bundleOutput = path.join(bundleDir, platform, 'index.bundle');
|
|
130
|
+
const assetsDir = path.join(bundleDir, platform, 'assets');
|
|
131
|
+
|
|
132
|
+
// Clean and create directories
|
|
133
|
+
fs.rmSync(path.join(bundleDir, platform), { recursive: true, force: true });
|
|
134
|
+
fs.mkdirSync(path.join(bundleDir, platform), { recursive: true });
|
|
135
|
+
fs.mkdirSync(assetsDir, { recursive: true });
|
|
136
|
+
|
|
137
|
+
log(` Creating ${platform} bundle...`, colors.dim);
|
|
138
|
+
|
|
139
|
+
const cmd = [
|
|
140
|
+
'npx react-native bundle',
|
|
141
|
+
`--platform ${platform}`,
|
|
142
|
+
'--dev false',
|
|
143
|
+
`--entry-file ${entryFile}`,
|
|
144
|
+
`--bundle-output ${bundleOutput}`,
|
|
145
|
+
`--assets-dest ${assetsDir}`,
|
|
146
|
+
'--minify true',
|
|
147
|
+
].join(' ');
|
|
148
|
+
|
|
149
|
+
execSync(cmd, { stdio: 'inherit' });
|
|
150
|
+
|
|
151
|
+
return bundleOutput;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* Compile bundle with Hermes
|
|
156
|
+
*/
|
|
157
|
+
function compileWithHermes(bundlePath, platform) {
|
|
158
|
+
const hermesc = findHermesc(platform);
|
|
159
|
+
if (!hermesc) {
|
|
160
|
+
logWarning('Hermes compiler not found, using plain JS bundle');
|
|
161
|
+
return bundlePath;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
const hbcPath = bundlePath.replace('.bundle', '.hbc');
|
|
165
|
+
|
|
166
|
+
log(` Compiling with Hermes...`, colors.dim);
|
|
167
|
+
|
|
168
|
+
try {
|
|
169
|
+
// Use spawnSync with larger buffer to avoid ENOBUFS error
|
|
170
|
+
const result = spawnSync(hermesc, ['-emit-binary', '-out', hbcPath, bundlePath], {
|
|
171
|
+
stdio: ['pipe', 'pipe', 'pipe'],
|
|
172
|
+
maxBuffer: 100 * 1024 * 1024, // 100MB buffer
|
|
173
|
+
encoding: 'utf8',
|
|
174
|
+
});
|
|
175
|
+
|
|
176
|
+
if (result.error) {
|
|
177
|
+
throw result.error;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
if (result.status !== 0) {
|
|
181
|
+
const stderr = result.stderr || '';
|
|
182
|
+
throw new Error(`Hermes exited with code ${result.status}: ${stderr.slice(0, 500)}`);
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
// Remove the plain JS bundle, keep only HBC
|
|
186
|
+
fs.unlinkSync(bundlePath);
|
|
187
|
+
// Rename .hbc to .bundle for compatibility
|
|
188
|
+
const finalPath = bundlePath;
|
|
189
|
+
fs.renameSync(hbcPath, finalPath);
|
|
190
|
+
return finalPath;
|
|
191
|
+
} catch (error) {
|
|
192
|
+
logWarning(`Hermes compilation failed: ${error.message}`);
|
|
193
|
+
return bundlePath;
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* Collect all assets from the bundle directory
|
|
199
|
+
*/
|
|
200
|
+
async function collectAssets(bundleDir, platform) {
|
|
201
|
+
const assets = [];
|
|
202
|
+
const platformDir = path.join(bundleDir, platform);
|
|
203
|
+
const assetsDir = path.join(platformDir, 'assets');
|
|
204
|
+
const bundlePath = path.join(platformDir, 'index.bundle');
|
|
205
|
+
|
|
206
|
+
if (!fs.existsSync(bundlePath)) {
|
|
207
|
+
throw new Error(`Bundle not found: ${bundlePath}`);
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
// Add launch asset (JS bundle)
|
|
211
|
+
const bundleHash = await hashFileSHA256(bundlePath);
|
|
212
|
+
const bundleStats = fs.statSync(bundlePath);
|
|
213
|
+
|
|
214
|
+
assets.push({
|
|
215
|
+
path: bundlePath,
|
|
216
|
+
key: 'bundle.js',
|
|
217
|
+
hash: bundleHash,
|
|
218
|
+
contentType: 'application/javascript',
|
|
219
|
+
fileExtension: '.js',
|
|
220
|
+
fileSize: bundleStats.size,
|
|
221
|
+
isLaunchAsset: true,
|
|
222
|
+
});
|
|
223
|
+
|
|
224
|
+
// Collect all asset files recursively
|
|
225
|
+
if (fs.existsSync(assetsDir)) {
|
|
226
|
+
const assetFiles = collectFilesRecursively(assetsDir);
|
|
227
|
+
|
|
228
|
+
for (const filePath of assetFiles) {
|
|
229
|
+
const relativePath = path.relative(assetsDir, filePath);
|
|
230
|
+
// SHA256 for integrity verification
|
|
231
|
+
const hash = await hashFileSHA256(filePath);
|
|
232
|
+
// MD5 for the key - this is how Metro/expo-asset looks up assets
|
|
233
|
+
const md5Hash = await hashFileMD5(filePath);
|
|
234
|
+
const stats = fs.statSync(filePath);
|
|
235
|
+
const ext = path.extname(filePath);
|
|
236
|
+
|
|
237
|
+
// Use MD5 hash as key (like expo-updates does)
|
|
238
|
+
// expo-asset's getLocalAssetUri(hash, type) looks up by Metro's MD5 hash
|
|
239
|
+
const key = md5Hash;
|
|
240
|
+
|
|
241
|
+
assets.push({
|
|
242
|
+
path: filePath,
|
|
243
|
+
key,
|
|
244
|
+
hash,
|
|
245
|
+
contentType: getMimeType(ext),
|
|
246
|
+
fileExtension: ext,
|
|
247
|
+
fileSize: stats.size,
|
|
248
|
+
isLaunchAsset: false,
|
|
249
|
+
// Keep the path for reference (useful for debugging)
|
|
250
|
+
assetPath: `assets/${relativePath}`,
|
|
251
|
+
});
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
return assets;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
/**
|
|
259
|
+
* Recursively collect all files in a directory
|
|
260
|
+
*/
|
|
261
|
+
function collectFilesRecursively(dir) {
|
|
262
|
+
const files = [];
|
|
263
|
+
const entries = fs.readdirSync(dir, { withFileTypes: true });
|
|
264
|
+
|
|
265
|
+
for (const entry of entries) {
|
|
266
|
+
const fullPath = path.join(dir, entry.name);
|
|
267
|
+
if (entry.isDirectory()) {
|
|
268
|
+
files.push(...collectFilesRecursively(fullPath));
|
|
269
|
+
} else if (entry.isFile()) {
|
|
270
|
+
files.push(fullPath);
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
return files;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
/**
|
|
278
|
+
* Upload a file to a presigned URL
|
|
279
|
+
*/
|
|
280
|
+
async function uploadToPresignedUrl(filePath, uploadUrl, contentType) {
|
|
281
|
+
const fileBuffer = fs.readFileSync(filePath);
|
|
282
|
+
|
|
283
|
+
const response = await fetch(uploadUrl, {
|
|
284
|
+
method: 'PUT',
|
|
285
|
+
headers: {
|
|
286
|
+
'Content-Type': contentType,
|
|
287
|
+
'Content-Length': fileBuffer.length.toString(),
|
|
288
|
+
},
|
|
289
|
+
body: fileBuffer,
|
|
290
|
+
});
|
|
291
|
+
|
|
292
|
+
if (!response.ok) {
|
|
293
|
+
const text = await response.text();
|
|
294
|
+
throw new Error(`Upload failed: ${response.status} ${text}`);
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
/**
|
|
299
|
+
* Parse command line arguments
|
|
300
|
+
*/
|
|
301
|
+
function parseArgs() {
|
|
302
|
+
const args = process.argv.slice(2);
|
|
303
|
+
const result = {
|
|
304
|
+
command: args[0],
|
|
305
|
+
options: {},
|
|
306
|
+
};
|
|
307
|
+
|
|
308
|
+
for (let i = 1; i < args.length; i++) {
|
|
309
|
+
const arg = args[i];
|
|
310
|
+
if (arg.startsWith('--')) {
|
|
311
|
+
const key = arg.slice(2);
|
|
312
|
+
const nextArg = args[i + 1];
|
|
313
|
+
if (nextArg && !nextArg.startsWith('--')) {
|
|
314
|
+
result.options[key] = nextArg;
|
|
315
|
+
i++;
|
|
316
|
+
} else {
|
|
317
|
+
result.options[key] = true;
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
return result;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
/**
|
|
326
|
+
* Find Info.plist and return its path and content
|
|
327
|
+
*/
|
|
328
|
+
function findInfoPlist() {
|
|
329
|
+
const possiblePaths = [
|
|
330
|
+
'ios/App/Info.plist',
|
|
331
|
+
'ios/*/Info.plist',
|
|
332
|
+
];
|
|
333
|
+
|
|
334
|
+
for (const pattern of possiblePaths) {
|
|
335
|
+
if (pattern.includes('*')) {
|
|
336
|
+
const baseDir = pattern.split('*')[0];
|
|
337
|
+
if (fs.existsSync(baseDir)) {
|
|
338
|
+
const dirs = fs.readdirSync(baseDir, { withFileTypes: true })
|
|
339
|
+
.filter(d => d.isDirectory() && !d.name.startsWith('.') && d.name !== 'Pods')
|
|
340
|
+
.map(d => d.name);
|
|
341
|
+
for (const dir of dirs) {
|
|
342
|
+
const plistPath = path.join(baseDir, dir, 'Info.plist');
|
|
343
|
+
if (fs.existsSync(plistPath)) {
|
|
344
|
+
try {
|
|
345
|
+
return {
|
|
346
|
+
path: plistPath,
|
|
347
|
+
content: fs.readFileSync(plistPath, 'utf8'),
|
|
348
|
+
};
|
|
349
|
+
} catch {}
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
} else if (fs.existsSync(pattern)) {
|
|
354
|
+
try {
|
|
355
|
+
return {
|
|
356
|
+
path: pattern,
|
|
357
|
+
content: fs.readFileSync(pattern, 'utf8'),
|
|
358
|
+
};
|
|
359
|
+
} catch {}
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
return null;
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
/**
|
|
367
|
+
* Resolve Xcode build variable from project.pbxproj
|
|
368
|
+
*/
|
|
369
|
+
function resolveXcodeBuildVariable(variableName) {
|
|
370
|
+
const possiblePbxprojPaths = [
|
|
371
|
+
'ios/*.xcodeproj/project.pbxproj',
|
|
372
|
+
];
|
|
373
|
+
|
|
374
|
+
for (const pattern of possiblePbxprojPaths) {
|
|
375
|
+
if (pattern.includes('*')) {
|
|
376
|
+
const baseDir = pattern.split('*')[0];
|
|
377
|
+
if (fs.existsSync(baseDir)) {
|
|
378
|
+
const dirs = fs.readdirSync(baseDir, { withFileTypes: true })
|
|
379
|
+
.filter(d => d.isDirectory() && d.name.endsWith('.xcodeproj'))
|
|
380
|
+
.map(d => d.name);
|
|
381
|
+
for (const dir of dirs) {
|
|
382
|
+
const pbxprojPath = path.join(baseDir, dir, 'project.pbxproj');
|
|
383
|
+
if (fs.existsSync(pbxprojPath)) {
|
|
384
|
+
try {
|
|
385
|
+
const content = fs.readFileSync(pbxprojPath, 'utf8');
|
|
386
|
+
// Match: MARKETING_VERSION = 1.2.4;
|
|
387
|
+
const regex = new RegExp(`${variableName}\\s*=\\s*([^;]+);`);
|
|
388
|
+
const match = content.match(regex);
|
|
389
|
+
if (match) {
|
|
390
|
+
return match[1].trim();
|
|
391
|
+
}
|
|
392
|
+
} catch {}
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
return null;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
/**
|
|
403
|
+
* Read iOS version from Info.plist
|
|
404
|
+
*/
|
|
405
|
+
function readIOSVersion() {
|
|
406
|
+
const plist = findInfoPlist();
|
|
407
|
+
if (!plist) return null;
|
|
408
|
+
|
|
409
|
+
const match = plist.content.match(/<key>CFBundleShortVersionString<\/key>\s*<string>([^<]+)<\/string>/);
|
|
410
|
+
if (!match) return null;
|
|
411
|
+
|
|
412
|
+
let version = match[1];
|
|
413
|
+
|
|
414
|
+
// Resolve Xcode build variable if present
|
|
415
|
+
if (version.startsWith('$(') && version.endsWith(')')) {
|
|
416
|
+
const varName = version.slice(2, -1);
|
|
417
|
+
const resolvedVersion = resolveXcodeBuildVariable(varName);
|
|
418
|
+
if (resolvedVersion) {
|
|
419
|
+
return resolvedVersion;
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
return version;
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
/**
|
|
427
|
+
* Read PulseUpdatesURL from iOS Info.plist
|
|
428
|
+
*/
|
|
429
|
+
function readIOSPulseUpdatesURL() {
|
|
430
|
+
const plist = findInfoPlist();
|
|
431
|
+
if (!plist) return null;
|
|
432
|
+
|
|
433
|
+
const match = plist.content.match(/<key>PulseUpdatesURL<\/key>\s*<string>([^<]+)<\/string>/);
|
|
434
|
+
return match ? match[1] : null;
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
/**
|
|
438
|
+
* Find AndroidManifest.xml and return its content
|
|
439
|
+
*/
|
|
440
|
+
function findAndroidManifest() {
|
|
441
|
+
const possiblePaths = [
|
|
442
|
+
'android/app/src/main/AndroidManifest.xml',
|
|
443
|
+
];
|
|
444
|
+
|
|
445
|
+
for (const manifestPath of possiblePaths) {
|
|
446
|
+
if (fs.existsSync(manifestPath)) {
|
|
447
|
+
try {
|
|
448
|
+
return {
|
|
449
|
+
path: manifestPath,
|
|
450
|
+
content: fs.readFileSync(manifestPath, 'utf8'),
|
|
451
|
+
};
|
|
452
|
+
} catch {}
|
|
453
|
+
}
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
return null;
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
/**
|
|
460
|
+
* Read Android version from build.gradle
|
|
461
|
+
*/
|
|
462
|
+
function readAndroidVersion() {
|
|
463
|
+
const gradlePath = 'android/app/build.gradle';
|
|
464
|
+
const gradleKtsPath = 'android/app/build.gradle.kts';
|
|
465
|
+
|
|
466
|
+
const filePath = fs.existsSync(gradlePath) ? gradlePath :
|
|
467
|
+
fs.existsSync(gradleKtsPath) ? gradleKtsPath : null;
|
|
468
|
+
|
|
469
|
+
if (!filePath) return null;
|
|
470
|
+
|
|
471
|
+
try {
|
|
472
|
+
const content = fs.readFileSync(filePath, 'utf8');
|
|
473
|
+
// Match versionName "1.2.3" or versionName = "1.2.3"
|
|
474
|
+
const match = content.match(/versionName\s*[=]?\s*["']([^"']+)["']/);
|
|
475
|
+
if (match) {
|
|
476
|
+
return match[1];
|
|
477
|
+
}
|
|
478
|
+
} catch {}
|
|
479
|
+
|
|
480
|
+
return null;
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
/**
|
|
484
|
+
* Read PulseUpdatesURL from Android AndroidManifest.xml
|
|
485
|
+
*/
|
|
486
|
+
function readAndroidPulseUpdatesURL() {
|
|
487
|
+
const manifest = findAndroidManifest();
|
|
488
|
+
if (!manifest) return null;
|
|
489
|
+
|
|
490
|
+
// Match: <meta-data android:name="PulseUpdatesURL" android:value="..." />
|
|
491
|
+
const match = manifest.content.match(/<meta-data\s+android:name="PulseUpdatesURL"\s+android:value="([^"]+)"/);
|
|
492
|
+
return match ? match[1] : null;
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
/**
|
|
496
|
+
* Auto-detect runtime version from native config
|
|
497
|
+
*/
|
|
498
|
+
function detectRuntimeVersion(platform) {
|
|
499
|
+
if (platform === 'ios') {
|
|
500
|
+
return readIOSVersion();
|
|
501
|
+
} else if (platform === 'android') {
|
|
502
|
+
return readAndroidVersion();
|
|
503
|
+
}
|
|
504
|
+
return null;
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
/**
|
|
508
|
+
* Extract base API URL from full manifest URL
|
|
509
|
+
* e.g., "https://pulse.lyramusic.app/pulse/manifest/lyra" -> "https://pulse.lyramusic.app"
|
|
510
|
+
*/
|
|
511
|
+
function extractApiUrlFromManifestUrl(manifestUrl) {
|
|
512
|
+
if (!manifestUrl) return null;
|
|
513
|
+
|
|
514
|
+
try {
|
|
515
|
+
const url = new URL(manifestUrl);
|
|
516
|
+
// Return origin (protocol + host)
|
|
517
|
+
return url.origin;
|
|
518
|
+
} catch {
|
|
519
|
+
return null;
|
|
520
|
+
}
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
/**
|
|
524
|
+
* Read PulseUpdatesURL from native config based on platform
|
|
525
|
+
*/
|
|
526
|
+
function readPulseUpdatesURL(platform) {
|
|
527
|
+
if (platform === 'ios') {
|
|
528
|
+
return readIOSPulseUpdatesURL();
|
|
529
|
+
} else if (platform === 'android') {
|
|
530
|
+
return readAndroidPulseUpdatesURL();
|
|
531
|
+
}
|
|
532
|
+
return null;
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
/**
|
|
536
|
+
* Auto-detect API URL from native config
|
|
537
|
+
*/
|
|
538
|
+
function detectApiUrl(platform) {
|
|
539
|
+
const manifestUrl = readPulseUpdatesURL(platform);
|
|
540
|
+
if (manifestUrl) {
|
|
541
|
+
const apiUrl = extractApiUrlFromManifestUrl(manifestUrl);
|
|
542
|
+
if (apiUrl) {
|
|
543
|
+
return apiUrl;
|
|
544
|
+
}
|
|
545
|
+
}
|
|
546
|
+
return null;
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
/**
|
|
550
|
+
* Load configuration from native files, pulse.config.json, or environment
|
|
551
|
+
* Priority (highest to lowest):
|
|
552
|
+
* 1. Command line options
|
|
553
|
+
* 2. Environment variables
|
|
554
|
+
* 3. pulse.config.json
|
|
555
|
+
* 4. Native files (Info.plist / AndroidManifest.xml)
|
|
556
|
+
*/
|
|
557
|
+
function loadConfig(options) {
|
|
558
|
+
const configPath = path.join(process.cwd(), 'pulse.config.json');
|
|
559
|
+
let fileConfig = {};
|
|
560
|
+
|
|
561
|
+
if (fs.existsSync(configPath)) {
|
|
562
|
+
fileConfig = JSON.parse(fs.readFileSync(configPath, 'utf8'));
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
const platform = options.platform || fileConfig.platform;
|
|
566
|
+
|
|
567
|
+
// Auto-detect runtime version if not specified
|
|
568
|
+
let runtimeVersion = options['runtime-version'] ||
|
|
569
|
+
process.env.PULSE_RUNTIME_VERSION ||
|
|
570
|
+
fileConfig.runtimeVersion;
|
|
571
|
+
|
|
572
|
+
if (!runtimeVersion && platform) {
|
|
573
|
+
runtimeVersion = detectRuntimeVersion(platform);
|
|
574
|
+
if (runtimeVersion) {
|
|
575
|
+
log(` Auto-detected runtime version: ${runtimeVersion}`, colors.dim);
|
|
576
|
+
}
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
// Auto-detect API URL from native config if not specified
|
|
580
|
+
let apiUrl = options['api-url'] || process.env.PULSE_API_URL || fileConfig.apiUrl;
|
|
581
|
+
|
|
582
|
+
if (!apiUrl && platform) {
|
|
583
|
+
apiUrl = detectApiUrl(platform);
|
|
584
|
+
if (apiUrl) {
|
|
585
|
+
log(` Auto-detected API URL from native config: ${apiUrl}`, colors.dim);
|
|
586
|
+
}
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
return {
|
|
590
|
+
apiUrl,
|
|
591
|
+
apiKey: options['api-key'] || process.env.PULSE_API_KEY || fileConfig.apiKey,
|
|
592
|
+
runtimeVersion,
|
|
593
|
+
platform,
|
|
594
|
+
channel: options.channel || fileConfig.channel || 'production',
|
|
595
|
+
bundleDir: options['bundle-dir'] || fileConfig.bundleDir || './dist',
|
|
596
|
+
entryFile: options['entry-file'] || fileConfig.entryFile || 'index.ts',
|
|
597
|
+
skipBundle: options['skip-bundle'] || false,
|
|
598
|
+
build: options.build || process.env.PULSE_BUILD || fileConfig.build || null,
|
|
599
|
+
message: options.message || fileConfig.message || null,
|
|
600
|
+
};
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
/**
|
|
604
|
+
* Main publish command
|
|
605
|
+
*/
|
|
606
|
+
async function publish(options) {
|
|
607
|
+
const config = loadConfig(options);
|
|
608
|
+
|
|
609
|
+
// Validate required config
|
|
610
|
+
if (!config.apiUrl) {
|
|
611
|
+
throw new Error('API URL is required. Set --api-url, PULSE_API_URL env, or apiUrl in pulse.config.json');
|
|
612
|
+
}
|
|
613
|
+
if (!config.apiKey) {
|
|
614
|
+
throw new Error('API key is required. Set --api-key, PULSE_API_KEY env, or apiKey in pulse.config.json');
|
|
615
|
+
}
|
|
616
|
+
if (!config.platform) {
|
|
617
|
+
throw new Error('Platform is required. Set --platform (ios or android)');
|
|
618
|
+
}
|
|
619
|
+
if (!config.runtimeVersion) {
|
|
620
|
+
throw new Error('Runtime version is required. Set --runtime-version');
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
const bundleDir = path.resolve(config.bundleDir);
|
|
624
|
+
|
|
625
|
+
log(`\n${colors.bright}Pulse Updates - Publish${colors.reset}\n`);
|
|
626
|
+
log(`Platform: ${config.platform}`);
|
|
627
|
+
log(`Runtime Version: ${config.runtimeVersion}`);
|
|
628
|
+
log(`Channel: ${config.channel}`);
|
|
629
|
+
if (config.build) {
|
|
630
|
+
log(`Build: ${config.build}`);
|
|
631
|
+
}
|
|
632
|
+
log(`Bundle Dir: ${bundleDir}\n`);
|
|
633
|
+
|
|
634
|
+
// Step 1: Create bundle (unless skipped)
|
|
635
|
+
if (!config.skipBundle) {
|
|
636
|
+
logStep('1/6', 'Creating bundle...');
|
|
637
|
+
const bundlePath = createBundle(config.platform, bundleDir, config.entryFile);
|
|
638
|
+
logSuccess(`Bundle created: ${bundlePath}`);
|
|
639
|
+
|
|
640
|
+
// Step 2: Compile with Hermes
|
|
641
|
+
logStep('2/6', 'Compiling with Hermes...');
|
|
642
|
+
compileWithHermes(bundlePath, config.platform);
|
|
643
|
+
logSuccess('Hermes compilation complete');
|
|
644
|
+
} else {
|
|
645
|
+
logStep('1/6', 'Skipping bundle creation (--skip-bundle)');
|
|
646
|
+
logStep('2/6', 'Skipping Hermes compilation');
|
|
647
|
+
}
|
|
648
|
+
|
|
649
|
+
// Step 3: Collect assets and calculate hashes
|
|
650
|
+
logStep('3/6', 'Collecting assets and calculating hashes...');
|
|
651
|
+
const assets = await collectAssets(bundleDir, config.platform);
|
|
652
|
+
logSuccess(`Found ${assets.length} assets (1 bundle, ${assets.length - 1} assets)`);
|
|
653
|
+
|
|
654
|
+
// Step 4: Create release
|
|
655
|
+
logStep('4/6', 'Creating release...');
|
|
656
|
+
|
|
657
|
+
// Build metadata object
|
|
658
|
+
const metadata = {};
|
|
659
|
+
if (config.build) {
|
|
660
|
+
metadata.build = config.build;
|
|
661
|
+
}
|
|
662
|
+
if (config.message) {
|
|
663
|
+
metadata.message = config.message;
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
const createResponse = await fetch(`${config.apiUrl}/api/releases`, {
|
|
667
|
+
method: 'POST',
|
|
668
|
+
headers: {
|
|
669
|
+
'Content-Type': 'application/json',
|
|
670
|
+
'X-API-Key': config.apiKey,
|
|
671
|
+
},
|
|
672
|
+
body: JSON.stringify({
|
|
673
|
+
runtimeVersion: config.runtimeVersion,
|
|
674
|
+
platform: config.platform,
|
|
675
|
+
channel: config.channel,
|
|
676
|
+
metadata: Object.keys(metadata).length > 0 ? metadata : undefined,
|
|
677
|
+
}),
|
|
678
|
+
});
|
|
679
|
+
|
|
680
|
+
if (!createResponse.ok) {
|
|
681
|
+
const text = await createResponse.text();
|
|
682
|
+
let errorMsg = createResponse.statusText;
|
|
683
|
+
try {
|
|
684
|
+
const error = JSON.parse(text);
|
|
685
|
+
errorMsg = error.error || error.message || errorMsg;
|
|
686
|
+
} catch {
|
|
687
|
+
errorMsg = text || errorMsg;
|
|
688
|
+
}
|
|
689
|
+
throw new Error(`Failed to create release: ${errorMsg} (${createResponse.status})`);
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
const responseText = await createResponse.text();
|
|
693
|
+
let release;
|
|
694
|
+
try {
|
|
695
|
+
release = JSON.parse(responseText);
|
|
696
|
+
} catch {
|
|
697
|
+
throw new Error(`Invalid JSON response from server: ${responseText.slice(0, 200)}`);
|
|
698
|
+
}
|
|
699
|
+
logSuccess(`Created release: ${release.id}`);
|
|
700
|
+
|
|
701
|
+
// Step 5: Check which assets already exist and upload missing ones
|
|
702
|
+
logStep('5/6', 'Checking and uploading assets...');
|
|
703
|
+
const checkResponse = await fetch(`${config.apiUrl}/api/releases/${release.id}/assets/check`, {
|
|
704
|
+
method: 'POST',
|
|
705
|
+
headers: {
|
|
706
|
+
'Content-Type': 'application/json',
|
|
707
|
+
'X-API-Key': config.apiKey,
|
|
708
|
+
},
|
|
709
|
+
body: JSON.stringify({
|
|
710
|
+
assets: assets.map((a) => ({
|
|
711
|
+
hash: a.hash,
|
|
712
|
+
key: a.key,
|
|
713
|
+
contentType: a.contentType,
|
|
714
|
+
fileExtension: a.fileExtension,
|
|
715
|
+
fileSize: a.fileSize,
|
|
716
|
+
isLaunchAsset: a.isLaunchAsset,
|
|
717
|
+
})),
|
|
718
|
+
}),
|
|
719
|
+
});
|
|
720
|
+
|
|
721
|
+
if (!checkResponse.ok) {
|
|
722
|
+
const error = await checkResponse.json();
|
|
723
|
+
throw new Error(`Failed to check assets: ${error.error || checkResponse.statusText}`);
|
|
724
|
+
}
|
|
725
|
+
|
|
726
|
+
const checkResult = await checkResponse.json();
|
|
727
|
+
const existingCount = checkResult.existing.length;
|
|
728
|
+
const missingCount = checkResult.missing.length;
|
|
729
|
+
|
|
730
|
+
if (existingCount > 0) {
|
|
731
|
+
log(` ${existingCount} assets already exist (skipped)`, colors.dim);
|
|
732
|
+
}
|
|
733
|
+
|
|
734
|
+
// Upload missing assets
|
|
735
|
+
if (missingCount > 0) {
|
|
736
|
+
log(` Uploading ${missingCount} assets...`, colors.dim);
|
|
737
|
+
|
|
738
|
+
let uploaded = 0;
|
|
739
|
+
const concurrencyLimit = 10;
|
|
740
|
+
|
|
741
|
+
for (let i = 0; i < checkResult.missing.length; i += concurrencyLimit) {
|
|
742
|
+
const batch = checkResult.missing.slice(i, i + concurrencyLimit);
|
|
743
|
+
await Promise.all(
|
|
744
|
+
batch.map(async (missingAsset) => {
|
|
745
|
+
const asset = assets.find((a) => a.hash === missingAsset.hash);
|
|
746
|
+
if (!asset) {
|
|
747
|
+
throw new Error(`Asset not found for hash: ${missingAsset.hash}`);
|
|
748
|
+
}
|
|
749
|
+
await uploadToPresignedUrl(asset.path, missingAsset.uploadUrl, asset.contentType);
|
|
750
|
+
uploaded++;
|
|
751
|
+
process.stdout.write(`\r Uploaded ${uploaded}/${missingCount}`);
|
|
752
|
+
})
|
|
753
|
+
);
|
|
754
|
+
}
|
|
755
|
+
console.log();
|
|
756
|
+
|
|
757
|
+
// Confirm uploads
|
|
758
|
+
const confirmResponse = await fetch(`${config.apiUrl}/api/releases/${release.id}/assets/confirm`, {
|
|
759
|
+
method: 'POST',
|
|
760
|
+
headers: {
|
|
761
|
+
'Content-Type': 'application/json',
|
|
762
|
+
'X-API-Key': config.apiKey,
|
|
763
|
+
},
|
|
764
|
+
body: JSON.stringify({
|
|
765
|
+
assets: checkResult.missing.map((m) => {
|
|
766
|
+
const asset = assets.find((a) => a.hash === m.hash);
|
|
767
|
+
return {
|
|
768
|
+
hash: m.hash,
|
|
769
|
+
key: m.key,
|
|
770
|
+
contentType: asset.contentType,
|
|
771
|
+
fileExtension: asset.fileExtension,
|
|
772
|
+
fileSize: asset.fileSize,
|
|
773
|
+
isLaunchAsset: asset.isLaunchAsset,
|
|
774
|
+
};
|
|
775
|
+
}),
|
|
776
|
+
}),
|
|
777
|
+
});
|
|
778
|
+
|
|
779
|
+
if (!confirmResponse.ok) {
|
|
780
|
+
const error = await confirmResponse.json();
|
|
781
|
+
throw new Error(`Failed to confirm uploads: ${error.error || confirmResponse.statusText}`);
|
|
782
|
+
}
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
logSuccess(`${missingCount} uploaded, ${existingCount} skipped`);
|
|
786
|
+
|
|
787
|
+
// Step 6: Finalize release
|
|
788
|
+
logStep('6/6', 'Finalizing release...');
|
|
789
|
+
const finalizeResponse = await fetch(`${config.apiUrl}/api/releases/${release.id}/finalize`, {
|
|
790
|
+
method: 'POST',
|
|
791
|
+
headers: {
|
|
792
|
+
'X-API-Key': config.apiKey,
|
|
793
|
+
},
|
|
794
|
+
});
|
|
795
|
+
|
|
796
|
+
if (!finalizeResponse.ok) {
|
|
797
|
+
const error = await finalizeResponse.json();
|
|
798
|
+
throw new Error(`Failed to finalize release: ${error.error || finalizeResponse.statusText}`);
|
|
799
|
+
}
|
|
800
|
+
|
|
801
|
+
const finalResult = await finalizeResponse.json();
|
|
802
|
+
|
|
803
|
+
log(`\n${colors.bright}${colors.green}✓ Published successfully!${colors.reset}\n`);
|
|
804
|
+
log(`Release ID: ${finalResult.id}`);
|
|
805
|
+
log(`Manifest URL: ${finalResult.manifestUrl}`);
|
|
806
|
+
log(`Total assets: ${finalResult.assetCount}`);
|
|
807
|
+
log(`Uploaded: ${missingCount}`);
|
|
808
|
+
log(`Skipped: ${existingCount}`);
|
|
809
|
+
|
|
810
|
+
const bundleAsset = assets.find((a) => a.isLaunchAsset);
|
|
811
|
+
if (bundleAsset) {
|
|
812
|
+
log(`Bundle hash: ${bundleAsset.hash}`);
|
|
813
|
+
}
|
|
814
|
+
}
|
|
815
|
+
|
|
816
|
+
/**
|
|
817
|
+
* Show help
|
|
818
|
+
*/
|
|
819
|
+
function showHelp() {
|
|
820
|
+
console.log(`
|
|
821
|
+
${colors.bright}Pulse Updates CLI v${VERSION}${colors.reset}
|
|
822
|
+
|
|
823
|
+
${colors.cyan}Usage:${colors.reset}
|
|
824
|
+
pulse-updates publish [options]
|
|
825
|
+
|
|
826
|
+
${colors.cyan}Commands:${colors.reset}
|
|
827
|
+
publish Create bundle and publish update to server
|
|
828
|
+
|
|
829
|
+
${colors.cyan}Options:${colors.reset}
|
|
830
|
+
--api-url <url> API server URL (auto-detected from native config)
|
|
831
|
+
--api-key <key> API key for authentication
|
|
832
|
+
--platform <platform> Platform (ios or android)
|
|
833
|
+
--runtime-version <v> Runtime version (auto-detected from native config)
|
|
834
|
+
--channel <channel> Release channel (default: production)
|
|
835
|
+
--bundle-dir <dir> Output directory (default: ./dist)
|
|
836
|
+
--entry-file <file> Entry file (default: index.ts)
|
|
837
|
+
--skip-bundle Skip bundle creation (use existing)
|
|
838
|
+
--build <number> Build number (shown in version, e.g., 1.0.0.42)
|
|
839
|
+
--message <msg> Release message/notes
|
|
840
|
+
|
|
841
|
+
${colors.cyan}Configuration:${colors.reset}
|
|
842
|
+
Options can be set via (in priority order):
|
|
843
|
+
1. Command line options
|
|
844
|
+
2. Environment variables: PULSE_API_URL, PULSE_API_KEY, PULSE_RUNTIME_VERSION
|
|
845
|
+
3. Config file: pulse.config.json in project root
|
|
846
|
+
4. Native files: Info.plist (iOS) or AndroidManifest.xml (Android)
|
|
847
|
+
|
|
848
|
+
${colors.cyan}Auto-detection:${colors.reset}
|
|
849
|
+
The following values can be auto-detected from native config files:
|
|
850
|
+
- apiUrl: Extracted from PulseUpdatesURL in Info.plist/AndroidManifest.xml
|
|
851
|
+
- runtimeVersion: From CFBundleShortVersionString (iOS) or versionName (Android)
|
|
852
|
+
|
|
853
|
+
${colors.cyan}Example:${colors.reset}
|
|
854
|
+
# Minimal command (apiUrl and runtimeVersion auto-detected):
|
|
855
|
+
pulse-updates publish --platform ios --api-key your-api-key
|
|
856
|
+
|
|
857
|
+
# Or with all options explicit:
|
|
858
|
+
pulse-updates publish --platform ios --api-url https://pulse.example.com --api-key your-key --runtime-version 1.0.0
|
|
859
|
+
|
|
860
|
+
${colors.cyan}Config file example (pulse.config.json):${colors.reset}
|
|
861
|
+
{
|
|
862
|
+
"apiKey": "your-api-key",
|
|
863
|
+
"bundleDir": "./dist"
|
|
864
|
+
}
|
|
865
|
+
`);
|
|
866
|
+
}
|
|
867
|
+
|
|
868
|
+
// Main entry point
|
|
869
|
+
async function main() {
|
|
870
|
+
const { command, options } = parseArgs();
|
|
871
|
+
|
|
872
|
+
try {
|
|
873
|
+
switch (command) {
|
|
874
|
+
case 'publish':
|
|
875
|
+
await publish(options);
|
|
876
|
+
break;
|
|
877
|
+
case 'help':
|
|
878
|
+
case '--help':
|
|
879
|
+
case '-h':
|
|
880
|
+
case undefined:
|
|
881
|
+
showHelp();
|
|
882
|
+
break;
|
|
883
|
+
case 'version':
|
|
884
|
+
case '--version':
|
|
885
|
+
case '-v':
|
|
886
|
+
console.log(`pulse-updates v${VERSION}`);
|
|
887
|
+
break;
|
|
888
|
+
default:
|
|
889
|
+
logError(`Unknown command: ${command}`);
|
|
890
|
+
showHelp();
|
|
891
|
+
process.exit(1);
|
|
892
|
+
}
|
|
893
|
+
} catch (error) {
|
|
894
|
+
logError(error.message);
|
|
895
|
+
if (options.verbose) {
|
|
896
|
+
console.error(error.stack);
|
|
897
|
+
}
|
|
898
|
+
process.exit(1);
|
|
899
|
+
}
|
|
900
|
+
}
|
|
901
|
+
|
|
902
|
+
main();
|