insulin_calculator icon indicating copy to clipboard operation
insulin_calculator copied to clipboard

iPhone 12 PRO app compatibility

Open giuliettinicola opened this issue 3 years ago • 1 comments

By compiling the program in xcode I can install it correctly on my device (iPhone 12 PRO). The front-end application starts correctly but the device is recognized as incompatible despite being equipped with a depth camera. The app start and the screen shows "Sorry, but your device is unsupported". Do you know what the possible solutions might be? The app does not return any error messages. Thanks so much for the support

giuliettinicola avatar Dec 12 '21 16:12 giuliettinicola

Sorry for the late reply. This project is not actively maintained for now. I think the reason why it indicates the device is unsupported is that an error is thrown from https://github.com/Frost-Lee/insulin_calculator/blob/f1d2576e91703668015f1db8e997111ec8fe4254/insulin_calculator/insulin_calculator/Model/EstimateImageCaptureManager.swift#L132. Maybe Apple updated their camera API. You could try commenting the error handling lines and see which error is thrown. I'll also investigate it when I have free time.

Frost-Lee avatar Aug 16 '22 05:08 Frost-Lee