receiveKakaoScheme function

void receiveKakaoScheme(
  1. dynamic callback(
    1. Uri
    )?
)

KO: 앱을 커스텀 URL 스킴 호출로 실행할 때 URL 전달
EN: Pass the URL when launching a app with a custom URL scheme

Implementation

void receiveKakaoScheme(Function(Uri)? callback) {
  CommonPlatform.instance.setDeepLinkCallback(
    (url) => callback?.call(Uri.parse(url)),
  );
}