-
Notifications
You must be signed in to change notification settings - Fork 3
/
mobile-config.js
34 lines (31 loc) · 1.58 KB
/
mobile-config.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
App.info({
// id: "edu.northwestern.delta.ce-platform",
id: "edu.northwestern.delta.D",
name: "Cerebro"
});
App.accessRule('*');
App.accessRule('blob:*');
App.accessRule('*.google.com/*');
App.accessRule('*.googleapis.com/*');
App.accessRule('*.gstatic.com/*');
App.appendToConfig(`<platform name="ios">
<config-file platform="ios" target="*-Info.plist" parent="NSPhotoLibraryUsageDescription">
<string>Cerebro needs photo library access to allow you to submit photos for Experiences.</string>
</config-file>
<config-file platform="ios" target="*-Info.plist" parent="NSCameraUsageDescription">
<string>Cerebro needs camera access to allow you to take photos for Experiences.</string>
</config-file>
<!-- background-geolocation -->
<config-file parent="NSLocationAlwaysAndWhenInUseUsageDescription" target="*-Info.plist">
<string>Cerebro needs access to your location 'Always' to notify you of Experiences based on the place you are located.</string>
</config-file>
<config-file parent="NSLocationWhenInUseUsageDescription" target="*-Info.plist">
<string>Cerebro needs access to your location 'When In Use' to identify Experiences based on the place you are located.</string>
</config-file>
<config-file parent="NSMotionUsageDescription" target="*-Info.plist">
<string>Cerebro needs device motion updates, as these help determine when the device is stationary so the app can save power by turning off location-updates</string>
</config-file>
</platform>`);
App.configurePlugin('phonegap-plugin-push', {
SENDER_ID: 12341234
});