socure-inc / socure-docv-sdk-ios

iOS library for the Socure's Document Verification Product - DocV
Other
7 stars 4 forks source link

Reduce framework install footprint #21

Open empowerRyanFerrell opened 1 year ago

empowerRyanFerrell commented 1 year ago

We'd love to include your framework in an App Clip onboarding experience. Yet, an App Clip's install footprint is limited. Would you be open to reducing the size of this framework or shipping a second lightweight SPM target?

  1. Could all or most of the five ML models be downloaded and compiled in the background?

    • Quick example from Apple
    • A bootstrap method would let us trigger or schedule the process well before your SDK screen appears during an onboarding sequence, minimizing impact on the user
  2. Could the system font replace OpenSans Regular and Bold?

Install footprint after symbol stripping

MB
Whole SocureDocV.framework 4.7
5 .mlmodelc 1.9
OpenSans-Regular/-Bold.ttf 0.2
Screenshot 2023-08-24 at 12 30 30 AM
empowerRyanFerrell commented 10 months ago

Could a size reduction fit on the 2024 roadmap?

rburunkayaSocure commented 10 months ago

Hey @empowerRyanFerrell, we are going to check the request and get back to you.