codeplay-common
v4.6.7
Published
Common build scripts and files
Readme
codeplay-common
Everything automatted in Capacitor apps, easy to maintain many apps in capacitor. It will reduce your 40% of work, with common file code.
Easy add splashscreen and set animation Admob id automatically from capacitor.config.json file Make three build file for different store as per our requirement Based on store install various IAP plugins Make it to ionic project
Agent instructions
Agent instructions are updated during npm run build, not during npm installation.
The build script reads the agents version from
https://htmlcodeplay.com/code-play-plugin/versions.json and downloads the matching
agents-<version>.zip archive when the project has no agent instructions or the
server version is newer.
The ZIP root must contain AGENTS.md and AGENTS/. These are copied directly to
the project root. The installed version is stored in AGENTS/.codeplay-version.
Existing files with matching names are replaced; project-only files with other
names inside AGENTS/ are preserved.
For example, publish agents-1.1.zip and add this entry to the server's
versions.json:
"agents": "1.1"Donate to get full code including many common functions https://ko-fi.com/codeplay
Version 4.6.1 Added automatic IAP startup integration for Framework7 home pages. Updated minimum shared versions to IAP 4.2 and AdMob nextgen 2.5.
4.2.8 baseline profile code modifications
Version 4.2.3 Added build warning confirmation when android.ORIENTATION is not "auto" or android.RESIZEABLE_ACTIVITY is not true.
Version 4.2.2 Added "bannerDisabledPages" property and its default value The admob configuration default value priority is updated
Version 4.2.1 Updated AdMob nextgen file validation to match admob-emi-nextgen file names.
Version 4.2.0 Firebase related automatic changes updated
Version 4.1.9 Added AdMob nextgen 1.7 validation/default support for "overlappingHeight", "bannerTypeAndroidLandscape", and "bannerTypeiOSLandscape".
Version 4.1.8 "consentDebug: false" is added
Version 4.1.7 admob configuration automatically added.
Version 4.1.6 "setup-baseline-profile.js" modification, duplicate validation error fixed
Version 4.1.5 While isTesting is true it is not validated from our new configuration admob file, now it is solved
Version 4.1.4 hardcoded version is removed for the admob-emi-nextgen
Version 4.1.3 "consentDebug": false automatically adds if not
Version 4.1.2 Speedup
Version 4.1.1 Auto admob integration updated
version 4.0.9 packageJson.scripts["ionic:serve"] = "cross-env NODE_ENV=development vite"; this line updated in "sync-files.js"
version 4.0.8 safearea plugin is checked and removed automatically Automatically added following in capacitor.config.json file "SystemBars": { "insetsHandling": "css" } patchFile() method is removed
Version 4.0.6 IAP related some automatic variable creation and validation Fetch from vite.config.json file 'import.meta.env.VITE_APP_UNIQUE_ID': JSON.stringify(APP_UNIQUE_ID), 'import.meta.env.VITE_ANDROID_ANALYTICS_ENABLED': JSON.stringify(ANDROID_ANALYTICS_ENABLED), 'import.meta.env.VITE_IOS_ANALYTICS_ENABLED': JSON.stringify(IOS_ANALYTICS_ENABLED), 'import.meta.env.VITE_IAP_DESIGN': JSON.stringify(IAP_DESIGN),
Version 4.0.5 In "files\buildCodeplay\packageidBaseModification-1.4.js" SCHEDULE_EXACT_ALARM permission added for the app unique id 2 (resume generator app)
Version 4.0.4 patchFile(); method is disabled, Due to "@capacitor/android:8.4.2" this update. I think it is realted to safearea issue fixed in this latest version, file in "SystemBars.java"
Version 4.0.3 Old admob check performs through plugin location, but not it is validated from capacitor.config.json
Version: 4.0.2 After check & install/download the latest version, the re-check is cancelled now
Version: 4.0.1 Base profile script added
"version": "", Version : 4.0.0 (Previous version 3.2.19) 1) In here we are completly remove the admob-emi and use "capacitor-admob-nextgen" 2) Removed "modify-plugin-xml.js" 3)
