alpha-wallet-ios icon indicating copy to clipboard operation
alpha-wallet-ios copied to clipboard

Build a throwaway App Clip target

Open hboon opened this issue 3 years ago • 9 comments
trafficstars

  • Figure out what's the current uncompressed app size
  • How far we need to slim down
  • How much effort if we maintain it (i.e. refactor the app to get it working and any effect on future work)

https://developer.apple.com/documentation/app_clips/creating_an_app_clip_with_xcode

hboon avatar Jan 24 '22 07:01 hboon

@hboon What does this App Clip do?

eviltofu avatar Jan 25 '22 07:01 eviltofu

Ultimately? Not exactly sure.

See how much of the app can fit in and what doesn't? Is it code and frameworks (which means we have to drop functionality) or is it images (maybe we can resize them or load on demand).

hboon avatar Jan 26 '22 02:01 hboon

Variant: AlphaWallet.ipa Supported variant descriptors: Universal App + On Demand Resources size: 20.3 MB compressed, 50.6 MB uncompressed App size: 20.3 MB compressed, 50.6 MB uncompressed On Demand Resources size: Zero KB compressed, Zero KB uncompressed

eviltofu avatar Feb 04 '22 07:02 eviltofu

@hboon Again, what does this thing do? Load Wallets and display the total sum of the wallet?

eviltofu avatar Feb 04 '22 07:02 eviltofu

Ideally everything. Is there anything we can do to trim it down without losing functionality?

hboon avatar Feb 04 '22 10:02 hboon

Ideally everything. Is there anything we can do to trim it down without losing functionality?

@hboon We can't put the entire app into an app clip. We have to choose one functionality to implement.

eviltofu avatar Mar 28 '22 00:03 eviltofu

Can you give try removing something arbitrary and form a theory to guide how much/how a feature contributes to space so we can see is the constraint?

hboon avatar Mar 28 '22 00:03 hboon

Can you give try removing something arbitrary and form a theory to guide how much/how a feature contributes to space so we can see is the constraint?

@hboon

From the Apple documentation - An App Clip is a small part of your app that’s discoverable at the moment it’s needed and lets people complete a quick task from your app — even before installing your full app.

I would suggest being able to select a wallet and view it (if we can access the saved wallets from the clip).

eviltofu avatar Mar 28 '22 01:03 eviltofu

From the Apple documentation - An App Clip is a small part of your app that’s discoverable at the moment it’s needed and lets people complete a quick task from your app — even before installing your full app.

Yes, but I would like to know how far we can push this so we know the constraints and can discover what we can do with it. If we can fit the entire app, that's the best and easiest to maintain, otherwise, how much do we have to remove and how can we estimate it?

hboon avatar Mar 28 '22 03:03 hboon