codeplay-common 1.9.8 → 2.0.0
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/files/buildCodeplay/{packageidBaseModification-1.2.js → packageidBaseModification-1.3.js}
RENAMED
|
@@ -212,7 +212,17 @@ if (fs.existsSync(appJsPath)) {
|
|
|
212
212
|
fs.writeFileSync(appJsPath, newLines.join('\n'), 'utf8');
|
|
213
213
|
console.log(`✅ All Keyboard.set* lines wrapped safely with ios check`);
|
|
214
214
|
} else {
|
|
215
|
-
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
const configPath = path.join(process.cwd(), 'capacitor.config.json');
|
|
218
|
+
|
|
219
|
+
const rawData = fs.readFileSync(configPath, 'utf8');
|
|
220
|
+
const config = JSON.parse(rawData);
|
|
221
|
+
|
|
222
|
+
const appUniqueId=config.android.APP_UNIQUE_ID
|
|
223
|
+
|
|
224
|
+
if(appUniqueId!=172)
|
|
225
|
+
console.error(`❌ src/js/capacitor-app.js not found at: ${appJsPath}`);
|
|
216
226
|
}
|
|
217
227
|
|
|
218
228
|
|
|
@@ -242,6 +252,9 @@ const rawData = fs.readFileSync(configPath, 'utf8');
|
|
|
242
252
|
const config = JSON.parse(rawData);
|
|
243
253
|
const targetAppId=config.appId
|
|
244
254
|
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
|
|
245
258
|
//console.log("TARGET APP ID IS : "+ targetAppId)
|
|
246
259
|
|
|
247
260
|
|