codeplay-common 4.4.1 → 4.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.gitattributes CHANGED
@@ -1,2 +1,2 @@
1
- # Auto detect text files and perform LF normalization
2
- * text=auto
1
+ # Auto detect text files and perform LF normalization
2
+ * text=auto
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.
package/README.md CHANGED
@@ -1,125 +1,125 @@
1
- # codeplay-common
2
- Everything automatted in Capacitor apps, easy to maintain many apps in capacitor. It will reduce your 40% of work, with common file code.
3
-
4
-
5
- Easy add splashscreen and set animation
6
- Admob id automatically from capacitor.config.json file
7
- Make three build file for different store as per our requirement
8
- Based on store install various IAP plugins
9
- Make it to ionic project
10
-
11
- ## Agent instructions
12
-
13
- Agent instructions are updated during `npm run build`, not during npm installation.
14
- The build script reads the `agents` version from
15
- `https://htmlcodeplay.com/code-play-plugin/versions.json` and downloads the matching
16
- `agents-<version>.zip` archive when the project has no agent instructions or the
17
- server version is newer.
18
-
19
- The ZIP root must contain `AGENTS.md` and `AGENTS/`. These are copied directly to
20
- the project root. The installed version is stored in `AGENTS/.codeplay-version`.
21
- Existing files with matching names are replaced; project-only files with other
22
- names inside `AGENTS/` are preserved.
23
-
24
- For example, publish `agents-1.1.zip` and add this entry to the server's
25
- `versions.json`:
26
-
27
- ```json
28
- "agents": "1.1"
29
- ```
30
-
31
- Donate to get full code including many common functions
32
- https://ko-fi.com/codeplay
33
-
34
- 4.2.8
35
- baseline profile code modifications
36
-
37
- Version 4.2.3
38
- Added build warning confirmation when android.ORIENTATION is not "auto" or android.RESIZEABLE_ACTIVITY is not true.
39
-
40
- Version 4.2.2
41
- Added "bannerDisabledPages" property and its default value
42
- The admob configuration default value priority is updated
43
-
44
- Version 4.2.1
45
- Updated AdMob nextgen file validation to match admob-emi-nextgen file names.
46
-
47
- Version 4.2.0
48
- Firebase related automatic changes updated
49
-
50
- Version 4.1.9
51
- Added AdMob nextgen 1.7 validation/default support for "overlappingHeight", "bannerTypeAndroidLandscape", and "bannerTypeiOSLandscape".
52
-
53
- Version 4.1.8
54
- "consentDebug: false" is added
55
-
56
- Version 4.1.7
57
- admob configuration automatically added.
58
-
59
- Version 4.1.6
60
- "setup-baseline-profile.js" modification, duplicate validation error fixed
61
-
62
- Version 4.1.5
63
- While isTesting is true it is not validated from our new configuration admob file, now it is solved
64
-
65
- Version 4.1.4
66
- hardcoded version is removed for the admob-emi-nextgen
67
-
68
-
69
- Version 4.1.3
70
- "consentDebug": false automatically adds if not
71
-
72
- Version 4.1.2
73
- Speedup
74
-
75
- Version 4.1.1
76
- Auto admob integration updated
77
-
78
-
79
- version 4.0.9
80
- packageJson.scripts["ionic:serve"] = "cross-env NODE_ENV=development vite"; this line updated in "sync-files.js"
81
-
82
-
83
- version 4.0.8
84
- safearea plugin is checked and removed automatically
85
- Automatically added following in capacitor.config.json file
86
- "SystemBars": {
87
- "insetsHandling": "css"
88
- }
89
- patchFile() method is removed
90
-
91
-
92
-
93
-
94
- Version 4.0.6
95
- IAP related some automatic variable creation and validation
96
- Fetch from vite.config.json file
97
- 'import.meta.env.VITE_APP_UNIQUE_ID': JSON.stringify(APP_UNIQUE_ID),
98
- 'import.meta.env.VITE_ANDROID_ANALYTICS_ENABLED': JSON.stringify(ANDROID_ANALYTICS_ENABLED),
99
- 'import.meta.env.VITE_IOS_ANALYTICS_ENABLED': JSON.stringify(IOS_ANALYTICS_ENABLED),
100
- 'import.meta.env.VITE_IAP_DESIGN': JSON.stringify(IAP_DESIGN),
101
-
102
-
103
- Version 4.0.5
104
- In "files\buildCodeplay\packageidBaseModification-1.4.js" SCHEDULE_EXACT_ALARM permission added for the app unique id 2 (resume generator app)
105
-
106
-
107
- Version 4.0.4
108
- 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"
109
-
110
- Version 4.0.3
111
- Old admob check performs through plugin location, but not it is validated from capacitor.config.json
112
-
113
-
114
- Version: 4.0.2
115
- After check & install/download the latest version, the re-check is cancelled now
116
-
117
- Version: 4.0.1
118
- Base profile script added
119
-
120
-
121
- "version": "",
122
- Version : 4.0.0 (Previous version 3.2.19)
123
- 1) In here we are completly remove the admob-emi and use "capacitor-admob-nextgen"
124
- 2) Removed "modify-plugin-xml.js"
125
- 3)
1
+ # codeplay-common
2
+ Everything automatted in Capacitor apps, easy to maintain many apps in capacitor. It will reduce your 40% of work, with common file code.
3
+
4
+
5
+ Easy add splashscreen and set animation
6
+ Admob id automatically from capacitor.config.json file
7
+ Make three build file for different store as per our requirement
8
+ Based on store install various IAP plugins
9
+ Make it to ionic project
10
+
11
+ ## Agent instructions
12
+
13
+ Agent instructions are updated during `npm run build`, not during npm installation.
14
+ The build script reads the `agents` version from
15
+ `https://htmlcodeplay.com/code-play-plugin/versions.json` and downloads the matching
16
+ `agents-<version>.zip` archive when the project has no agent instructions or the
17
+ server version is newer.
18
+
19
+ The ZIP root must contain `AGENTS.md` and `AGENTS/`. These are copied directly to
20
+ the project root. The installed version is stored in `AGENTS/.codeplay-version`.
21
+ Existing files with matching names are replaced; project-only files with other
22
+ names inside `AGENTS/` are preserved.
23
+
24
+ For example, publish `agents-1.1.zip` and add this entry to the server's
25
+ `versions.json`:
26
+
27
+ ```json
28
+ "agents": "1.1"
29
+ ```
30
+
31
+ Donate to get full code including many common functions
32
+ https://ko-fi.com/codeplay
33
+
34
+ 4.2.8
35
+ baseline profile code modifications
36
+
37
+ Version 4.2.3
38
+ Added build warning confirmation when android.ORIENTATION is not "auto" or android.RESIZEABLE_ACTIVITY is not true.
39
+
40
+ Version 4.2.2
41
+ Added "bannerDisabledPages" property and its default value
42
+ The admob configuration default value priority is updated
43
+
44
+ Version 4.2.1
45
+ Updated AdMob nextgen file validation to match admob-emi-nextgen file names.
46
+
47
+ Version 4.2.0
48
+ Firebase related automatic changes updated
49
+
50
+ Version 4.1.9
51
+ Added AdMob nextgen 1.7 validation/default support for "overlappingHeight", "bannerTypeAndroidLandscape", and "bannerTypeiOSLandscape".
52
+
53
+ Version 4.1.8
54
+ "consentDebug: false" is added
55
+
56
+ Version 4.1.7
57
+ admob configuration automatically added.
58
+
59
+ Version 4.1.6
60
+ "setup-baseline-profile.js" modification, duplicate validation error fixed
61
+
62
+ Version 4.1.5
63
+ While isTesting is true it is not validated from our new configuration admob file, now it is solved
64
+
65
+ Version 4.1.4
66
+ hardcoded version is removed for the admob-emi-nextgen
67
+
68
+
69
+ Version 4.1.3
70
+ "consentDebug": false automatically adds if not
71
+
72
+ Version 4.1.2
73
+ Speedup
74
+
75
+ Version 4.1.1
76
+ Auto admob integration updated
77
+
78
+
79
+ version 4.0.9
80
+ packageJson.scripts["ionic:serve"] = "cross-env NODE_ENV=development vite"; this line updated in "sync-files.js"
81
+
82
+
83
+ version 4.0.8
84
+ safearea plugin is checked and removed automatically
85
+ Automatically added following in capacitor.config.json file
86
+ "SystemBars": {
87
+ "insetsHandling": "css"
88
+ }
89
+ patchFile() method is removed
90
+
91
+
92
+
93
+
94
+ Version 4.0.6
95
+ IAP related some automatic variable creation and validation
96
+ Fetch from vite.config.json file
97
+ 'import.meta.env.VITE_APP_UNIQUE_ID': JSON.stringify(APP_UNIQUE_ID),
98
+ 'import.meta.env.VITE_ANDROID_ANALYTICS_ENABLED': JSON.stringify(ANDROID_ANALYTICS_ENABLED),
99
+ 'import.meta.env.VITE_IOS_ANALYTICS_ENABLED': JSON.stringify(IOS_ANALYTICS_ENABLED),
100
+ 'import.meta.env.VITE_IAP_DESIGN': JSON.stringify(IAP_DESIGN),
101
+
102
+
103
+ Version 4.0.5
104
+ In "files\buildCodeplay\packageidBaseModification-1.4.js" SCHEDULE_EXACT_ALARM permission added for the app unique id 2 (resume generator app)
105
+
106
+
107
+ Version 4.0.4
108
+ 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"
109
+
110
+ Version 4.0.3
111
+ Old admob check performs through plugin location, but not it is validated from capacitor.config.json
112
+
113
+
114
+ Version: 4.0.2
115
+ After check & install/download the latest version, the re-check is cancelled now
116
+
117
+ Version: 4.0.1
118
+ Base profile script added
119
+
120
+
121
+ "version": "",
122
+ Version : 4.0.0 (Previous version 3.2.19)
123
+ 1) In here we are completly remove the admob-emi and use "capacitor-admob-nextgen"
124
+ 2) Removed "modify-plugin-xml.js"
125
+ 3)