-
-
Notifications
You must be signed in to change notification settings - Fork 49
/
Copy pathtiapp.xml
163 lines (163 loc) · 7.31 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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
<?xml version="1.0" encoding="UTF-8"?>
<ti:app>
<id>com.tidev.kitchensink</id>
<name>KitchenSink</name>
<version>8.0.0</version>
<publisher>TiDev, Inc.</publisher>
<url>https://tidev.io</url>
<description>This sample app gives an overview of native components available in Titanium.</description>
<copyright>TiDev, Inc.</copyright>
<icon>appicon.png</icon>
<fullscreen>false</fullscreen>
<navbar-hidden>false</navbar-hidden>
<analytics>false</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>
<!-- Only support the "light" theme on iOS 13 and higher. -->
<key>UIUserInterfaceStyle</key>
<string>Light</string>
<!-- Define all orientations supported by this app. -->
<key>UISupportedInterfaceOrientations~iphone</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UISupportedInterfaceOrientations~ipad</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<!-- 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="800" android:versionName="8.0.0">
<uses-permission android:name="android.permission.RECORD_AUDIO"/>
<uses-permission android:name="android.permission.USE_FINGERPRINT"/>
<!-- Ti.Platform.canOpenURL() method will return false unless mime-type is specified in below queries section. -->
<queries>
<intent>
<action android:name="android.intent.action.VIEW"/>
<data android:mimeType="application/pdf"/>
</intent>
<intent>
<action android:name="android.intent.action.VIEW"/>
<data android:mimeType="image/*"/>
</intent>
<intent>
<action android:name="android.intent.action.VIEW"/>
<data android:mimeType="text/*"/>
</intent>
</queries>
<application android:theme="@style/Theme.KitchenSink">
<meta-data android:name="com.google.android.maps.v2.API_KEY" android:value="[YOUR API KEY HERE]"/>
<!--https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/Location_Services/Google_Maps_v2_for_Android.html-->
<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"/>
<meta-data android:name="com.facebook.sdk.AutoLogAppEventsEnabled" android:value="false"/>
</application>
</manifest>
</android>
<deployment-targets>
<target device="android">true</target>
<target device="ipad">true</target>
<target device="iphone">true</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>
</modules>
<sdk-version>12.1.1.GA</sdk-version>
</ti:app>