Skip to content

[Demand] Public api changes for mobile 2.0 #4596

Description

@jk234ert

Catalogue

  • UI/UX
  • Mask Core Feature
  • Mask Plugin Feature
  • Security/Cryptography Feature
  • Other
    • /List it here/

Part 1: Introduction and Background

To comply with our new design, we need to change the public APIs to support the following features:

  1. New public APIs to Get & Set current persona
  2. New public API to query current persona's profiles/contacts

Part 2: Problem to Solve

Implement the following public APIs:
Persona:
2.15 persona_getCurrentPersonaIdentifier()
2.16 persona_setCurrentPersonaIdentifier(identifierString)

Profile:
2.5 profile_queryRelationPaged(network, after, count)
2.6 profile_updateRelation(profile, linked, favor)

Part 3: Expected Behavior

Notes

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions