Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8"?>
- <plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
- xmlns:android="http://schemas.android.com/apk/res/android"
- id="cordova.plugin.googleplus"
- version="3.0.0">
- <name>Google+</name>
- <description>Use your Google account to authenticate with the app.</description>
- <license>MIT</license>
- <engines>
- <engine name="cordova" version=">=3.3.0"/>
- </engines>
- <js-module src="www/GooglePlus.js" name="GooglePlus">
- <clobbers target="window.plugins.googleplus" />
- </js-module>
- <!-- android -->
- <platform name="android">
- <framework src="com.google.android.gms:play-services-plus:+" />
- <framework src="com.google.android.gms:play-services-identity:+" />
- <config-file target="res/xml/config.xml" parent="/*">
- <feature name="GooglePlus">
- <param name="android-package" value="nl.xservices.plugins.GooglePlus" />
- <param name="onload" value="true" />
- </feature>
- <access origin="https://accounts.google.com/*" />
- </config-file>
- <config-file target="AndroidManifest.xml" parent="/manifest">
- <uses-permission android:name="android.permission.GET_ACCOUNTS" />
- <uses-permission android:name="android.permission.USE_CREDENTIALS" />
- </config-file>
- <source-file src="src/android/GooglePlus.java" target-dir="src/nl/xservices/plugins"/>
- </platform>
- <!-- ios -->
- <platform name="ios">
- <config-file target="config.xml" parent="/*">
- <feature name="GooglePlus">
- <param name="ios-package" value="GooglePlus"/>
- <param name="onload" value="true" />
- </feature>
- <access origin="https://accounts.google.com/*" />
- </config-file>
- <header-file src="src/ios/GooglePlus.h"/>
- <source-file src="src/ios/GooglePlus.m"/>
- <config-file target="*-Info.plist" parent="CFBundleURLTypes">
- <array>
- <dict>
- <key>CFBundleTypeRole</key>
- <string>Editor</string>
- <key>CFBundleURLName</key>
- <string>$PACKAGE_NAME</string>
- <key>CFBundleURLSchemes</key>
- <array>
- <string>$PACKAGE_NAME</string>
- </array>
- </dict>
- <dict>
- <key>CFBundleTypeRole</key>
- <string>Editor</string>
- <key>CFBundleURLName</key>
- <string>REVERSED_CLIENT_ID</string>
- <key>CFBundleURLSchemes</key>
- <array>
- <string>$REVERSED_CLIENT_ID</string>
- </array>
- </dict>
- </array>
- </config-file>
- <!-- Google+ framework -->
- <!-- <framework src="src/ios/libs/GooglePlus.framework" custom="true" />-->
- <framework src="src/ios/libs/GoogleOpenSource.framework" custom="true" />
- <framework src="src/ios/libs/GoogleSignIn.framework" custom="true" />
- <!-- System frameworks -->
- <framework src="AddressBook.framework" weak="true" />
- <framework src="CoreMotion.framework" weak="true" />
- <framework src="CoreText.framework" weak="true" />
- <framework src="CoreLocation.framework" weak="true" />
- <framework src="MediaPlayer.framework" weak="true" />
- <framework src="Security.framework" weak="true" />
- <framework src="StoreKit.framework" weak="true" />
- <framework src="SystemConfiguration.framework" weak="true" />
- </platform>
- </plugin>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement