codeplay-common 2.1.36 → 2.1.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.
|
@@ -14,7 +14,7 @@ const requiredPlugins = [
|
|
|
14
14
|
{ pattern: /backbutton-(\d+\.\d+)\.js$/, minVersion: '1.8', required: true, baseDir: 'js',mandatoryUpdate: true},
|
|
15
15
|
|
|
16
16
|
/*/common-(\d+\.\d+)\.js$/*/
|
|
17
|
-
{ pattern: /common-(\d+\.\d+)(?:-beta-(\d+))?\.js$/, minVersion: '5.
|
|
17
|
+
{ pattern: /common-(\d+\.\d+)(?:-beta-(\d+))?\.js$/, minVersion: '5.7', required: true, baseDir: 'js',mandatoryUpdate: true },
|
|
18
18
|
|
|
19
19
|
{ pattern: /localization_settings-(\d+\.\d+)\.js$/, minVersion: '1.1', required: true, baseDir: 'js',mandatoryUpdate: false },
|
|
20
20
|
{ pattern: /localization-(\d+\.\d+)\.js$/, minVersion: '1.4', required: true, baseDir: 'js',mandatoryUpdate: true },
|
|
@@ -257,10 +257,10 @@ const targetAppId=config.appId
|
|
|
257
257
|
|
|
258
258
|
//console.log("TARGET APP ID IS : "+ targetAppId)
|
|
259
259
|
|
|
260
|
-
|
|
260
|
+
let permissions;
|
|
261
261
|
if(targetAppId=='apk.bulk.app.uninstaller' || targetAppId=='apk.extractor.installer')
|
|
262
262
|
{
|
|
263
|
-
|
|
263
|
+
permissions=[
|
|
264
264
|
'<uses-permission android:name="android.permission.QUERY_ALL_PACKAGES"/>',
|
|
265
265
|
'<uses-permission android:name="android.permission.REQUEST_DELETE_PACKAGES"/>',
|
|
266
266
|
'<uses-permission android:name="android.permission.GET_PACKAGE_SIZE"/>'
|
|
@@ -268,4 +268,13 @@ if(targetAppId=='apk.bulk.app.uninstaller' || targetAppId=='apk.extractor.instal
|
|
|
268
268
|
|
|
269
269
|
// EXAMPLE USAGE
|
|
270
270
|
addAndroidPermissions(permissions);
|
|
271
|
-
}
|
|
271
|
+
}
|
|
272
|
+
else if(targetAppId=="image.to.text.document")
|
|
273
|
+
{
|
|
274
|
+
permissions=[
|
|
275
|
+
'<uses-permission android:name="android.permission.CAMERA" />',
|
|
276
|
+
'<uses-feature android:name="android.hardware.camera" android:required="true" />',
|
|
277
|
+
];
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
addAndroidPermissions(permissions);
|