@onekeyfe/react-native-webview-cleaner 6.7.0-alpha.369 → 6.7.0-alpha.375
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/android/build.gradle
CHANGED
package/docs/SPEC.md
CHANGED
|
@@ -48,7 +48,7 @@ Repository policy requires starting new packages with `yarn create:module`; that
|
|
|
48
48
|
|
|
49
49
|
The template-created `src/index.tsx`, `src/ReactNativeWebviewCleaner.nitro.ts`, `ios/ReactNativeWebviewCleaner.swift`, generated podspec, `android/CMakeLists.txt`, `android/gradle.properties`, C++ adapter, two Kotlin files, and `nitro.json` were removed. The package uses its original `src/index.ts`, Objective-C bridge, Android Java bridge, podspec, Babel/TypeScript build settings, and copyright license. The repository's ESLint, Git hook, and Turbo task conventions remain; the Turbo task has no Nitro output.
|
|
50
50
|
|
|
51
|
-
The migrated `src/index.ts`, `ios/RNWebViewCleaner/*`, Android Java module/package, and podspec must retain the published behavior.
|
|
51
|
+
The migrated `src/index.ts`, `ios/RNWebViewCleaner/*`, Android Java module/package, and podspec must retain the published behavior. Android declares the existing Java package `com.cancue.RNWebViewCleaner` as its Gradle namespace instead of a source manifest `package`, as required by Android Gradle plugin 8. Its compile SDK uses `rootProject.ext.compileSdkVersion` when defined, falling back to the old API 30 value otherwise. The existing minimum SDK, target SDK, ABI filter, build tools declaration, native module name, and Java package remain unchanged.
|
|
52
52
|
|
|
53
53
|
The standalone package's Yarn 3 `packageManager`, ignored dependency resolution, and nonexistent `example` workspace/script are omitted so this workspace uses the repository's Yarn 4 installation. Its release script follows the repository's package workflow. The newer Bob version emits the same CommonJS implementation and TypeScript declarations, adds `"use strict"` to an already strict ESM module, and updates JavaScript source maps; these changes do not add an API or native behavior. The legacy podspec still contains its historical `s.source` repository placeholder. The current consumer uses CocoaPods `:path` autolinking from the installed npm package and does not fetch that source; standalone CocoaPods source-based installation is outside this migration's verified scope.
|
|
54
54
|
|
|
@@ -56,4 +56,4 @@ The generated template `.gitignore`, migrated Android Gradle file, and migrated
|
|
|
56
56
|
|
|
57
57
|
The standalone Xcode project contained ignored `project.xcworkspace/contents.xcworkspacedata`, `project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist`, and `xcuserdata/cancue.xcuserdatad/xcschemes/xcschememanagement.plist` files. They are omitted from this workspace and its published tarball because none is tracked by the template policy or used by the podspec's Objective-C source selection. The original standalone repository retains them; this omission has no runtime effect.
|
|
58
58
|
|
|
59
|
-
Source and package comparison with published 1.0.0 must show the
|
|
59
|
+
Source and package comparison with published 1.0.0 and the migration preview must show the JavaScript, Objective-C, and Java implementations byte-identical. The Android Gradle file differs by the host compile SDK, explicit namespace, and terminal whitespace; the source Android manifest omits its former `package`, and the podspec differs only by terminal whitespace. Generated entry points and declarations must preserve `clearAll(): void`; the shipped package must include this spec linked from its README. The candidate Android AAR metadata task must pass with the consumer's compile SDK and React Native version, and an independent Android Gradle plugin 8 fixture must configure and build the Release AAR without host namespace injection. Full consumer Release APK/R8 and iOS archive/runtime tests are separate evidence and remain pending until the formal published version is installed and locked.
|