line / line-sdk-unity

Provides a modern way of implementing LINE APIs in Unity games, for iOS and Android.
https://developers.line.biz/
Apache License 2.0
117 stars 24 forks source link

#48 fix android get current token null issue #49

Closed plateaukao closed 1 year ago

plateaukao commented 1 year ago

This fixes #48

Issue

When calling LineSDK.Instance.CurrentAccessToken, it will cause exception.

Solution

return empty string if token is not available from LINE SDK.

CLAassistant commented 1 year ago

CLA assistant check
All committers have signed the CLA.

onevcat commented 1 year ago

LGTM!

Can you also compile the line-sdk-unity-wrapper-release.aar and contain the new version in the PR? It should be located under the Assets/Plugins/Android folder.

onevcat commented 1 year ago

LGTM and I can confirm this fix! Thank you.