@@ -30,6 +30,57 @@ of this software and associated documentation files (the "Software"), to deal
3030import com .facebook .react .bridge .Promise ;
3131import com .facebook .react .bridge .ReactApplicationContext ;
3232import com .facebook .react .bridge .ReactContextBaseJavaModule ;
33+ import com .facebook .react .turbomodule .core .interfaces .TurboModule ;
34+ #if RCT_NEW_ARCH_ENABLED
35+ import com .facebook .react .bridge .ReactApplicationContext ;
36+ import com .facebook .react .bridge .ReactMethod ;
37+ import com .facebook .react .bridge .Promise ;
38+ import com .facebook .react .module .annotations .ReactModule ;
39+ import com .facebook .react .bridge .ReadableMap ;
40+ import com .facebook .react .bridge .WritableNativeMap ;
41+ import com .facebook .react .bridge .UiThreadUtil ;
42+ import com .facebook .react .bridge .ReadableArray ;
43+ import com .facebook .react .bridge .ReactNoCrashSoftException ;
44+ import com .facebook .react .module .annotations .ReactModuleList ;
45+ import com .facebook .react .bridge .NativeModule ;
46+ import com .facebook .react .turbomodule .core .interfaces .TurboModule ;
47+ import com .facebook .react .fabric .events .EventDispatcher ;
48+ import com .facebook .react .uimanager .events .EventDispatcherImpl ;
49+ import com .facebook .react .codegen .module .JavaModuleWrapper ;
50+ import com .facebook .react .bridge .ReactMarker ;
51+ import com .facebook .react .modules .core .DeviceEventManagerModule ;
52+ import com .facebook .react .modules .core .DeviceEventManagerModule .RCTDeviceEventEmitter ;
53+ import com .facebook .react .bridge .NoSuchKeyException ;
54+ import com .facebook .react .module .model .ReactModuleInfo ;
55+ import com .facebook .react .module .model .ReactModuleInfoProvider ;
56+ import com .facebook .jni .HybridData ;
57+ import com .facebook .proguard .annotations .DoNotStrip ;
58+ import com .facebook .react .bridge .JavaScriptContextHolder ;
59+ import com .facebook .proguard .annotations .DoNotStripAny ;
60+ import com .facebook .react .bridge .queue .MessageQueueThread ;
61+ import com .facebook .react .bridge .Dynamic ;
62+ import com .facebook .react .bridge .Arguments ;
63+ import com .facebook .react .common .MapBuilder ;
64+ import com .facebook .react .codegen .ReactNativeFeatureFlags ;
65+ import com .facebook .react .bridge .WritableMap ;
66+ import com .facebook .react .bridge .ReactSoftExceptionLogger ;
67+ import com .facebook .react .bridge .Callback ;
68+ import com .facebook .react .modules .core .DeviceEventManagerModule ;
69+ import com .facebook .react .bridge .ActivityEventListener ;
70+ import com .facebook .react .bridge .BaseJavaModule ;
71+ import com .facebook .react .bridge .LifecycleEventListener ;
72+ // Generated spec
73+ import com .facebook .react .bridge .ReactContext ;
74+ import com .facebook .react .module .annotations .ReactModule ;
75+ import com .facebook .react .module .annotations .ReactModuleList ;
76+ import com .facebook .react .turbomodule .core .interfaces .TurboModule ;
77+ import com .facebook .react .bridge .WritableMap ;
78+ import com .facebook .react .bridge .arguments ;
79+ import com .facebook .react .module .model .ReactModuleInfo ;
80+ import com .facebook .react .module .model .ReactModuleInfoProvider ;
81+ import com .facebook .react .module .annotations .ReactModule ;
82+ import com .facebook .react .turbomodule .core .interfaces .TurboModule ;
83+ #endif
3384import com .facebook .react .bridge .ReactMethod ;
3485import com .facebook .react .bridge .ReadableMap ;
3586import com .facebook .react .bridge .WritableNativeMap ;
@@ -39,7 +90,7 @@ of this software and associated documentation files (the "Software"), to deal
3990import java .util .Map ;
4091import java .util .Objects ;
4192
42- public class ShopifyCheckoutSheetKitModule extends ReactContextBaseJavaModule {
93+ public class ShopifyCheckoutSheetKitModule extends ReactContextBaseJavaModule implements TurboModule {
4394 private static final String MODULE_NAME = "ShopifyCheckoutSheetKit" ;
4495
4596 public static Configuration checkoutConfig = new Configuration ();
0 commit comments