isKakaoTalkSharingAvailable method

Future<bool> isKakaoTalkSharingAvailable()

KO: 카카오톡 공유 가능 여부 확인
EN: Checks whether the Kakao Talk Sharing is available

Implementation

Future<bool> isKakaoTalkSharingAvailable() async {
  var arguments = {};
  if (kIsWeb) {
  } else if (_platform.isIOS) {
    arguments.addAll({
      'talkSharingScheme':
          '${KakaoSdk.platforms.ios.talkSharingScheme}://send'
    });
  }
  return await _channel.invokeMethod(
          CommonConstants.isKakaoTalkSharingAvailable, arguments) ??
      false;
}