Skip to content

Instantly share code, notes, and snippets.

@matthewgertner
Last active October 15, 2015 05:31
Show Gist options
  • Save matthewgertner/7ed0fb5f9c6882c7f197 to your computer and use it in GitHub Desktop.
Save matthewgertner/7ed0fb5f9c6882c7f197 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding='utf-8'?>
<widget id="..."
version=
xmlns="http://www.w3.org/ns/widgets"
xmlns:cdv="http://cordova.apache.org/ns/1.0"
xmlns:gap="http://phonegap.com/ns/1.0">
<name>...</name>
<description>
...
</description>
<author email="..." href="...">
...
</author>
<content src="index.html" />
<icon src="icon.png" />
<preference name="StatusBarOverlaysWebView" value="false" />
<preference name="StatusBarBackgroundColor" value="#561e30" />
<preference name="StatusBarStyle" value="lightcontent" />
<preference name="orientation" value="portrait" />
<preference name="DisallowOverscroll" value="true" />
<gap:plugin name="org.apache.cordova.geolocation" />
<gap:plugin name="cordova-plugin-statusbar" source="npm" />
<gap:plugin name="cordova-plugin-whitelist" source="npm" version="1.0.0" />
<gap:plugin name="cordova-plugin-screen-orientation" source="npm" version="1.4.0" />
<gap:plugin name="com.phonegap.plugins.facebookconnect" >
<param name="APP_ID" value="..." />
<param name="APP_NAME" value="..." />
</gap:plugin>
<gap:config-file platform="ios" parent="NSAppTransportSecurity">
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
<key>NSExceptionDomains</key>
<dict>
<key>facebook.com</key>
<dict>
<key>NSIncludesSubdomains</key>
<true/>
<key>NSExceptionRequiresForwardSecrecy</key>
<false/>
</dict>
<key>fbcdn.net</key>
<dict>
<key>NSIncludesSubdomains</key>
<true/>
<key>NSExceptionRequiresForwardSecrecy</key>
<false/>
</dict>
<key>akamaihd.net</key>
<dict>
<key>NSIncludesSubdomains</key>
<true/>
<key>NSExceptionRequiresForwardSecrecy</key>
<false/>
</dict>
</dict>
</dict>
</gap:config-file>
<gap:config-file platform="ios" parent="LSApplicationQueriesSchemes">
<array>
<string>fbapi</string>
<string>fbapi20130214</string>
<string>fbapi20130410</string>
<string>fbapi20130702</string>
<string>fbapi20131010</string>
<string>fbapi20131219</string>
<string>fbapi20140410</string>
<string>fbapi20140116</string>
<string>fbapi20150313</string>
<string>fbapi20150629</string>
<string>fbauth</string>
<string>fbauth2</string>
<string>fb-messenger-api20140430</string>
</array>
</gap:config-file>
<access origin="*" />
</widget>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment