@capgo/capacitor-social-login 8.2.9 → 8.2.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -30,12 +30,12 @@ android {
30
30
  versionCode 1
31
31
  versionName "1.0"
32
32
  testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
33
+ consumerProguardFiles 'consumer-proguard-rules.pro'
33
34
  }
34
35
  buildTypes {
35
36
  release {
36
37
  minifyEnabled false
37
38
  proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
38
- consumerProguardFiles 'consumer-proguard-rules.pro'
39
39
  }
40
40
  }
41
41
  lintOptions {
@@ -0,0 +1,36 @@
1
+ # Consumer ProGuard rules for @capgo/capacitor-social-login
2
+ # These rules are automatically applied to apps that depend on this library
3
+
4
+ # Keep all plugin classes and their members
5
+ -keep class ee.forgr.capacitor.social.login.** { *; }
6
+ -keepclassmembers class ee.forgr.capacitor.social.login.** { *; }
7
+
8
+ # Keep inner classes (critical for OAuth2Provider config and token storage)
9
+ -keep class ee.forgr.capacitor.social.login.**$* { *; }
10
+
11
+ # Keep Activities for Intent resolution
12
+ -keep class ee.forgr.capacitor.social.login.*Activity { *; }
13
+
14
+ # Capacitor integration
15
+ -keep class com.getcapacitor.** { *; }
16
+ -keepclassmembers class com.getcapacitor.** { *; }
17
+
18
+ # OkHttp (used for OAuth2/Twitter token endpoints)
19
+ -dontwarn okhttp3.**
20
+ -dontwarn okio.**
21
+ -keep class okhttp3.** { *; }
22
+ -keep interface okhttp3.** { *; }
23
+
24
+ # JWT Decode library (used for Apple Sign-In)
25
+ -keep class com.auth0.android.jwt.** { *; }
26
+
27
+ # Google Sign-In (if included)
28
+ -keep class com.google.android.gms.auth.** { *; }
29
+ -keep class com.google.android.libraries.identity.googleid.** { *; }
30
+ -keep class androidx.credentials.** { *; }
31
+
32
+ # Facebook SDK (if included)
33
+ -keep class com.facebook.** { *; }
34
+
35
+ # CustomTabs for Apple Sign-In
36
+ -keep class androidx.browser.customtabs.** { *; }
@@ -18,7 +18,7 @@ import org.json.JSONObject;
18
18
  @CapacitorPlugin(name = "SocialLogin")
19
19
  public class SocialLoginPlugin extends Plugin {
20
20
 
21
- private final String pluginVersion = "8.2.9";
21
+ private final String pluginVersion = "8.2.11";
22
22
 
23
23
  public static String LOG_TAG = "CapgoSocialLogin";
24
24
 
@@ -15,7 +15,7 @@ import GoogleSignIn
15
15
  */
16
16
  @objc(SocialLoginPlugin)
17
17
  public class SocialLoginPlugin: CAPPlugin, CAPBridgedPlugin {
18
- private let pluginVersion: String = "8.2.9"
18
+ private let pluginVersion: String = "8.2.11"
19
19
  public let identifier = "SocialLoginPlugin"
20
20
  public let jsName = "SocialLogin"
21
21
  public let pluginMethods: [CAPPluginMethod] = [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/capacitor-social-login",
3
- "version": "8.2.9",
3
+ "version": "8.2.11",
4
4
  "description": "All social logins in one plugin",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",
@@ -15,7 +15,8 @@
15
15
  "ios/Tests",
16
16
  "Package.swift",
17
17
  "CapgoCapacitorSocialLogin.podspec",
18
- "scripts/configure-dependencies.js"
18
+ "scripts/configure-dependencies.js",
19
+ "android/consumer-proguard-rules.pro"
19
20
  ],
20
21
  "author": "Martin Donadieu <martin@capgo.app>",
21
22
  "license": "MPL-2.0",