Skip to content

Singleton NStack instance to expose business logic features #46

Closed
@johsoe

Description

@johsoe

Today NStack on Flutter is provided through the widget tree only on the BuildContext.

We want to expose a Singleton NStack object, that can:

  • Change the language in the domain layer
  • Send Feedback
  • Send Rate Reminder actions, ask for Rate Reminder state
  • Fetch Collections
  • Fetch Version Control state (and expose that via the BuildContext)
  • Fetch Terms state (and expose that via the BuildContext)

It would be cool to look at other SDK's for inspiration.

We could make a facade Singleton with a reference to the currently file private _nstack instance, but there might be better solutions out there.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions