forked from tidev/kitchensink-v2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtiapp.xml
135 lines (135 loc) · 6.85 KB
/
tiapp.xml
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
<?xml version="1.0" encoding="UTF-8"?>
<ti:app
xmlns:ti="http://ti.appcelerator.org">
<id>com.appcelerator.kitchensink</id>
<name>KitchenSink</name>
<version>7.1.2</version>
<publisher>Appcelerator, Inc.</publisher>
<url>https://appcelerator.com</url>
<description>This sample app gives an overview of native components available in Titanium.</description>
<copyright>Appcelerator, Inc.</copyright>
<icon>appicon.png</icon>
<fullscreen>false</fullscreen>
<navbar-hidden>false</navbar-hidden>
<analytics>true</analytics>
<guid>11111111-1111-1111-1111-111111111111</guid>
<property name="ti.ui.defaultunit" type="string">dp</property>
<property name="run-on-main-thread" type="bool">true</property>
<ios>
<enable-launch-screen-storyboard>true</enable-launch-screen-storyboard>
<default-background-color>#c91326</default-background-color>
<use-app-thinning>true</use-app-thinning>
<plist>
<dict>
<!-- URL Schemes-->
<key>LSApplicationQueriesSchemes</key>
<array>
<string>fbapi</string>
<string>fb-messenger-api</string>
<string>fbauth2</string>
<string>fbshareextension</string>
</array>
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleURLName</key>
<!-- Application ID same as the id value in the tiapp.xml file -->
<string>[YOUR FACEBOOK ID]</string>
<key>CFBundleURLSchemes</key>
<array>
<!-- Prefix the Facebook App ID with 'fb' -->
<string>fb[YOUR FACEBOOK ID]</string>
</array>
</dict>
</array>
<!-- FaceID -->
<key>NSFaceIDUsageDescription</key>
<string>Required for this test to function</string>
<!-- Theming -->
<key>UIStatusBarStyle</key>
<string>UIStatusBarStyleLightContent</string>
<!-- Facebook -->
<key>FacebookAppID</key>
<string>[YOUR FACEBOOK ID]</string>
<key>FacebookDisplayName</key>
<string>KitchenSink</string>
<!-- Permissions: Photo Library -->
<key>NSPhotoLibraryUsageDescription</key>
<string>We need permission to look at your photo library.</string>
<key>NSPhotoLibraryAddUsageDescription</key>
<string>We need permission to save images in your photo library.</string>
<!-- Permissions: Geolocation -->
<key>NSLocationWhenInUseUsageDescription</key>
<string>We need your location so we can cross check where you are so we can find you!</string>
<key>NSLocationAlwaysUsageDescription</key>
<string>We need your location so we can cross check where you are so we can find you!</string>
<key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
<string>We need your location so we can cross check where you are so we can find you!</string>
<!-- Permissions: Microphone -->
<key>NSMicrophoneUsageDescription</key>
<string>We need permission to access the microphone on your device for audio input or recording.</string>
<!-- Permissions: Camera -->
<key>NSCameraUsageDescription</key>
<string>We need permission to access your device camera.</string>
<!-- Define static shortcuts here -->
<key>UIApplicationShortcutItems</key>
<array>
<!-- Each <dict> represents one shortcut item -->
<dict>
<!-- System-provided icon -->
<key>UIApplicationShortcutItemIconType</key>
<string>UIApplicationShortcutIconTypeAdd</string>
<!-- Title - Can be a name in an i18n/<lang>/app.xml file -->
<key>UIApplicationShortcutItemTitle</key>
<string>add_title</string>
<!-- Subtitle - Can be a name in an i18n/<lang>/app.xml file -->
<key>UIApplicationShortcutItemSubtitle</key>
<string>add_subtitle</string>
<!-- Type used to identify the action in the event listener -->
<key>UIApplicationShortcutItemType</key>
<string>add</string>
<!-- Custom dictionary (object) to receive in the event -->
<key>UIApplicationShortcutItemUserInfo</key>
<dict>
<key>myCustomKey</key>
<string>myCustomValue</string>
</dict>
</dict>
</array>
</dict>
</plist>
</ios>
<android
xmlns:android="http://schemas.android.com/apk/res/android">
<manifest android:versionCode="3" android:versionName="7.1.0">
<uses-permission android:name="android.permission.RECORD_AUDIO"/>
<uses-permission android:name="android.permission.USE_FINGERPRINT"/>
<application android:debuggable="true" android:hardwareAccelerated="true" android:largeHeap="true" android:theme="@style/kitchensink">
<uses-library android:name="com.google.android.maps"/>
<meta-data android:name="com.google.android.maps.v2.API_KEY" android:value="[YOUR API KEY HERE]"/>
<!--http://docs.appcelerator.com/platform/latest/#!/guide/Google_Maps_v2_for_Android-->
<activity android:configChanges="keyboard|keyboardHidden|screenLayout|screenSize|orientation" android:label="KitchenSink" android:name="com.facebook.FacebookActivity" android:theme="@android:style/Theme.Translucent.NoTitleBar"/>
<meta-data android:name="com.facebook.sdk.ApplicationId" android:value="@string/facebook_app_id"/>
</application>
</manifest>
</android>
<deployment-targets>
<target device="android">true</target>
<target device="ipad">true</target>
<target device="iphone">true</target>
<target device="windows">false</target>
</deployment-targets>
<plugins>
<plugin version="1.0">ti.alloy</plugin>
</plugins>
<modules>
<module platform="iphone">ti.map</module>
<module platform="android">ti.map</module>
<module platform="android">ti.identity</module>
<module platform="iphone">ti.identity</module>
<module platform="android">facebook</module>
<module platform="iphone">facebook</module>
<module platform="commonjs">ti.cloud</module>
</modules>
<sdk-version>9.2.2.GA</sdk-version>
</ti:app>