-
-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Embed assets in Android APKs #82
Comments
flutter uses option 1. but open to suggestions. I don't have a strong opinion, but will probably need to look into this problem soon for my own app |
I'd be fine to do 1. since that's nice-to-have anyway for smaller assets and quick solutions, before diving into the crevices of app bundles. OBB seems to be deprecated, better not spend time on that. |
I think there are two valid ways of doing this. You embed all assets in the binary using See how to handle this on macos here [0] with ios likely being very similar. |
closing this for now as out of scope |
Using it for my own tracking purposes. |
Are there any news on this? |
@NiklasEi I'm still using my This is only option 1. though; separately I dearly wish to add native |
Awesome, just what I needed! I went ahead and added support for globs in asset paths: MarijnS95#1
|
Hi, I'm trying to add support to manganis (dioxus' new linker-based asset solution) One of the things we need to do is dynamically canonicalize the assets per-platform. I'm trying to get that working with xbuild. I see #122 but no examples on reading from that directory. Is it just |
@jkelleyrtp that's about what As documented, only the if you need anything more sophisticated (i.e. an optional |
Before diving into the implementation for this, what's the best way to embed assets on Android nowadays?
.apk
and read (or map if packed uncompressed) them at runtime usingAAsset
;@dvc94ch Does
xbuild
support anything for this nowadays, and if not, what do you reckon is the best way forward?The text was updated successfully, but these errors were encountered: