-
Notifications
You must be signed in to change notification settings - Fork 2
/
mobile-config.js
35 lines (30 loc) · 1.25 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
35
App.info({
id: 'org.singularities.songspot',
name: 'Song Pot',
version: "1.1.0"
});
App.icons({
'android_mdpi': 'icons/icon-48.png', // (48x48)
'android_hdpi': 'icons/icon-72.png', // (72x72)
'android_xhdpi': 'icons/icon-96.png', // (96x96)
'android_xxhdpi': 'icons/icon-144.png', // (144x144)
'android_xxxhdpi': 'icons/icon-192.png' // (192x192)
});
App.launchScreens({
// 'android_mdpi_portrait': 'splash/android-mdpi.png', // (320x470)
// 'android_hdpi_portrait': 'splash/android-hdpi.png', // (480x640)
'android_xhdpi_portrait': 'splash/android-xhdpi.9.png' // (720x960)
// 'android_xxhdpi_portrait': 'splash/android-xxhdpi.png' // (1080x1440)
});
App.accessRule('https://forum.songpot.rocks/*', { type: 'intent' });
App.accessRule('http://singularities.org/atd', { type: 'intent' });
App.accessRule('https://atd.singularities.org/', { type: 'intent' });
App.accessRule('http://ruidodebarrio.lapiluka.org/', { type: 'intent' });
App.accessRule('https://github.com/singularities/song-pot', { type: 'intent' });
App.accessRule('https://www.google-analytics.com');
App.appendToConfig(`
<preference name="AndroidLaunchMode" value="singleInstance" />
<universal-links>
<host name="songpot.rocks" scheme="https" />
</universal-links>
`);