forked from Snapchat/creative-kit-sample
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Info.plist
142 lines (123 loc) · 4.44 KB
/
Info.plist
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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleDisplayName</key>
<string>ReactNativeCreativeKitDemo</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
<key>NSExceptionDomains</key>
<dict>
<key>localhost</key>
<dict>
<key>NSExceptionAllowsInsecureHTTPLoads</key>
<true/>
</dict>
</dict>
</dict>
<key>NSLocationWhenInUseUsageDescription</key>
<string></string>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>armv7</string>
</array>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>
<!-- ************* Snap Kit Configuration - Start ************* -->
<!-- TODO(1): Declare the Snapchat package query -->
<key>LSApplicationQueriesSchemes</key>
<array>
<string>snapchat</string>
<string>bitmoji-sdk</string>
<string>itms-apps</string>
</array>
<!-- TODO(2): Paste the OAuth2 Client ID for your specific app -->
<!--
To ensure that this test app works, make sure that in the Snap Kit Developer Portal:
1. You set your app's Android App ID under "Platform Identifiers" section
2. Your Snapchat username is in the list of "Demo Users" (only required if testing on Staging)
Then you should paste your Staging/Production OAuth2 Client ID here.
-->
<!--
You can use the Staging Client ID anytime even before an app is reviewed and approved
however, only accounts listed under the "Demo Users" on the Snap Kit developer portal
will be able to use your application.
-->
<!--
With the Production Client ID, your app can post the content from any Snapchat account
however, your app must be approved for the Production Client ID to work.
-->
<key>SCSDKClientId</key>
<string>OAUTH2_CLIENT_ID_FROM_PORTAL</string>
<!-- TODO(3): The URL Snapchat will redirect to if there’s an error -->
<!--
To ensure that this test app works, make sure that in the Snap Kit Developer Portal:
1. You add this url in the "Redirect URIs for OAuth" section
-->
<!--
The redirect URL itself doesn't need to have any meaning associated with it and in
general, the only real criteria would be to pick a URL with a scheme that is unlikely
to collide with a scheme of another app.
The URL should however follow the syntax "foo://bar".
If you need ideas, you could try "myapp://snap-kit/oauth2".
-->
<key>SCSDKRedirectUrl</key>
<string>snapkitexample://main/auth</string>
<!-- TODO(4): Update the URL Types -->
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleURLName</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<!--
Enter your redirect scheme below.
For e.g. if your redirect url is "myapp://snap-kit/oauth2"
then the scheme is "myapp".
-->
<key>CFBundleURLSchemes</key>
<array>
<string>snapkitexample</string>
</array>
</dict>
</array>
<!-- TODO(5): Capture photos for SnapChat (https://github.com/react-native-image-picker/react-native-image-picker) -->
<key>NSCameraUsageDescription</key>
<string>Capture photos for SnapChat</string>
<!-- TODO(6): Capture videos for SnapChat (https://github.com/react-native-image-picker/react-native-image-picker) -->
<key>NSMicrophoneUsageDescription</key>
<string>Capture videos for SnapChat</string>
<!-- ************* Snap Kit Configuration - End ************* -->
</dict>
</plist>