@capgo/capacitor-social-login 8.4.4 → 8.5.0

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.
@@ -16,7 +16,7 @@ import GoogleSignIn
16
16
  */
17
17
  @objc(SocialLoginPlugin)
18
18
  public class SocialLoginPlugin: CAPPlugin, CAPBridgedPlugin {
19
- private let pluginVersion: String = "8.4.4"
19
+ private let pluginVersion: String = "8.5.0"
20
20
  public let identifier = "SocialLoginPlugin"
21
21
  public let jsName = "SocialLogin"
22
22
  private static let userCancelledCode = "USER_CANCELLED"
@@ -510,8 +510,12 @@ public class SocialLoginPlugin: CAPPlugin, CAPBridgedPlugin {
510
510
  call.reject(error.localizedDescription)
511
511
  }
512
512
  })
513
+ case "google#createRestoreCredential", "google#getRestoreCredential", "google#clearRestoreCredential":
514
+ call.reject("Google Restore Credentials are only available on Android")
513
515
  default:
514
- call.reject("Invalid call. Supported calls: facebook#getProfile, facebook#requestTracking")
516
+ call.reject(
517
+ "Invalid call. Supported calls: facebook#getProfile, facebook#requestTracking"
518
+ )
515
519
  }
516
520
  }
517
521
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/capacitor-social-login",
3
- "version": "8.4.4",
3
+ "version": "8.5.0",
4
4
  "description": "All social logins in one plugin",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",