-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathplugin.xml
More file actions
122 lines (99 loc) · 4.42 KB
/
plugin.xml
File metadata and controls
122 lines (99 loc) · 4.42 KB
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
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<plugin id="com.outsystems.plugins.sociallogins" version="2.1.6" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
<name>OSSocialLogins</name>
<description>OutSystems Template for Cordova Plugin</description>
<author>OutSystems Inc</author>
<js-module name="OSSocialLogins" src="www/OSSocialLogins.js">
<clobbers target="cordova.plugins.OSSocialLogins"/>
</js-module>
<platform name="android">
<hook type="after_prepare" src="hooks/androidCopyPreferences.js"/>
<config-file parent="/*" target="res/xml/config.xml">
<feature name="OSSocialLogins">
<param name="android-package" value="com.outsystems.plugins.sociallogins.OSSocialLogins"/>
</feature>
<preference name="GradlePluginKotlinEnabled" value="true" />
<preference name="GradlePluginKotlinCodeStyle" value="official" />
<preference name="AndroidXEnabled" value="true"/>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<meta-data android:name="com.facebook.sdk.ApplicationId" android:value="@string/facebook_app_id" />
<meta-data android:name="com.facebook.sdk.ClientToken" android:value="@string/facebook_client_token" />
<activity
android:name="com.outsystems.plugins.sociallogins.OAuthActivity"
android:exported="true"
android:launchMode="singleTop"
android:theme="@style/TransparentTheme">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="OAUTH_DEEPLINK_SCHEME" />
<data android:host="OAUTH_DEEPLINK_HOST" />
<data android:path="OAUTH_DEEPLINK_PATH" />
</intent-filter>
</activity>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest">
<queries>
<intent>
<action android:name=
"android.support.customtabs.action.CustomTabsService" />
</intent>
</queries>
</config-file>
<source-file src="src/android/com/outsystems/plugins/sociallogins/OSSocialLogins.kt" target-dir="app/src/main/kotlin/com/outsystems/plugins/sociallogins"/>
<framework src="src/android/build.gradle" custom="true" type="gradleReference" />
</platform>
<platform name="ios">
<!-- Hooks -->
<hook type="before_plugin_install" src="hooks/install_prerequisites.js"/>
<hook type="after_prepare" src="hooks/iOSCopyPreferences.js" />
<config-file parent="/*" target="config.xml">
<feature name="OSSocialLogins">
<param name="ios-package" value="OSSocialLogins"/>
</feature>
<preference name="SwiftVersion" value="5" />
</config-file>
<config-file target="*-Info.plist" parent="LSApplicationQueriesSchemes">
<array>
<string>fbapi</string>
</array>
</config-file>
<!-- Entitlements -->
<config-file target="*/Entitlements-Debug.plist" parent="com.apple.developer.applesignin">
<array>
<string>Default</string>
</array>
</config-file>
<config-file target="*/Entitlements-Release.plist" parent="com.apple.developer.applesignin">
<array>
<string>Default</string>
</array>
</config-file>
<!-- iOS Source Files -->
<source-file src="src/ios/OSSocialLogins.swift" />
<header-file src="src/ios/AppDelegate+OSSocialLogins.h" />
<source-file src="src/ios/AppDelegate+OSSocialLogins.m" />
<framework src="src/ios/frameworks/OSSocialLoginsLib.xcframework" embed="true" custom="true" />
<podspec>
<config>
<source url="https://cdn.cocoapods.org/"/>
</config>
<pods use-frameworks="true">
<pod name="FBSDKLoginKit" spec="17.0.0" />
<pod name="GoogleSignIn" spec="7.1.0" />
</pods>
</podspec>
</platform>
<platform name="browser">
<config-file target="config.xml" parent="/*">
<feature name="OSSocialLogins">
<param name="browser-package" value="OSSocialLogins" />
</feature>
</config-file>
<js-module src="src/browser/OSSocialLoginsProxy.js" name="OSSocialLoginsProxy">
<runs />
</js-module>
</platform>
</plugin>