line / line-sdk-starter-ios-v2

A starter application that demonstrates how to use LINE SDK for iOS.
MIT License
27 stars 9 forks source link

Authenticate window shows every time. #13

Closed selo0530 closed 7 years ago

selo0530 commented 7 years ago

When I call "[[LineSDKLogin sharedInstance] startLogin]", authenticate window shows every time. I clicked "Agree" button already, but authenticate window shows again and again. I set "Keychain Sharing" to enable and I added Keychain Sharing entitlement to my entitlement file. Keychain Group is "{appid prefix}.{bundle id}" like "ABCDEFABCD.com.example.myapp". Am I missed something? I wanna see the authenticate window just once. Please save me.

안녕하세요. 라인 로그인을 실행하면 인증 창이 로그인을 할 때 마다 나와요. 이미 인증 창에서 동의를 눌렀는데도 로그인을 할 대 마다 인증 창이 떠요. Keychaing Sharing 항목은 이미 켰고요. 키채인 그룹도 "ABCDEFABCD.com.example.myapp" 처럼 잘 설정했습니다. 제가 놓친부분이 있을까요?

selo0530 commented 7 years ago

[solved] I called verifyToken method instead of startLogin. verifyToken method returned result and I could get accessToken without authenticate window.