codeplay-common 4.11.35 → 4.11.38
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/CHANGELOG.md +115 -115
- package/LICENSE +21 -21
- package/README.md +408 -374
- package/RELEASE_NOTES.md +97 -97
- package/files/buildCodeplay/HUAWEI-PRIVACY.md +9 -9
- package/files/buildCodeplay/add-splash-screen.js +255 -255
- package/files/buildCodeplay/apk-store-builder.js +97 -97
- package/files/buildCodeplay/codeplayBeforeBuild.js +4793 -4793
- package/files/buildCodeplay/disabled-ads.mjs +53 -53
- package/files/buildCodeplay/ensure-current-build.cjs +42 -42
- package/files/buildCodeplay/fix-onesignal-plugin.js +96 -96
- package/files/buildCodeplay/huawei-privacy-entry.js +135 -135
- package/files/buildCodeplay/huawei-privacy.cjs +102 -92
- package/files/buildCodeplay/huawei-privacy.css +22 -22
- package/files/buildCodeplay/iap-alias.cjs +116 -116
- package/files/buildCodeplay/ios-ad-consent.cjs +56 -56
- package/files/buildCodeplay/ios-emi-admob-modification.js +49 -49
- package/files/buildCodeplay/manifestModification.js +38 -38
- package/files/buildCodeplay/migrate-system-bars.cjs +122 -122
- package/files/buildCodeplay/newly added.txt +89 -89
- package/files/buildCodeplay/non-google-billing.pro +3 -3
- package/files/buildCodeplay/packageidBaseModification.js +528 -528
- package/files/buildCodeplay/project-scripts.cjs +69 -69
- package/files/buildCodeplay/release-sync.config.json +4 -4
- package/files/buildCodeplay/remove-force-kotlin-disable.js +43 -43
- package/files/buildCodeplay/ruads.cjs +220 -211
- package/files/buildCodeplay/saf-mediastore-dependency.cjs +21 -21
- package/files/buildCodeplay/setSplashAnimation.js +226 -226
- package/files/buildCodeplay/setup-ruads.cjs +62 -55
- package/files/buildCodeplay/splashxml/codeplay_splashScreen.xml +11 -11
- package/files/buildCodeplay/store-billing.cjs +43 -43
- package/files/buildCodeplay/sync-admob-nextgen.js +219 -219
- package/files/buildCodeplay/tests/huawei-live-reload.test.cjs +60 -0
- package/files/buildCodeplay/tests/huawei-multiple-entries.test.cjs +80 -0
- package/files/buildCodeplay/tests/huawei-privacy.test.cjs +49 -49
- package/files/buildCodeplay/tests/huawei-vite.test.cjs +38 -35
- package/files/buildCodeplay/versions.json +28 -28
- package/files/finalrelease +1365 -1365
- package/files/generate-ai-promo-video.js +23 -23
- package/files/ionic.config.json +6 -6
- package/files/scripts-common/collect-startup-profile.js +134 -0
- package/files/scripts-common/generate-baseline-profile.js +194 -22
- package/files/scripts-common/run-codeplay-sync-after.js +21 -21
- package/files/scripts-common/screenshot/background-decorations.js +120 -120
- package/files/scripts-common/screenshot/frame-samples.js +117 -117
- package/files/scripts-common/setup-baseline-profile.js +291 -291
- package/files/take-screen-image.js +4414 -4414
- package/files/take-screen-video.js +644 -644
- package/package.json +29 -29
- package/runtime/vk-ads/vk-ad-configuration.json +39 -39
- package/scripts/baseline-profile.test.cjs +189 -0
- package/scripts/ensure-current-build.test.cjs +76 -76
- package/scripts/iap-alias.test.cjs +117 -117
- package/scripts/ios-ad-consent.test.cjs +99 -99
- package/scripts/ruads-install.test.cjs +197 -180
- package/scripts/ruads-policy.test.cjs +174 -174
- package/scripts/saf-mediastore-dependency.test.cjs +44 -44
- package/scripts/squeezeback-config.test.cjs +78 -78
- package/scripts/sync-files.js +120 -120
- package/scripts/system-bars-package.test.cjs +38 -38
- package/scripts/system-bars.test.cjs +93 -93
- package/scripts/uninstall.js +2 -2
- package/scripts/vite-build-settings.test.cjs +93 -92
package/CHANGELOG.md
CHANGED
|
@@ -1,115 +1,115 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
## 4.11.13 — 2026-11-04
|
|
4
|
-
|
|
5
|
-
Version name:4.11.13. Version code/build number:not applicable to this npm package.
|
|
6
|
-
|
|
7
|
-
Files changed: `package.json`, `runtime/splash-ready.mjs`, `files/buildCodeplay/splash-setup.cjs`, `files/buildCodeplay/setSplashAnimation.js`, `files/buildCodeplay/add-splash-screen.js`, `files/buildCodeplay/splashxml/codeplay_splashScreen.xml`, `files/buildCodeplay/codeplayBeforeBuild.js`, `scripts/sync-files.js`, `scripts/splash-setup.test.cjs`, `README.md`, `CHANGELOG.md`, `RELEASE_NOTES.md`.
|
|
8
|
-
|
|
9
|
-
- Use a DayNight post-splash theme and migrate only the known legacy default in existing app templates; preserve custom themes.
|
|
10
|
-
- Configure native exit animation duration,including0ms,without editing generated MainActivity;default remains1000ms.
|
|
11
|
-
- Share the existing Framework7 page/image readiness flow with timeout,error handling and listener cleanup.
|
|
12
|
-
- Migrate the known existing readiness handler;offer explicit opt-in for supported legacy timer handlers,with native fallback/plugin checks. Preserve unsupported custom startup code.
|
|
13
|
-
- Run splash preparation during installation,before-build and splash setup;rebuild consuming apps to apply native changes.
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
## Unreleased
|
|
17
|
-
|
|
18
|
-
- Add a Huawei-only first-launch Simplified Chinese privacy consent gate from shared `buildCodeplay` files. Keep Firebase Analytics off by default in Huawei native builds, restore non-Huawei entries on the next build, and provide a Settings link and withdrawal control. Each app still needs its own published Chinese policy profile before submission.
|
|
19
|
-
- Add optional camera, autofocus and flash feature declarations after package-specific manifest updates. Warn about Amazon device exclusions for existing required camera features (including manual declarations); Enter or a 5-second timeout changes them to optional, while n/N preserves them. Avoid duplicate features on repeated builds and run package-ID preparation in every Android store build command.
|
|
20
|
-
- Invalidate the cached source-file inventory after removing replaced plugin folders or versioned files, so post-update validation scans the installed sources instead of deleted theme paths.
|
|
21
|
-
- Automatically migrate versioned save-file imports to `@saveGallery`, scan the script section of Framework7 pages, and add or refresh the Vite alias for the newest installed platform helper before and after plugin updates.
|
|
22
|
-
- Check installed package versions before conditional plugin installation; a missing optional Firebase web SDK no longer reinstalls native Analytics. Preserve disabled-feature removal and required Samsung IAP upgrades.
|
|
23
|
-
- Propagate loading errors from installed build helpers instead of attempting to reinstall them.
|
|
24
|
-
- Preserve configured LocalNotifications small/large drawables and the default OneSignal drawable when present in Android resources; regenerate the shrinker keep rules on every before-build run, including after platform recreation.
|
|
25
|
-
- Detect version-suffixed files in the app's `buildCodeplay` folder at build startup, then run `npm uninstall codeplay-common` and `npm install codeplay-common` sequentially before resuming with the refreshed before-build script.
|
|
26
|
-
- Stop on reinstall failure or incomplete legacy cleanup rather than continuing with stale build templates.
|
|
27
|
-
|
|
28
|
-
## 4.11.4 — 2026-10-27
|
|
29
|
-
|
|
30
|
-
Version name: 4.11.4. Version code/build number: not applicable to this npm package.
|
|
31
|
-
|
|
32
|
-
Files changed: `package.json`, `scripts/sync-files.js`, `files/buildCodeplay/fix-optimize-builld/android-r8-rules.cjs`, `files/buildCodeplay/fix-optimize-builld/ffmpeg-jni-rules.cjs`, `files/buildCodeplay/fix-optimize-builld/restore-android-r8-rules.cjs`, `files/buildCodeplay/fix-optimize-builld/fix-optimize-build.gradle`, `files/buildCodeplay/codeplayBeforeBuild.js`, `files/buildCodeplay/manifestModification.js`, `files/buildCodeplay/project-scripts.cjs`, `files/finalrelease`, `README.md`, `CHANGELOG.md`, `RELEASE_NOTES.md`.
|
|
33
|
-
|
|
34
|
-
- Preserve Capacitor permission annotations in every consuming Android app, without an app ID or permission-use restriction.
|
|
35
|
-
- Restore the scoped ProGuard rules during installation, Android sync and every Gradle build through a regenerated apply-from hook; keep existing custom rules and avoid duplicates.
|
|
36
|
-
- Ship the helper inside `buildCodeplay` so shared templates do not depend on an app-specific `Scripts` file.
|
|
37
|
-
- Provide `npm run android:r8-rules` and migrate the known previous helper command while preserving custom commands.
|
|
38
|
-
- Keep permission declarations, prompts, minification settings and iOS configuration unchanged; already-distributed binaries require rebuilding.
|
|
39
|
-
- Preserve explicit release minification settings when distributing shared templates, and retain the tested FFmpeg JNI rules when that plugin is installed.
|
|
40
|
-
|
|
41
|
-
## 4.10.5 — 2026-10-23
|
|
42
|
-
|
|
43
|
-
Version name: 4.10.5. Version code/build number: not applicable to this npm package.
|
|
44
|
-
|
|
45
|
-
Files changed: `package.json`, `scripts/sync-files.js`, `CHANGELOG.md`, `RELEASE_NOTES.md`.
|
|
46
|
-
|
|
47
|
-
- Migrate known legacy filename lookups in an existing app configurator after installing shared scripts.
|
|
48
|
-
- Prefer unversioned pre-build and package-ID helpers while retaining the versioned fallback.
|
|
49
|
-
- Correct the known old sync-hook folder assignment without replacing app-specific configuration or adding a configurator to apps that do not have one.
|
|
50
|
-
|
|
51
|
-
## 4.10.4 — 2026-10-23
|
|
52
|
-
|
|
53
|
-
Version name: 4.10.4. Version code/build number: not applicable to this npm package.
|
|
54
|
-
|
|
55
|
-
Files changed: `package.json`, `files/scripts-common/run-codeplay-sync-after.js`, `CHANGELOG.md`, `RELEASE_NOTES.md`.
|
|
56
|
-
|
|
57
|
-
- Ship an updated sync-after hook for apps retaining the custom hook command after script migration.
|
|
58
|
-
- Run unversioned splash helpers instead of searching for removed versioned filenames.
|
|
59
|
-
- Resolve baseline profile setup from `scripts-common/` and preserve the existing native splash when no splash icon is configured.
|
|
60
|
-
|
|
61
|
-
## 4.10.3 — 2026-10-23
|
|
62
|
-
|
|
63
|
-
Version name: 4.10.3. Version code/build number: not applicable to this npm package.
|
|
64
|
-
|
|
65
|
-
Files changed: `package.json`, `files/finalrelease`, `CHANGELOG.md`, `RELEASE_NOTES.md`.
|
|
66
|
-
|
|
67
|
-
- Allow ad-free apps with `plugins.AdMob.ADMOB_ENABLED: false` to pass release validation without an AdMob alias or controller.
|
|
68
|
-
- Continue requiring a production AdMob alias when advertising is enabled or the enabled flag is unspecified.
|
|
69
|
-
- Preserve rejection of test aliases, commented or duplicate aliases, and missing production controllers for apps with ads enabled.
|
|
70
|
-
|
|
71
|
-
## 4.10.0 — 2026-10-23
|
|
72
|
-
|
|
73
|
-
Version name: 4.10.0. Version code/build number: not applicable to this npm package.
|
|
74
|
-
Bundled pre-build script: 6.7.
|
|
75
|
-
|
|
76
|
-
Files changed: `package.json`, `files/buildCodeplay/project-scripts.cjs`, `scripts/sync-files.js`, `scripts/uninstall.js`, `files/finalrelease`, `files/buildCodeplay/`, `files/scripts-common/`, `files/take-screen-image.js`, `README.md`, `CHANGELOG.md`, `RELEASE_NOTES.md`.
|
|
77
|
-
|
|
78
|
-
- Copy shared build scripts and the versions manifest into each app; run local scripts with unversioned filenames.
|
|
79
|
-
- Rename app helper scripts to scripts-common automatically, migrate command paths, and preserve existing files without overwriting folder conflicts.
|
|
80
|
-
- Migrate app build/store/sync paths automatically and remove only superseded versioned helpers; preserve app-owned configuration and screenshot data.
|
|
81
|
-
- Resolve app sources/native targets from the consuming app directory while keeping bundled assets inside the plugin.
|
|
82
|
-
- Download IAP and AdMob directly from htmlcodeplay.com, without bundling archives or adding a separate fallback.
|
|
83
|
-
- Automatically migrate deferred ownership verification, purchase-safe advertising, and Home Pro visibility according to each store IAP flag.
|
|
84
|
-
- Copy the full finalrelease implementation so it can be tested from the application folder.
|
|
85
|
-
- Preserve working files during preinstall and avoid downgrading local/newer plugin installations to an older registry release.
|
|
86
|
-
|
|
87
|
-
## 4.9.8 — 2026-10-22
|
|
88
|
-
|
|
89
|
-
Version name: 4.9.8. Version code/build number: not applicable to this npm package.
|
|
90
|
-
Bundled pre-build script: 6.5.
|
|
91
|
-
|
|
92
|
-
Files changed: `package.json`, `scripts/sync-files.js`, `files/buildCodeplay/codeplayBeforeBuild-6.5.js`, `files/buildCodeplay/sync-admob-nextgen.js`, `files/buildCodeplay/versions.json`, `files/finalrelease`, `README.md`, `CHANGELOG.md`, `RELEASE_NOTES.md`.
|
|
93
|
-
|
|
94
|
-
- Install AdMob as `src/js/Ads/admob-nextgen-4.0/` with stable `admob-emi-nextgen.js` and `app-open-state.js` filenames.
|
|
95
|
-
- Automatically migrate loose-file references, folder references and Vite aliases during installation and before builds.
|
|
96
|
-
- Preserve app-owned ad configuration and select each app's existing IAP analytics module.
|
|
97
|
-
- Download every AdMob folder ZIP from htmlcodeplay.com; no AdMob archive is included in this npm package.
|
|
98
|
-
- Validate ZIP contents before switching imports; retain the working package when a remote update fails.
|
|
99
|
-
- Validate the selected folder controller during final-release checks while continuing to reject test aliases.
|
|
100
|
-
|
|
101
|
-
## 4.7.7 — 2026-10-07
|
|
102
|
-
|
|
103
|
-
Version name: 4.7.7. Version code/build number: not applicable to this npm package.
|
|
104
|
-
Bundled pre-build script: 6.4.
|
|
105
|
-
|
|
106
|
-
Files changed: `package.json`, `scripts/sync-files.js`, `files/buildCodeplay/codeplayBeforeBuild-6.4.js`
|
|
107
|
-
(replaces `codeplayBeforeBuild-6.3.js`), `README.md`, `CHANGELOG.md`, `RELEASE_NOTES.md`.
|
|
108
|
-
|
|
109
|
-
- Keep `npm run build` as the Android default on every host; add `npm run build:ios` automatically during installation.
|
|
110
|
-
- Route `build-capacitor-android` through the same pre-build validation before copying the web build.
|
|
111
|
-
- Migrate direct save-gallery imports to `@saveGallery` and select the matching platform helper in Vite after one detailed Enter/y confirmation.
|
|
112
|
-
- Stop without import writes on cancellation, missing helpers, mixed versions, unsupported query/hash aliases or concurrent source edits.
|
|
113
|
-
- Reuse source directory traversal and combine gallery, retired OneSignal import, StatusBar and editor checks in one content pass.
|
|
114
|
-
- Automatically remove an installed/declared `onesignal-cordova-plugin` with a warning; skip legacy OneSignal patching/helper downloads and stop on remaining package imports.
|
|
115
|
-
- Keep `agent-temp/` ignored and remove existing `buildCodeplay/` ignore entries without adding them in future projects.
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## 4.11.13 — 2026-11-04
|
|
4
|
+
|
|
5
|
+
Version name:4.11.13. Version code/build number:not applicable to this npm package.
|
|
6
|
+
|
|
7
|
+
Files changed: `package.json`, `runtime/splash-ready.mjs`, `files/buildCodeplay/splash-setup.cjs`, `files/buildCodeplay/setSplashAnimation.js`, `files/buildCodeplay/add-splash-screen.js`, `files/buildCodeplay/splashxml/codeplay_splashScreen.xml`, `files/buildCodeplay/codeplayBeforeBuild.js`, `scripts/sync-files.js`, `scripts/splash-setup.test.cjs`, `README.md`, `CHANGELOG.md`, `RELEASE_NOTES.md`.
|
|
8
|
+
|
|
9
|
+
- Use a DayNight post-splash theme and migrate only the known legacy default in existing app templates; preserve custom themes.
|
|
10
|
+
- Configure native exit animation duration,including0ms,without editing generated MainActivity;default remains1000ms.
|
|
11
|
+
- Share the existing Framework7 page/image readiness flow with timeout,error handling and listener cleanup.
|
|
12
|
+
- Migrate the known existing readiness handler;offer explicit opt-in for supported legacy timer handlers,with native fallback/plugin checks. Preserve unsupported custom startup code.
|
|
13
|
+
- Run splash preparation during installation,before-build and splash setup;rebuild consuming apps to apply native changes.
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
## Unreleased
|
|
17
|
+
|
|
18
|
+
- Add a Huawei-only first-launch Simplified Chinese privacy consent gate from shared `buildCodeplay` files. Keep Firebase Analytics off by default in Huawei native builds, restore non-Huawei entries on the next build, and provide a Settings link and withdrawal control. Each app still needs its own published Chinese policy profile before submission.
|
|
19
|
+
- Add optional camera, autofocus and flash feature declarations after package-specific manifest updates. Warn about Amazon device exclusions for existing required camera features (including manual declarations); Enter or a 5-second timeout changes them to optional, while n/N preserves them. Avoid duplicate features on repeated builds and run package-ID preparation in every Android store build command.
|
|
20
|
+
- Invalidate the cached source-file inventory after removing replaced plugin folders or versioned files, so post-update validation scans the installed sources instead of deleted theme paths.
|
|
21
|
+
- Automatically migrate versioned save-file imports to `@saveGallery`, scan the script section of Framework7 pages, and add or refresh the Vite alias for the newest installed platform helper before and after plugin updates.
|
|
22
|
+
- Check installed package versions before conditional plugin installation; a missing optional Firebase web SDK no longer reinstalls native Analytics. Preserve disabled-feature removal and required Samsung IAP upgrades.
|
|
23
|
+
- Propagate loading errors from installed build helpers instead of attempting to reinstall them.
|
|
24
|
+
- Preserve configured LocalNotifications small/large drawables and the default OneSignal drawable when present in Android resources; regenerate the shrinker keep rules on every before-build run, including after platform recreation.
|
|
25
|
+
- Detect version-suffixed files in the app's `buildCodeplay` folder at build startup, then run `npm uninstall codeplay-common` and `npm install codeplay-common` sequentially before resuming with the refreshed before-build script.
|
|
26
|
+
- Stop on reinstall failure or incomplete legacy cleanup rather than continuing with stale build templates.
|
|
27
|
+
|
|
28
|
+
## 4.11.4 — 2026-10-27
|
|
29
|
+
|
|
30
|
+
Version name: 4.11.4. Version code/build number: not applicable to this npm package.
|
|
31
|
+
|
|
32
|
+
Files changed: `package.json`, `scripts/sync-files.js`, `files/buildCodeplay/fix-optimize-builld/android-r8-rules.cjs`, `files/buildCodeplay/fix-optimize-builld/ffmpeg-jni-rules.cjs`, `files/buildCodeplay/fix-optimize-builld/restore-android-r8-rules.cjs`, `files/buildCodeplay/fix-optimize-builld/fix-optimize-build.gradle`, `files/buildCodeplay/codeplayBeforeBuild.js`, `files/buildCodeplay/manifestModification.js`, `files/buildCodeplay/project-scripts.cjs`, `files/finalrelease`, `README.md`, `CHANGELOG.md`, `RELEASE_NOTES.md`.
|
|
33
|
+
|
|
34
|
+
- Preserve Capacitor permission annotations in every consuming Android app, without an app ID or permission-use restriction.
|
|
35
|
+
- Restore the scoped ProGuard rules during installation, Android sync and every Gradle build through a regenerated apply-from hook; keep existing custom rules and avoid duplicates.
|
|
36
|
+
- Ship the helper inside `buildCodeplay` so shared templates do not depend on an app-specific `Scripts` file.
|
|
37
|
+
- Provide `npm run android:r8-rules` and migrate the known previous helper command while preserving custom commands.
|
|
38
|
+
- Keep permission declarations, prompts, minification settings and iOS configuration unchanged; already-distributed binaries require rebuilding.
|
|
39
|
+
- Preserve explicit release minification settings when distributing shared templates, and retain the tested FFmpeg JNI rules when that plugin is installed.
|
|
40
|
+
|
|
41
|
+
## 4.10.5 — 2026-10-23
|
|
42
|
+
|
|
43
|
+
Version name: 4.10.5. Version code/build number: not applicable to this npm package.
|
|
44
|
+
|
|
45
|
+
Files changed: `package.json`, `scripts/sync-files.js`, `CHANGELOG.md`, `RELEASE_NOTES.md`.
|
|
46
|
+
|
|
47
|
+
- Migrate known legacy filename lookups in an existing app configurator after installing shared scripts.
|
|
48
|
+
- Prefer unversioned pre-build and package-ID helpers while retaining the versioned fallback.
|
|
49
|
+
- Correct the known old sync-hook folder assignment without replacing app-specific configuration or adding a configurator to apps that do not have one.
|
|
50
|
+
|
|
51
|
+
## 4.10.4 — 2026-10-23
|
|
52
|
+
|
|
53
|
+
Version name: 4.10.4. Version code/build number: not applicable to this npm package.
|
|
54
|
+
|
|
55
|
+
Files changed: `package.json`, `files/scripts-common/run-codeplay-sync-after.js`, `CHANGELOG.md`, `RELEASE_NOTES.md`.
|
|
56
|
+
|
|
57
|
+
- Ship an updated sync-after hook for apps retaining the custom hook command after script migration.
|
|
58
|
+
- Run unversioned splash helpers instead of searching for removed versioned filenames.
|
|
59
|
+
- Resolve baseline profile setup from `scripts-common/` and preserve the existing native splash when no splash icon is configured.
|
|
60
|
+
|
|
61
|
+
## 4.10.3 — 2026-10-23
|
|
62
|
+
|
|
63
|
+
Version name: 4.10.3. Version code/build number: not applicable to this npm package.
|
|
64
|
+
|
|
65
|
+
Files changed: `package.json`, `files/finalrelease`, `CHANGELOG.md`, `RELEASE_NOTES.md`.
|
|
66
|
+
|
|
67
|
+
- Allow ad-free apps with `plugins.AdMob.ADMOB_ENABLED: false` to pass release validation without an AdMob alias or controller.
|
|
68
|
+
- Continue requiring a production AdMob alias when advertising is enabled or the enabled flag is unspecified.
|
|
69
|
+
- Preserve rejection of test aliases, commented or duplicate aliases, and missing production controllers for apps with ads enabled.
|
|
70
|
+
|
|
71
|
+
## 4.10.0 — 2026-10-23
|
|
72
|
+
|
|
73
|
+
Version name: 4.10.0. Version code/build number: not applicable to this npm package.
|
|
74
|
+
Bundled pre-build script: 6.7.
|
|
75
|
+
|
|
76
|
+
Files changed: `package.json`, `files/buildCodeplay/project-scripts.cjs`, `scripts/sync-files.js`, `scripts/uninstall.js`, `files/finalrelease`, `files/buildCodeplay/`, `files/scripts-common/`, `files/take-screen-image.js`, `README.md`, `CHANGELOG.md`, `RELEASE_NOTES.md`.
|
|
77
|
+
|
|
78
|
+
- Copy shared build scripts and the versions manifest into each app; run local scripts with unversioned filenames.
|
|
79
|
+
- Rename app helper scripts to scripts-common automatically, migrate command paths, and preserve existing files without overwriting folder conflicts.
|
|
80
|
+
- Migrate app build/store/sync paths automatically and remove only superseded versioned helpers; preserve app-owned configuration and screenshot data.
|
|
81
|
+
- Resolve app sources/native targets from the consuming app directory while keeping bundled assets inside the plugin.
|
|
82
|
+
- Download IAP and AdMob directly from htmlcodeplay.com, without bundling archives or adding a separate fallback.
|
|
83
|
+
- Automatically migrate deferred ownership verification, purchase-safe advertising, and Home Pro visibility according to each store IAP flag.
|
|
84
|
+
- Copy the full finalrelease implementation so it can be tested from the application folder.
|
|
85
|
+
- Preserve working files during preinstall and avoid downgrading local/newer plugin installations to an older registry release.
|
|
86
|
+
|
|
87
|
+
## 4.9.8 — 2026-10-22
|
|
88
|
+
|
|
89
|
+
Version name: 4.9.8. Version code/build number: not applicable to this npm package.
|
|
90
|
+
Bundled pre-build script: 6.5.
|
|
91
|
+
|
|
92
|
+
Files changed: `package.json`, `scripts/sync-files.js`, `files/buildCodeplay/codeplayBeforeBuild-6.5.js`, `files/buildCodeplay/sync-admob-nextgen.js`, `files/buildCodeplay/versions.json`, `files/finalrelease`, `README.md`, `CHANGELOG.md`, `RELEASE_NOTES.md`.
|
|
93
|
+
|
|
94
|
+
- Install AdMob as `src/js/Ads/admob-nextgen-4.0/` with stable `admob-emi-nextgen.js` and `app-open-state.js` filenames.
|
|
95
|
+
- Automatically migrate loose-file references, folder references and Vite aliases during installation and before builds.
|
|
96
|
+
- Preserve app-owned ad configuration and select each app's existing IAP analytics module.
|
|
97
|
+
- Download every AdMob folder ZIP from htmlcodeplay.com; no AdMob archive is included in this npm package.
|
|
98
|
+
- Validate ZIP contents before switching imports; retain the working package when a remote update fails.
|
|
99
|
+
- Validate the selected folder controller during final-release checks while continuing to reject test aliases.
|
|
100
|
+
|
|
101
|
+
## 4.7.7 — 2026-10-07
|
|
102
|
+
|
|
103
|
+
Version name: 4.7.7. Version code/build number: not applicable to this npm package.
|
|
104
|
+
Bundled pre-build script: 6.4.
|
|
105
|
+
|
|
106
|
+
Files changed: `package.json`, `scripts/sync-files.js`, `files/buildCodeplay/codeplayBeforeBuild-6.4.js`
|
|
107
|
+
(replaces `codeplayBeforeBuild-6.3.js`), `README.md`, `CHANGELOG.md`, `RELEASE_NOTES.md`.
|
|
108
|
+
|
|
109
|
+
- Keep `npm run build` as the Android default on every host; add `npm run build:ios` automatically during installation.
|
|
110
|
+
- Route `build-capacitor-android` through the same pre-build validation before copying the web build.
|
|
111
|
+
- Migrate direct save-gallery imports to `@saveGallery` and select the matching platform helper in Vite after one detailed Enter/y confirmation.
|
|
112
|
+
- Stop without import writes on cancellation, missing helpers, mixed versions, unsupported query/hash aliases or concurrent source edits.
|
|
113
|
+
- Reuse source directory traversal and combine gallery, retired OneSignal import, StatusBar and editor checks in one content pass.
|
|
114
|
+
- Automatically remove an installed/declared `onesignal-cordova-plugin` with a warning; skip legacy OneSignal patching/helper downloads and stop on remaining package imports.
|
|
115
|
+
- Keep `agent-temp/` ignored and remove existing `buildCodeplay/` ignore entries without adding them in future projects.
|
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2025 Merbin Joe
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Merbin Joe
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|