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

feat: New V3 Identity #246

Merged
merged 28 commits into from
May 28, 2024
Merged

feat: New V3 Identity #246

merged 28 commits into from
May 28, 2024

Conversation

nplasterer
Copy link
Contributor

@nplasterer nplasterer commented May 22, 2024

Uses the new V3 Identity for Groups. Gets rid of accountAddress in favor of inboxId.
Will add support for smart contract wallets in a follow up PR.

cc @neekolas @cameronvoell

@nplasterer nplasterer self-assigned this May 22, 2024
@nplasterer nplasterer marked this pull request as ready for review May 24, 2024 20:37
@nplasterer nplasterer requested a review from a team as a code owner May 24, 2024 20:37
} catch (e: ClassNotFoundException) {
// … otherwise, fallback to the JNA cleaner.
UniffiJnaCleaner()
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cameronvoell maybe it's just a linter bugger seems to have the fallback here...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Which would catch the error if the create() function is called

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yea I think you're right 👍

Copy link
Contributor

@cameronvoell cameronvoell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looking good! 🚀

Comment on lines +37 to +46
<issue
id="SimpleDateFormat"
message="To get local formatting use `getDateInstance()`, `getDateTimeInstance()`, or `getTimeInstance()`, or use `new SimpleDateFormat(String template, Locale locale)` with for example `Locale.US` for ASCII dates."
errorLine1=" val formatter = SimpleDateFormat(&quot;EEE, dd MMM yyyy HH:mm:ss &apos;GMT&apos;&quot;)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/org/xmtp/android/library/messages/Signature.kt"
line="53"
column="21"/>
</issue>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@alexrisch is there a reason you need to use the simple date format? I'm just leaving it as a lint issue we can ignore but would be good to understand why we need it.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No solid reason vs any other way to get the same date format

@nplasterer nplasterer changed the title New V3 Identity feat: New V3 Identity May 27, 2024
@nplasterer nplasterer merged commit de2f9b3 into main May 28, 2024
5 of 6 checks passed
@nplasterer nplasterer deleted the np/v3-identity branch May 28, 2024 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants