페이지 이동경로
  • Docs>
  • Flutter>
  • Migration

Flutter

Migration

This document guides the changes for Kakao SDK for Flutter 1.0.0 version.

Major changes

  • Adapted multi-package structure.
  • Added WebSharerClient to kakao_flutter_sdk_share package, so that Kakao Talk messages can be shared via a web view or default browser if Kakao Talk is not installed on a device.
  • Removed Daum Search API, Local API, Push Notification API.
  • Changed a method to initialize the Flutter SDK from KakaoContext to KakaoSdk.init().
  • Changed a way of handling tokens to be deleted when a user is logged out or unlinked from an app.
  • Changed KakaoClientError, which occurs when an access token or refresh token expires, to KakaoAuthError or KakaoApiError.
  • Changed method names to keep consistency in names with the Kakao SDK for Android and iOS.
  • Modified some models.

Changes in method name

Kakao Talk

Version 0.9.0 or lower Version 1.0.0 or higher
customMemo sendCustomMemo
defaultMemo sendDefaultMemo
customMessage sendCustomMessage
defaultMessage sendDefaultMessage
scrapMemo sendScrapMemo
scrapMessage sendScrapMessage
plusFriends channels
channelAddUrl addChannelUrl

Kakao Talk Sharing

Version 0.9.0 or lower Version 1.0.0 to 1.1.1 Version 1.2.0 or higher
isKakaoLinkAvailable isKakaoLinkAvailable isKakaoTalkSharingAvailable
defaultWithWeb defaultTemplateUri makeDefaultUrl
customWithWeb customTemplateUri makeCustomUrl
scrapWithWeb scrapTemplateUri makeScrapUrl
customWithTalk customTemplate shareCustom
defaultWithTalk defaultTemplate shareDefault
scrapWithTalk scrapTemplate shareScrap

Changes in model

User

  • Changed the enum values of AgeRange in the user package(Ex: TEENage_15_19, TWENTIESage_20_29)

Friends

  • Added FriendsContext to retrieve the friend list by pages
  • Added Order enum to the FriendsContext class

DefaultTemplate

  • Changed the type of properties in ItemContent
    • profileImageUrl: String?Uri?
    • titleImageUrl: String?Uri?

NaviCoordType

  • Changed the property name
    • NaviCoordTypeCoordType