Skip to content

Commit e79277d

Browse files
committed
Update for FB
1 parent 9b1e4c8 commit e79277d

7 files changed

Lines changed: 5181 additions & 4949 deletions

File tree

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
## 4.0.0
2+
3+
- Upgraded Android dependencies: 18.+ for Facebook SDK, 21.4.0 for Google Sign In.
4+
- Upgraded iOS dependencies: 18.+ for Facebook SDK, 9.+ for Google Sign In.
5+
6+
### Notes
7+
8+
Some functionality has been disabled due to SDK changes.
9+
10+
For Google ServerClientId, RequestProfile, HostedDomain and ExtraScopes won't be used.
11+
Please use the values in Info.plist `GIDServerClientID`, `GIDHostedDomain` and `GIDOpenIDRealm`. `RequestProfile` and `ExtraScopes` currently don't have an alternative.
12+
113
## 3.1.0
214

315
### Changed

demo-angular/App_Resources/Android/app.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
android {
1313
ndkVersion "22.1.7171670"
1414
defaultConfig {
15-
minSdkVersion 17
15+
minSdkVersion 21
1616
generatedDensities = []
1717
}
1818
aaptOptions {

demo-angular/App_Resources/Android/src/main/AndroidManifest.xml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,10 @@
2525
<meta-data android:name="com.facebook.sdk.ApplicationId"
2626
android:value="@string/facebook_app_id"/>
2727

28-
<activity android:name="com.facebook.FacebookActivity"
28+
<meta-data android:name="com.facebook.sdk.ClientToken"
29+
android:value="@string/facebook_client_token"/>
30+
31+
<activity android:name="com.facebook.FacebookActivity"
2932
android:configChanges=
3033
"keyboard|keyboardHidden|screenLayout|screenSize|orientation"
3134
android:label="@string/app_name" />
@@ -44,7 +47,8 @@
4447
android:name="com.tns.NativeScriptActivity"
4548
android:label="@string/title_activity_kimera"
4649
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|smallestScreenSize|screenLayout|locale|uiMode"
47-
android:theme="@style/LaunchScreenTheme">
50+
android:theme="@style/LaunchScreenTheme"
51+
android:exported="true">
4852

4953
<meta-data android:name="SET_THEME_ON_LAUNCH" android:resource="@style/AppTheme" />
5054

demo-angular/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@
1717
},
1818
"include": ["src/tests/**/*.ts", "src/**/*.ios.ts", "src/**/*.android.ts", "../src/**/*.ts"],
1919
"files": ["./src/main.ts", "./references.d.ts", "./src/polyfills.ts"],
20-
"exclude": ["node_modules", "platforms", "e2e"]
20+
"exclude": ["node_modules", "platforms", "e2e", "../src/**/*.d.ts"]
2121
}

src/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@klippa/nativescript-login",
3-
"version": "3.1.0",
3+
"version": "4.0.0",
44
"description": "The best way to do social logins in NativeScript, a plugin with modern SDKs to allow authentication to various providers with access to all SDK features",
55
"main": "login",
66
"typings": "index.d.ts",
-13.7 KB
Binary file not shown.

src/typings/android.d.ts

Lines changed: 5160 additions & 4944 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)