com.taptap.sdk.login 4.3.0 → 4.3.2
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.
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<repositories>
|
|
6
6
|
<repository>https://repo.maven.apache.org/maven2</repository>
|
|
7
7
|
</repositories>
|
|
8
|
-
<androidPackage spec="com.taptap.sdk:tap-login-unity:4.3.
|
|
8
|
+
<androidPackage spec="com.taptap.sdk:tap-login-unity:4.3.2"/>
|
|
9
9
|
</androidPackages>
|
|
10
10
|
|
|
11
11
|
<!-- iOS Cocoapod dependencies can be specified by each iosPod element. -->
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
<source>https://github.com/CocoaPods/Specs.git</source>
|
|
15
15
|
</sources>
|
|
16
16
|
<iosPod name="Kingfisher" version="~> 6.0" bitcodeEnabled="false" addToAllTargets="false"/>
|
|
17
|
-
<iosPod name="TapTapLoginSDK" version="~> 4.3.
|
|
17
|
+
<iosPod name="TapTapLoginSDK" version="~> 4.3.2" bitcodeEnabled="false" addToAllTargets="false"/>
|
|
18
18
|
</iosPods>
|
|
19
19
|
</dependencies>
|
|
20
20
|
|
|
@@ -30,10 +30,10 @@ namespace TapSDK.Login
|
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
public Task<TapTapAccount>
|
|
33
|
+
public Task<TapTapAccount> LoginWithScopes(string[] scopes) => TapTapLoginManager.Instance.Login(scopes);
|
|
34
34
|
|
|
35
35
|
public void Logout() => TapTapLoginManager.Instance.Logout();
|
|
36
36
|
|
|
37
|
-
public Task<TapTapAccount>
|
|
37
|
+
public Task<TapTapAccount> GetCurrentTapAccount() => TapTapLoginManager.Instance.GetCurrentAccount();
|
|
38
38
|
}
|
|
39
39
|
}
|
|
@@ -85,8 +85,7 @@ namespace TapSDK.Login.Internal
|
|
|
85
85
|
tcs.TrySetException(e);
|
|
86
86
|
},
|
|
87
87
|
OnClose = () => {
|
|
88
|
-
tcs.
|
|
89
|
-
new TapException((int) TapErrorCode.ERROR_CODE_LOGIN_CANCEL, "Login Cancel"));
|
|
88
|
+
tcs.TrySetCanceled();
|
|
90
89
|
}
|
|
91
90
|
};
|
|
92
91
|
TapSDK.UI.UIManager.Instance.OpenUI<LoginPanelController>("Prefabs/TapLogin/LoginPanel", openParams);
|
package/package.json
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"name": "com.taptap.sdk.login",
|
|
3
3
|
"displayName": "TapTapSDK Login",
|
|
4
4
|
"description": "TapTapSDK Login",
|
|
5
|
-
"version": "4.3.
|
|
5
|
+
"version": "4.3.2",
|
|
6
6
|
"unity": "2019.4",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"com.taptap.sdk.core": "4.3.
|
|
9
|
+
"com.taptap.sdk.core": "4.3.2"
|
|
10
10
|
}
|
|
11
11
|
}
|