-
Notifications
You must be signed in to change notification settings - Fork 35
/
cliqz-android.js
71 lines (69 loc) · 1.9 KB
/
cliqz-android.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
/*!
* Copyright (c) 2014-present Cliqz GmbH. All rights reserved.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/
const publish = require('./common/publish');
const urls = require('./common/urls-cliqz');
module.exports = {
platform: 'react-native',
format: 'common',
baseURL: '/',
testsBasePath: './build/modules',
testem_launchers: ['unit-node'],
testem_launchers_ci: ['unit-node'],
pack: 'npm pack',
publish: publish.toEdge('browser-core', 'cliqz-android'),
isMobile: true,
settings: Object.assign({}, urls, {
ALLOWED_COUNTRY_CODES: ['de', 'at', 'ch', 'es', 'us', 'fr', 'nl', 'gb', 'it', 'se'],
RESULTS_PROVIDER_ORDER: ['calculator', 'history', 'cliqz', 'querySuggestions', 'instant'],
CLEAR_RESULTS_AT_SESSION_START: false,
antitrackingButton: false,
ATTRACK_TELEMETRY_PROVIDER: 'platform',
channel: 'MR00',
antitrackingPlaceholder: 'cliqz.com/tracking',
antitrackingHeader: 'CLIQZ-AntiTracking',
INSIGHTS_INTERNAL: true,
}),
default_prefs: {
attrackBloomFilter: true,
attrackForceBlock: true,
'cliqz-adb': 0,
'cliqz-adb-disk-cache': false,
'modules.pairing.enabled': false,
attrackTelemetryMode: 0,
},
modules: [
'core',
'core-cliqz',
'search',
'webrequest-pipeline',
'antitracking',
'adblocker',
'p2p',
'pairing',
'mobile-pairing',
'mobile-cards',
'video-downloader',
'anolysis',
'geolocation',
'insights',
],
bundles: [
],
react_components: {
ExtensionApp: './modules/mobile-cards/cliqz-ios/ExtensionApp'
},
resources: {
bundling: 'assets',
include: [
'core/logo-database.json',
'antitracking/prob.json',
'antitracking/config.json',
'antitracking/tracker_db_v2.json',
]
}
};