From fd6b8520addb44a6b43381cd07fae3045252ec84 Mon Sep 17 00:00:00 2001 From: yhostc Date: Sun, 12 Nov 2023 10:45:31 +0800 Subject: [PATCH 1/2] Update appleSk2.ts fixed issue for #2607 --- src/types/appleSk2.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types/appleSk2.ts b/src/types/appleSk2.ts index 466792a1b..87a5d15aa 100644 --- a/src/types/appleSk2.ts +++ b/src/types/appleSk2.ts @@ -7,7 +7,7 @@ import type { SubscriptionIosPeriod, } from '.'; import type * as Apple from './apple'; -import {SubscriptionPlatform} from '.'; +import {SubscriptionPlatform} from './'; export type SubscriptionPeriod = { unit: 'day' | 'week' | 'month' | 'year'; From 348339d6c5b85ce0bf9287313562bc9ad22dc0f9 Mon Sep 17 00:00:00 2001 From: yhostc Date: Sun, 19 Nov 2023 20:28:47 +0800 Subject: [PATCH 2/2] style: swift lint --- ios/RNIapIosSk2.swift | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ios/RNIapIosSk2.swift b/ios/RNIapIosSk2.swift index 35a092dc1..15003f891 100644 --- a/ios/RNIapIosSk2.swift +++ b/ios/RNIapIosSk2.swift @@ -277,10 +277,6 @@ class RNIapIosSk2: RCTEventEmitter, Sk2Delegate { delegate.stopObserving() } - override func addListener(_ eventName: String?) { - super.addListener(eventName) - } - /** "iap-transaction-updated" is unique to Sk2. "iap-promoted-product" is only avaiable on Sk1