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.
Files changed (63) hide show
  1. package/CHANGELOG.md +115 -115
  2. package/LICENSE +21 -21
  3. package/README.md +408 -374
  4. package/RELEASE_NOTES.md +97 -97
  5. package/files/buildCodeplay/HUAWEI-PRIVACY.md +9 -9
  6. package/files/buildCodeplay/add-splash-screen.js +255 -255
  7. package/files/buildCodeplay/apk-store-builder.js +97 -97
  8. package/files/buildCodeplay/codeplayBeforeBuild.js +4793 -4793
  9. package/files/buildCodeplay/disabled-ads.mjs +53 -53
  10. package/files/buildCodeplay/ensure-current-build.cjs +42 -42
  11. package/files/buildCodeplay/fix-onesignal-plugin.js +96 -96
  12. package/files/buildCodeplay/huawei-privacy-entry.js +135 -135
  13. package/files/buildCodeplay/huawei-privacy.cjs +102 -92
  14. package/files/buildCodeplay/huawei-privacy.css +22 -22
  15. package/files/buildCodeplay/iap-alias.cjs +116 -116
  16. package/files/buildCodeplay/ios-ad-consent.cjs +56 -56
  17. package/files/buildCodeplay/ios-emi-admob-modification.js +49 -49
  18. package/files/buildCodeplay/manifestModification.js +38 -38
  19. package/files/buildCodeplay/migrate-system-bars.cjs +122 -122
  20. package/files/buildCodeplay/newly added.txt +89 -89
  21. package/files/buildCodeplay/non-google-billing.pro +3 -3
  22. package/files/buildCodeplay/packageidBaseModification.js +528 -528
  23. package/files/buildCodeplay/project-scripts.cjs +69 -69
  24. package/files/buildCodeplay/release-sync.config.json +4 -4
  25. package/files/buildCodeplay/remove-force-kotlin-disable.js +43 -43
  26. package/files/buildCodeplay/ruads.cjs +220 -211
  27. package/files/buildCodeplay/saf-mediastore-dependency.cjs +21 -21
  28. package/files/buildCodeplay/setSplashAnimation.js +226 -226
  29. package/files/buildCodeplay/setup-ruads.cjs +62 -55
  30. package/files/buildCodeplay/splashxml/codeplay_splashScreen.xml +11 -11
  31. package/files/buildCodeplay/store-billing.cjs +43 -43
  32. package/files/buildCodeplay/sync-admob-nextgen.js +219 -219
  33. package/files/buildCodeplay/tests/huawei-live-reload.test.cjs +60 -0
  34. package/files/buildCodeplay/tests/huawei-multiple-entries.test.cjs +80 -0
  35. package/files/buildCodeplay/tests/huawei-privacy.test.cjs +49 -49
  36. package/files/buildCodeplay/tests/huawei-vite.test.cjs +38 -35
  37. package/files/buildCodeplay/versions.json +28 -28
  38. package/files/finalrelease +1365 -1365
  39. package/files/generate-ai-promo-video.js +23 -23
  40. package/files/ionic.config.json +6 -6
  41. package/files/scripts-common/collect-startup-profile.js +134 -0
  42. package/files/scripts-common/generate-baseline-profile.js +194 -22
  43. package/files/scripts-common/run-codeplay-sync-after.js +21 -21
  44. package/files/scripts-common/screenshot/background-decorations.js +120 -120
  45. package/files/scripts-common/screenshot/frame-samples.js +117 -117
  46. package/files/scripts-common/setup-baseline-profile.js +291 -291
  47. package/files/take-screen-image.js +4414 -4414
  48. package/files/take-screen-video.js +644 -644
  49. package/package.json +29 -29
  50. package/runtime/vk-ads/vk-ad-configuration.json +39 -39
  51. package/scripts/baseline-profile.test.cjs +189 -0
  52. package/scripts/ensure-current-build.test.cjs +76 -76
  53. package/scripts/iap-alias.test.cjs +117 -117
  54. package/scripts/ios-ad-consent.test.cjs +99 -99
  55. package/scripts/ruads-install.test.cjs +197 -180
  56. package/scripts/ruads-policy.test.cjs +174 -174
  57. package/scripts/saf-mediastore-dependency.test.cjs +44 -44
  58. package/scripts/squeezeback-config.test.cjs +78 -78
  59. package/scripts/sync-files.js +120 -120
  60. package/scripts/system-bars-package.test.cjs +38 -38
  61. package/scripts/system-bars.test.cjs +93 -93
  62. package/scripts/uninstall.js +2 -2
  63. package/scripts/vite-build-settings.test.cjs +93 -92
@@ -0,0 +1,80 @@
1
+ const { test } = require('node:test');
2
+ const assert = require('node:assert/strict');
3
+ const fs = require('node:fs');
4
+ const path = require('node:path');
5
+ const vm = require('node:vm');
6
+ const { syncHuaweiPrivacy } = require('../huawei-privacy.cjs');
7
+
8
+ function fixture(t, html) {
9
+ const base = path.resolve(process.env.CODEPLAY_TEST_ROOT || path.join(__dirname, '../../../agent-temp'));
10
+ fs.mkdirSync(base, { recursive: true });
11
+ const root = fs.mkdtempSync(path.join(base, 'huawei-modules-'));
12
+ t.after(() => fs.rmSync(root, { recursive: true, force: true }));
13
+ const write = (file, text) => {
14
+ const target = path.join(root, file);
15
+ fs.mkdirSync(path.dirname(target), { recursive: true });
16
+ fs.writeFileSync(target, text);
17
+ };
18
+ const read = file => fs.readFileSync(path.join(root, file), 'utf8');
19
+ write('src/index.html', html);
20
+ write('src/js/app.js', 'export const app = true;');
21
+ write('src/js/common.js', 'export const common = true;');
22
+ write('buildCodeplay/.keep', '');
23
+ write('android/app/src/main/AndroidManifest.xml', '<manifest><application></application></manifest>');
24
+ write('capacitor.config.json', JSON.stringify({ appName: 'Test', android: { APP_UNIQUE_ID: 2 } }));
25
+ return { root, write, read };
26
+ }
27
+
28
+ const html = `<html><body>
29
+ <!-- <script type="module" src="./missing-example.js"></script> -->
30
+ <script type="module" src="./js/app.js"></script>
31
+ <script type='module' src='./js/common.js'></script>
32
+ <script src="./jquery.js"></script>
33
+ </body></html>`;
34
+
35
+ test('multiple module entries wait for consent, run in document order and restore exactly', async t => {
36
+ const f = fixture(t, html);
37
+ syncHuaweiPrivacy(f.root, 4);
38
+ const enabled = f.read('src/index.html');
39
+ const wrapper = f.read('buildCodeplay/huawei-privacy-generated.js');
40
+ assert.equal((enabled.match(/huawei-privacy-generated.js/g) || []).length, 1);
41
+ assert.match(enabled, /type='application\/x-codeplay-huawei-module'/);
42
+ assert.ok(enabled.includes('<script src="./jquery.js"></script>'));
43
+ let consent;
44
+ const imports = [];
45
+ vm.runInNewContext(wrapper.replace(/^import .*;\n/m, '').replace(/\bimport\(/g, 'load('), {
46
+ startHuaweiPrivacy: options => { consent = options; },
47
+ load: async entry => { imports.push(entry); },
48
+ });
49
+ assert.deepEqual(imports, []);
50
+ await consent.startApp();
51
+ assert.deepEqual(imports, ['../src/js/app.js', '../src/js/common.js']);
52
+ syncHuaweiPrivacy(f.root, 4);
53
+ assert.equal(f.read('src/index.html'), enabled);
54
+ assert.equal(f.read('buildCodeplay/huawei-privacy-generated.js'), wrapper);
55
+ syncHuaweiPrivacy(f.root, 1);
56
+ assert.equal(f.read('src/index.html'), html);
57
+ syncHuaweiPrivacy(f.root, 4);
58
+ assert.equal(f.read('src/index.html'), enabled);
59
+ });
60
+
61
+ test('upgrades an existing single-entry wrapper and includes a newly added module', t => {
62
+ const f = fixture(t, html.replace("<script type='module' src='./js/common.js'></script>", ''));
63
+ syncHuaweiPrivacy(f.root, 4);
64
+ f.write('src/index.html', f.read('src/index.html').replace('</body>', '<script type="module" src="./js/common.js"></script></body>'));
65
+ syncHuaweiPrivacy(f.root, 4);
66
+ assert.match(f.read('buildCodeplay/huawei-privacy-generated.js'), /await import\("\.\.\/src\/js\/common.js"\)/);
67
+ assert.match(f.read('src/index.html'), /type="application\/x-codeplay-huawei-module"/);
68
+ });
69
+
70
+ test('missing or unsupported secondary entries fail without partial changes', t => {
71
+ for (const entry of ['./missing.js', '../outside.js', 'https://example.com/app.js']) {
72
+ const f = fixture(t, html.replace('./js/common.js', entry));
73
+ const before = f.read('src/index.html');
74
+ const manifest = f.read('android/app/src/main/AndroidManifest.xml');
75
+ assert.throws(() => syncHuaweiPrivacy(f.root, 4), /Huawei privacy: (unsupported app entry|app entry .* was not found)/);
76
+ assert.equal(f.read('src/index.html'), before);
77
+ assert.equal(f.read('android/app/src/main/AndroidManifest.xml'), manifest);
78
+ assert.equal(fs.existsSync(path.join(f.root, 'buildCodeplay/huawei-privacy-generated.js')), false);
79
+ }
80
+ });
@@ -1,49 +1,49 @@
1
- const assert = require('node:assert/strict');
2
- const fs = require('node:fs');
3
- const os = require('node:os');
4
- const path = require('node:path');
5
- const { syncHuaweiPrivacy } = require('../huawei-privacy.cjs');
6
-
7
- const root = fs.mkdtempSync(path.join(os.tmpdir(), 'codeplay-huawei-privacy-'));
8
- const indexPath = path.join(root, 'src/index.html');
9
- const manifestPath = path.join(root, 'android/app/src/main/AndroidManifest.xml');
10
- const appEntry = path.join(root, 'src/js/app.js');
11
- const wrapperPath = path.join(root, 'buildCodeplay/huawei-privacy-generated.js');
12
-
13
- try {
14
- for (const file of [indexPath, manifestPath, appEntry, wrapperPath]) fs.mkdirSync(path.dirname(file), { recursive: true });
15
- const index = '<html><body><div id="app"></div><script type="module" src="./js/app.js"></script></body></html>\n';
16
- const manifest = '<manifest><application><activity android:name=".MainActivity" /></application></manifest>\n';
17
- fs.writeFileSync(indexPath, index);
18
- fs.writeFileSync(manifestPath, manifest);
19
- fs.writeFileSync(appEntry, 'document.body.dataset.ready = "yes";\n');
20
- fs.writeFileSync(path.join(root, 'capacitor.config.json'), JSON.stringify({ appName: 'Test App', android: { APP_UNIQUE_ID: 2 } }));
21
-
22
- syncHuaweiPrivacy(root, 1);
23
- assert.equal(fs.readFileSync(indexPath, 'utf8'), index);
24
- assert.equal(fs.readFileSync(manifestPath, 'utf8'), manifest);
25
-
26
- const existing = '<manifest><application>\n <meta-data android:name="firebase_analytics_collection_enabled" android:value="true" />\n <activity android:name=".MainActivity" /></application></manifest>\n';
27
- fs.writeFileSync(manifestPath, existing);
28
- syncHuaweiPrivacy(root, 4);
29
- assert.match(fs.readFileSync(manifestPath, 'utf8'), /firebase_analytics_collection_enabled" android:value="false"/);
30
- syncHuaweiPrivacy(root, 1);
31
- assert.equal(fs.readFileSync(manifestPath, 'utf8'), existing);
32
- fs.writeFileSync(manifestPath, manifest);
33
-
34
- syncHuaweiPrivacy(root, 4);
35
- const huaweiIndex = fs.readFileSync(indexPath, 'utf8');
36
- const huaweiManifest = fs.readFileSync(manifestPath, 'utf8');
37
- assert.match(huaweiIndex, /huawei-privacy-generated\.js/);
38
- assert.match(huaweiManifest, /firebase_analytics_collection_enabled" android:value="false"/);
39
- assert.match(fs.readFileSync(wrapperPath, 'utf8'), /import\("\.\.\/src\/js\/app\.js"\)/);
40
- syncHuaweiPrivacy(root, 4);
41
- assert.equal(fs.readFileSync(indexPath, 'utf8'), huaweiIndex);
42
- assert.equal(fs.readFileSync(manifestPath, 'utf8'), huaweiManifest);
43
-
44
- syncHuaweiPrivacy(root, 1);
45
- assert.equal(fs.readFileSync(indexPath, 'utf8'), index);
46
- assert.equal(fs.readFileSync(manifestPath, 'utf8'), manifest);
47
- } finally {
48
- fs.rmSync(root, { recursive: true, force: true });
49
- }
1
+ const assert = require('node:assert/strict');
2
+ const fs = require('node:fs');
3
+ const os = require('node:os');
4
+ const path = require('node:path');
5
+ const { syncHuaweiPrivacy } = require('../huawei-privacy.cjs');
6
+
7
+ const root = fs.mkdtempSync(path.join(os.tmpdir(), 'codeplay-huawei-privacy-'));
8
+ const indexPath = path.join(root, 'src/index.html');
9
+ const manifestPath = path.join(root, 'android/app/src/main/AndroidManifest.xml');
10
+ const appEntry = path.join(root, 'src/js/app.js');
11
+ const wrapperPath = path.join(root, 'buildCodeplay/huawei-privacy-generated.js');
12
+
13
+ try {
14
+ for (const file of [indexPath, manifestPath, appEntry, wrapperPath]) fs.mkdirSync(path.dirname(file), { recursive: true });
15
+ const index = '<html><body><div id="app"></div><script type="module" src="./js/app.js"></script></body></html>\n';
16
+ const manifest = '<manifest><application><activity android:name=".MainActivity" /></application></manifest>\n';
17
+ fs.writeFileSync(indexPath, index);
18
+ fs.writeFileSync(manifestPath, manifest);
19
+ fs.writeFileSync(appEntry, 'document.body.dataset.ready = "yes";\n');
20
+ fs.writeFileSync(path.join(root, 'capacitor.config.json'), JSON.stringify({ appName: 'Test App', android: { APP_UNIQUE_ID: 2 } }));
21
+
22
+ syncHuaweiPrivacy(root, 1);
23
+ assert.equal(fs.readFileSync(indexPath, 'utf8'), index);
24
+ assert.equal(fs.readFileSync(manifestPath, 'utf8'), manifest);
25
+
26
+ const existing = '<manifest><application>\n <meta-data android:name="firebase_analytics_collection_enabled" android:value="true" />\n <activity android:name=".MainActivity" /></application></manifest>\n';
27
+ fs.writeFileSync(manifestPath, existing);
28
+ syncHuaweiPrivacy(root, 4);
29
+ assert.match(fs.readFileSync(manifestPath, 'utf8'), /firebase_analytics_collection_enabled" android:value="false"/);
30
+ syncHuaweiPrivacy(root, 1);
31
+ assert.equal(fs.readFileSync(manifestPath, 'utf8'), existing);
32
+ fs.writeFileSync(manifestPath, manifest);
33
+
34
+ syncHuaweiPrivacy(root, 4);
35
+ const huaweiIndex = fs.readFileSync(indexPath, 'utf8');
36
+ const huaweiManifest = fs.readFileSync(manifestPath, 'utf8');
37
+ assert.match(huaweiIndex, /huawei-privacy-generated\.js/);
38
+ assert.match(huaweiManifest, /firebase_analytics_collection_enabled" android:value="false"/);
39
+ assert.match(fs.readFileSync(wrapperPath, 'utf8'), /import\("\.\.\/src\/js\/app\.js"\)/);
40
+ syncHuaweiPrivacy(root, 4);
41
+ assert.equal(fs.readFileSync(indexPath, 'utf8'), huaweiIndex);
42
+ assert.equal(fs.readFileSync(manifestPath, 'utf8'), huaweiManifest);
43
+
44
+ syncHuaweiPrivacy(root, 1);
45
+ assert.equal(fs.readFileSync(indexPath, 'utf8'), index);
46
+ assert.equal(fs.readFileSync(manifestPath, 'utf8'), manifest);
47
+ } finally {
48
+ fs.rmSync(root, { recursive: true, force: true });
49
+ }
@@ -1,35 +1,38 @@
1
- const assert = require('node:assert/strict');
2
- const fs = require('node:fs');
3
- const path = require('node:path');
4
- const { execFileSync } = require('node:child_process');
5
- const { syncHuaweiPrivacy } = require('../huawei-privacy.cjs');
6
-
7
- const appRoot = path.resolve(process.argv[2] || '');
8
- const vite = path.join(appRoot, 'node_modules/vite/bin/vite.js');
9
- if (!fs.existsSync(vite)) throw new Error('Pass an app root with Vite installed.');
10
- const tempRoot = path.join(appRoot, 'agent-temp');
11
- fs.mkdirSync(tempRoot, { recursive: true });
12
- const fixture = fs.mkdtempSync(path.join(tempRoot, 'huawei-vite-'));
13
-
14
- try {
15
- const src = path.join(fixture, 'src');
16
- const build = path.join(fixture, 'buildCodeplay');
17
- const manifest = path.join(fixture, 'android/app/src/main/AndroidManifest.xml');
18
- fs.mkdirSync(path.join(src, 'js'), { recursive: true });
19
- fs.mkdirSync(build, { recursive: true });
20
- fs.mkdirSync(path.dirname(manifest), { recursive: true });
21
- fs.writeFileSync(path.join(src, 'index.html'), '<html><body><div id="app"></div><script type="module" src="./js/app.js"></script></body></html>');
22
- fs.writeFileSync(path.join(src, 'js/app.js'), 'document.body.dataset.ready = "yes";');
23
- fs.writeFileSync(manifest, '<manifest><application></application></manifest>');
24
- fs.writeFileSync(path.join(fixture, 'capacitor.config.json'), '{"appName":"Fixture","android":{"APP_UNIQUE_ID":2}}');
25
- for (const name of ['huawei-privacy-entry.js', 'huawei-privacy.css']) {
26
- fs.copyFileSync(path.join(__dirname, '..', name), path.join(build, name));
27
- }
28
- syncHuaweiPrivacy(fixture, 4);
29
- execFileSync(process.execPath, [vite, 'build', src, '--outDir', path.join(fixture, 'dist')], { cwd: appRoot, stdio: 'inherit' });
30
- assert.match(fs.readFileSync(path.join(fixture, 'dist/index.html'), 'utf8'), /assets\/index-/);
31
- } finally {
32
- const resolved = path.resolve(fixture);
33
- assert.equal(path.dirname(resolved), path.resolve(tempRoot));
34
- fs.rmSync(resolved, { recursive: true, force: true });
35
- }
1
+ const assert = require('node:assert/strict');
2
+ const fs = require('node:fs');
3
+ const path = require('node:path');
4
+ const { execFileSync } = require('node:child_process');
5
+ const { syncHuaweiPrivacy } = require('../huawei-privacy.cjs');
6
+
7
+ const appRoot = path.resolve(process.argv[2] || '');
8
+ const vite = path.join(appRoot, 'node_modules/vite/bin/vite.js');
9
+ if (!fs.existsSync(vite)) throw new Error('Pass an app root with Vite installed.');
10
+ const tempRoot = path.join(appRoot, 'agent-temp');
11
+ fs.mkdirSync(tempRoot, { recursive: true });
12
+ const fixture = fs.mkdtempSync(path.join(tempRoot, 'huawei-vite-'));
13
+
14
+ try {
15
+ const src = path.join(fixture, 'src');
16
+ const build = path.join(fixture, 'buildCodeplay');
17
+ const manifest = path.join(fixture, 'android/app/src/main/AndroidManifest.xml');
18
+ fs.mkdirSync(path.join(src, 'js'), { recursive: true });
19
+ fs.mkdirSync(build, { recursive: true });
20
+ fs.mkdirSync(path.dirname(manifest), { recursive: true });
21
+ fs.writeFileSync(path.join(src, 'index.html'), '<html><body><div id="app"></div><script type="module" src="./js/app.js"></script><script type="module" src="./js/common.js"></script></body></html>');
22
+ fs.writeFileSync(path.join(src, 'js/app.js'), 'document.body.dataset.ready = "yes";');
23
+ fs.writeFileSync(path.join(src, 'js/common.js'), 'document.body.dataset.commonReady = "yes";');
24
+ fs.writeFileSync(manifest, '<manifest><application></application></manifest>');
25
+ fs.writeFileSync(path.join(fixture, 'capacitor.config.json'), '{"appName":"Fixture","android":{"APP_UNIQUE_ID":2}}');
26
+ for (const name of ['huawei-privacy-entry.js', 'huawei-privacy.css']) {
27
+ fs.copyFileSync(path.join(__dirname, '..', name), path.join(build, name));
28
+ }
29
+ syncHuaweiPrivacy(fixture, 4);
30
+ execFileSync(process.execPath, [vite, 'build', src, '--outDir', path.join(fixture, 'dist')], { cwd: appRoot, stdio: 'inherit' });
31
+ assert.match(fs.readFileSync(path.join(fixture, 'dist/index.html'), 'utf8'), /assets\/index-/);
32
+ const assets = fs.readdirSync(path.join(fixture, 'dist/assets')).filter(name => name.endsWith('.js'));
33
+ assert.ok(assets.some(name => fs.readFileSync(path.join(fixture, 'dist/assets', name), 'utf8').includes('commonReady')));
34
+ } finally {
35
+ const resolved = path.resolve(fixture);
36
+ assert.equal(path.dirname(resolved), path.resolve(tempRoot));
37
+ fs.rmSync(resolved, { recursive: true, force: true });
38
+ }
@@ -1,28 +1,28 @@
1
- {
2
- "plugins":[
3
- {"name":"vk-ads","pattern":"vk-ads-(\\d+(?:\\.\\d+)*)$","minVersion":"1.0","baseDir":"js/Ads","mandatoryUpdate":true,"isFolder":true},
4
- {"name":"backbutton","pattern":"backbutton-(\\d+\\.\\d+)\\.js$","minVersion":"2.1","baseDir":"js","mandatoryUpdate":true},
5
- {"name":"common-js","pattern":"common-(\\d+\\.\\d+)(?:-beta-(\\d+))?\\.js$","minVersion":"6.7","baseDir":"js","mandatoryUpdate":true},
6
-
7
- {"name":"admob-nextgen","pattern":"admob-nextgen-(\\d+(?:\\.\\d+)*)$","minVersion":"4.1","baseDir":"js/Ads","mandatoryUpdate":true,"isFolder":true},
8
- {"name":"video-player","pattern":"video-player-(\\d+\\.\\d+)\\.js$","minVersion":"1.6","baseDir":"js","mandatoryUpdate":true},
9
- {"name":"image-cropper","pattern":"image-cropper-(\\d+\\.\\d+)\\.js$","minVersion":"1.1","baseDir":"js","mandatoryUpdate":true},
10
- {"name":"beautify","pattern":"beautify-(\\d+\\.\\d+)\\.js$","minVersion":"1.1","baseDir":"js","mandatoryUpdate":true},
11
-
12
-
13
- {"name":"localization","pattern":"localization-(\\d+\\.\\d+)$","minVersion":"1.8","baseDir":"js/localization","mandatoryUpdate":true,"isFolder":true},
14
- {"name": "localization_settings","pattern": "localization_settings-(\\d+\\.\\d+)\\.js$","minVersion": "1.1","required": true,"baseDir": "js/localization","mandatoryUpdate": true},
15
-
16
-
17
- {"name":"editor","pattern":"editor-(\\d+\\.\\d+)$","minVersion":"2.0","baseDir":"js/editor","mandatoryUpdate":true,"isFolder":true},
18
- {"name":"ffmpeg","pattern":"ffmpeg-(\\d+\\.\\d+)$","minVersion":"1.6","baseDir":"js","mandatoryUpdate":true,"isFolder":true},
19
- {"name":"theme","pattern":"theme-(\\d+\\.\\d+)$","minVersion":"3.5","baseDir":"theme","destDir":"theme","mandatoryUpdate":true,"isFolder":true},
20
- {"name":"certificatejs","pattern":"certificatejs-(\\d+\\.\\d+)$","minVersion":"1.9","baseDir":"certificate","destDir":"certificate","mandatoryUpdate":true,"isFolder":true},
21
- {"name":"IAP","pattern":"IAP-(\\d+\\.\\d+)$","minVersion":"4.6","baseDir":"js/Ads","mandatoryUpdate":true,"isFolder":true},
22
- {"name":"common-less","pattern":"common-(\\d+\\.\\d+)\\.less$","minVersion":"1.8","baseDir":"assets/css","mandatoryUpdate":true},
23
- {"name":"localNotification_AppSettings","pattern":"localNotification_AppSettings-(\\d+\\.\\d+)\\.js$","minVersion":"1.0","baseDir":"js","mandatoryUpdate":true},
24
- {"name":"localNotification","pattern":"localNotification-(\\d+\\.\\d+)\\.js$","minVersion":"2.2","baseDir":"js","mandatoryUpdate":true},
25
- {"name":"onesignal","pattern":"onesignal-(\\d+\\.\\d+)\\.js$","minVersion":"2.4","baseDir":"js","mandatoryUpdate":true},
26
- {"name":"saveToGalleryAndSaveAnyFile","pattern":"saveToGalleryAndSaveAnyFile-(\\d+\\.\\d+)(-ios)?\\.js$","minVersion":"3.1","baseDir":"js","mandatoryUpdate":true}
27
- ]
28
- }
1
+ {
2
+ "plugins":[
3
+ {"name":"vk-ads","pattern":"vk-ads-(\\d+(?:\\.\\d+)*)$","minVersion":"1.0","baseDir":"js/Ads","mandatoryUpdate":true,"isFolder":true},
4
+ {"name":"backbutton","pattern":"backbutton-(\\d+\\.\\d+)\\.js$","minVersion":"2.1","baseDir":"js","mandatoryUpdate":true},
5
+ {"name":"common-js","pattern":"common-(\\d+\\.\\d+)(?:-beta-(\\d+))?\\.js$","minVersion":"6.7","baseDir":"js","mandatoryUpdate":true},
6
+
7
+ {"name":"admob-nextgen","pattern":"admob-nextgen-(\\d+(?:\\.\\d+)*)$","minVersion":"4.1","baseDir":"js/Ads","mandatoryUpdate":true,"isFolder":true},
8
+ {"name":"video-player","pattern":"video-player-(\\d+\\.\\d+)\\.js$","minVersion":"1.6","baseDir":"js","mandatoryUpdate":true},
9
+ {"name":"image-cropper","pattern":"image-cropper-(\\d+\\.\\d+)\\.js$","minVersion":"1.1","baseDir":"js","mandatoryUpdate":true},
10
+ {"name":"beautify","pattern":"beautify-(\\d+\\.\\d+)\\.js$","minVersion":"1.1","baseDir":"js","mandatoryUpdate":true},
11
+
12
+
13
+ {"name":"localization","pattern":"localization-(\\d+\\.\\d+)$","minVersion":"1.8","baseDir":"js/localization","mandatoryUpdate":true,"isFolder":true},
14
+ {"name": "localization_settings","pattern": "localization_settings-(\\d+\\.\\d+)\\.js$","minVersion": "1.1","required": true,"baseDir": "js/localization","mandatoryUpdate": true},
15
+
16
+
17
+ {"name":"editor","pattern":"editor-(\\d+\\.\\d+)$","minVersion":"2.0","baseDir":"js/editor","mandatoryUpdate":true,"isFolder":true},
18
+ {"name":"ffmpeg","pattern":"ffmpeg-(\\d+\\.\\d+)$","minVersion":"1.6","baseDir":"js","mandatoryUpdate":true,"isFolder":true},
19
+ {"name":"theme","pattern":"theme-(\\d+\\.\\d+)$","minVersion":"3.5","baseDir":"theme","destDir":"theme","mandatoryUpdate":true,"isFolder":true},
20
+ {"name":"certificatejs","pattern":"certificatejs-(\\d+\\.\\d+)$","minVersion":"1.9","baseDir":"certificate","destDir":"certificate","mandatoryUpdate":true,"isFolder":true},
21
+ {"name":"IAP","pattern":"IAP-(\\d+\\.\\d+)$","minVersion":"4.6","baseDir":"js/Ads","mandatoryUpdate":true,"isFolder":true},
22
+ {"name":"common-less","pattern":"common-(\\d+\\.\\d+)\\.less$","minVersion":"1.8","baseDir":"assets/css","mandatoryUpdate":true},
23
+ {"name":"localNotification_AppSettings","pattern":"localNotification_AppSettings-(\\d+\\.\\d+)\\.js$","minVersion":"1.0","baseDir":"js","mandatoryUpdate":true},
24
+ {"name":"localNotification","pattern":"localNotification-(\\d+\\.\\d+)\\.js$","minVersion":"2.2","baseDir":"js","mandatoryUpdate":true},
25
+ {"name":"onesignal","pattern":"onesignal-(\\d+\\.\\d+)\\.js$","minVersion":"2.4","baseDir":"js","mandatoryUpdate":true},
26
+ {"name":"saveToGalleryAndSaveAnyFile","pattern":"saveToGalleryAndSaveAnyFile-(\\d+\\.\\d+)(-ios)?\\.js$","minVersion":"3.1","baseDir":"js","mandatoryUpdate":true}
27
+ ]
28
+ }