Passiolife / Flutter-Nutrition-AI-Module

Plug-and-Play
Other
2 stars 0 forks source link

Refactor the v3 FoodRecord #13

Closed marinPassio closed 1 month ago

marinPassio commented 7 months ago

iOS Food Record Android Food Record

sahilmind commented 7 months ago

@marinPassio I am unable to access the iOS Food Record source code. Could you grant me access to the iOS-Demo-App so I can review the implementation? Currently I am replicating what's done in Android. While reviewing the nutrientsSelectedSize() method in FoodRecordIngredient.kt I found it uses the referenceNutrients constructor. You suggested implementing only two constructors within the SDK but the mentioned constructor is not implemented on the Flutter side. I think we should have to add 3rd constructor.

marinPassio commented 7 months ago

@sahilmind Let's add that constructor as well. You should have access now to the iOS-Demo-App repo