You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
App Clips have a size limit of 50MB. To measure the App Clip size, see here
After removing a few things and setting up .dat files to be downloaded with zkeys, got it slightly below 50 MB. Details here at the bottom. Progress on this branch app-clip-optis-playground
Note that I had to remove the nice Lottie animation on MRZ scanning, which we should bring back.
We should strive to make the App Clip smaller. Possible steps:
Remove parts of OpenSSL (10.6 MB) or SwiftyTesseract (5.6 MB)
Switch to a witness generator like circom-witness-rs that doesn't do static bundling
Also, we should distinguish between App and App Clip in the JS code to:
Selectively bundle things like Lottie in the App but not in the App Clip
Remove some support for some sig algs (without witnesscalcs, it's 33 MB uncompressed)
To ensure a fast launch experience, App Clips must be small:
If you make your App Clip available on devices running iOS 15 and earlier, the uncompressed App Clip binary can be up to 10 MB in size.
If you make your App Clip available on devices running iOS 16 and later, the uncompressed App Clip binary can be up to 15 MB in size.
If you make your App Clip available on devices running iOS 17 and later, the uncompressed App Clip binary can be up to 50 MB in size if it meets the following conditions:
The App Clip only supports digital invocations — for example, from your website or Spotlight search — and not from physical invocations like App Clip Codes, QR codes, or NFC tags
People use your App Clip in situations where a reliable internet connection is likely, for example, at home
Your App Clip doesn’t support iOS versions prior to iOS 17
This explains why our app clip only opens through links and not on QR codes.
This means as long as it is not less then 20MB, we need to have an extra page that prompts the user to open the app clip.
The text was updated successfully, but these errors were encountered:
App Clips have a size limit of 50MB. To measure the App Clip size, see here
After removing a few things and setting up
.dat
files to be downloaded with zkeys, got it slightly below 50 MB. Details here at the bottom. Progress on this branch app-clip-optis-playgroundNote that I had to remove the nice Lottie animation on MRZ scanning, which we should bring back.
We should strive to make the App Clip smaller. Possible steps:
Also, we should distinguish between App and App Clip in the JS code to:
EDIT:
From Apple docs:
This explains why our app clip only opens through links and not on QR codes.
This means as long as it is not less then 20MB, we need to have an extra page that prompts the user to open the app clip.
The text was updated successfully, but these errors were encountered: