Skip to content
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

[USE CASE]: Document android usage #1262

Open
michaelneale opened this issue Feb 19, 2024 · 6 comments
Open

[USE CASE]: Document android usage #1262

michaelneale opened this issue Feb 19, 2024 · 6 comments
Assignees
Labels
triage Issues needing response or filing use-case An overarching use case which may incorporate several enhancements or fixes to deliver user value

Comments

@michaelneale
Copy link
Contributor

Developer Value Added

Android is a super popular platform and tbdex can work on it quite well

Use Case

Document an example and any "gotchas" for using tbdex-kt in android, and link to an example repo: https://github.com/TBD54566975/tbdex-android-example

Dependencies

Ideally the AndroidKeyManager implementation woudl be in web5-kt to make it simple: TBD54566975/web5-kt#250 but this can be optional

@michaelneale michaelneale added triage Issues needing response or filing use-case An overarching use case which may incorporate several enhancements or fixes to deliver user value labels Feb 19, 2024
@angiejones angiejones assigned chris-tbd and unassigned ALRubinger and angiejones Mar 25, 2024
@chris-tbd
Copy link
Contributor

@michaelneale when we're talking about potential "gotchas" for the Android Platform, what did you run into? I see that the InMemoryKeyManager may not work, but outside of that was there anything in the SDK or setup that wasn't working out of the gate? Or, was the main value to share about how to get the SDK integrated into your project (as well as your "Android specific build tips" section)?

@ALRubinger
Copy link
Contributor

On it. A lot of the open questions here can be solved atop the build work I'm doing in the *-kt projects; will be moving @michaelneale AndroidKeyManager into an Android extension for webt-kt, and creating a separate distro for that which does the right exclusions that Android can't bring in.

The nice test for this will be if Mic's examplar app can bring in one dependency, require no other weird build magic, and get everything it needs to Just Work.

Then can work with DevRel to get this documented.

@chris-tbd
Copy link
Contributor

Can we create a separate issue for documenting AndroidKeyManager and/or migrating it into web5-kt?

@ALRubinger
Copy link
Contributor

ALRubinger commented Mar 29, 2024

Absolutely @chris-tbd - just hadn't gotten to it yet. Feel free to drop an issue here for documenting it. I'll handle in web5-kt here:

Note that this work also depends on:

@angiejones
Copy link
Member

@ALRubinger Chris has documented the current usage here.

@michaelneale
Copy link
Contributor Author

@chris-tbd yeah answered above, but mostly just packaging. I did build a key manager which was pretty simple as mentioned, but other than that it nicely just worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage Issues needing response or filing use-case An overarching use case which may incorporate several enhancements or fixes to deliver user value
Projects
None yet
Development

No branches or pull requests

4 participants