kakao_flutter_sdk: ^1.9.6
디벨로퍼스 앱 ID: 1205297 (오프렌다)
안녕하세요. supabase 연동해서 앱개발을 하고 있는데 로그인이 안되어 문의드립니다.
처음에는 supabase에서 웹 리다이렉트 방식으로 구현을 했다가, 애플 리젝 사유가 되어서 앱내 로그인이 가능하도록 하려고
kakao_flutter_sdk 를 추가했습니다.
Future<AppUser?> signInWithKakao() async {
try {
OAuthToken token;
if (await isKakaoTalkInstalled()) {
try {
token = await UserApi.instance.loginWithKakaoTalk();
} catch (error) {
token = await UserApi.instance.loginWithKakaoAccount();
}
} else {
token = await UserApi.instance.loginWithKakaoAccount();
}
// 사용자 정보 요청
final kakaoUser = await UserApi.instance.me();
이런식으로 가상 기기로 빌드할 때는 저 시스템 다이얼로그가 잘 뜨는데,
제 아이패드로 빌드하면 저 다이얼로그가 뜨자마자 사라집니다.
(예전에 만든 다른 앱은 둘다 잘 뜹니다)
xcode 에는 아래 메시지가 뜨는 것 같습니다.
Attempting to load the view of a view controller while it is deallocating is not allowed and may result in undefined behavior (<SFAuthenticationViewController: 0x106668000>)
도와주실 수 있을까요?