@umituz/react-native-ai-generation-content 1.23.4 → 1.23.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umituz/react-native-ai-generation-content",
3
- "version": "1.23.4",
3
+ "version": "1.23.5",
4
4
  "description": "Provider-agnostic AI generation orchestration for React Native with result preview components",
5
5
  "main": "src/index.ts",
6
6
  "types": "src/index.ts",
@@ -107,10 +107,26 @@ export const CoupleFutureWizard: React.FC<CoupleFutureWizardProps> = ({
107
107
 
108
108
  const renderCurrentStep = useCallback(() => {
109
109
  const step = flow.currentStep;
110
- if (!step) return null;
110
+ if (!step) {
111
+ if (typeof __DEV__ !== "undefined" && __DEV__) {
112
+ console.log("[CoupleFutureWizard] renderCurrentStep: NO STEP");
113
+ }
114
+ return null;
115
+ }
116
+
117
+ if (typeof __DEV__ !== "undefined" && __DEV__) {
118
+ console.log("[CoupleFutureWizard] renderCurrentStep", {
119
+ stepId: step.id,
120
+ stepType: step.type,
121
+ stepIndex: flow.currentStepIndex,
122
+ });
123
+ }
111
124
 
112
125
  switch (step.type) {
113
126
  case StepType.SCENARIO_SELECTION:
127
+ if (typeof __DEV__ !== "undefined" && __DEV__) {
128
+ console.log("[CoupleFutureWizard] Rendering SCENARIO_SELECTION (null)");
129
+ }
114
130
  return null; // Rendered by parent via CategoryNavigationContainer
115
131
 
116
132
  case StepType.SCENARIO_PREVIEW:
@@ -140,6 +156,15 @@ export const CoupleFutureWizard: React.FC<CoupleFutureWizardProps> = ({
140
156
  : translations.partnerB;
141
157
  const partnerConfig = isPartnerA ? config.partnerA : config.partnerB;
142
158
 
159
+ if (typeof __DEV__ !== "undefined" && __DEV__) {
160
+ console.log("[CoupleFutureWizard] Rendering PartnerStepScreen", {
161
+ isPartnerA,
162
+ stepId: step.id,
163
+ hasConfig: !!partnerConfig,
164
+ hasTranslations: !!partnerTranslations,
165
+ });
166
+ }
167
+
143
168
  return (
144
169
  <PartnerStepScreen
145
170
  key={isPartnerA ? "a" : "b"}