diff --git a/packages/share/android/src/oldarch/KakaoShareSpec.kt b/packages/share/android/src/oldarch/KakaoShareSpec.kt index 0e55822..a5c6b53 100644 --- a/packages/share/android/src/oldarch/KakaoShareSpec.kt +++ b/packages/share/android/src/oldarch/KakaoShareSpec.kt @@ -3,60 +3,11 @@ package net.mjstudio.rnkakao.share import com.facebook.react.bridge.Promise import com.facebook.react.bridge.ReactApplicationContext import com.facebook.react.bridge.ReactContextBaseJavaModule +import com.facebook.react.bridge.ReadableArray import com.facebook.react.bridge.ReadableMap abstract class KakaoShareSpec internal constructor(context: ReactApplicationContext) : ReactContextBaseJavaModule(context) { - abstract fun shareCustom( - templateId: Double, - useWebBrowserIfKakaoTalkNotAvailable: Boolean, - templateArgs: ReadableMap?, - serverCallbackArgs: ReadableMap?, - promise: Promise, - ) - - abstract fun shareFeedTemplate( - value: ReadableMap, - useWebBrowserIfKakaoTalkNotAvailable: Boolean, - serverCallbackArgs: ReadableMap?, - promise: Promise, - ) - - abstract fun shareListTemplate( - value: ReadableMap, - useWebBrowserIfKakaoTalkNotAvailable: Boolean, - serverCallbackArgs: ReadableMap?, - promise: Promise, - ) - - abstract fun shareLocationTemplate( - value: ReadableMap, - useWebBrowserIfKakaoTalkNotAvailable: Boolean, - serverCallbackArgs: ReadableMap?, - promise: Promise, - ) - - abstract fun shareCommerceTemplate( - value: ReadableMap, - useWebBrowserIfKakaoTalkNotAvailable: Boolean, - serverCallbackArgs: ReadableMap?, - promise: Promise, - ) - - abstract fun shareTextTemplate( - value: ReadableMap, - useWebBrowserIfKakaoTalkNotAvailable: Boolean, - serverCallbackArgs: ReadableMap?, - promise: Promise, - ) - - abstract fun shareCalendarTemplate( - value: ReadableMap, - useWebBrowserIfKakaoTalkNotAvailable: Boolean, - serverCallbackArgs: ReadableMap?, - promise: Promise, - ) - abstract fun shareOrSendMeOrSendFriendOrWhatever( sendType: String, templateType: String,