Skip to content

Multi Phrase instances support #91

@pstambrecht

Description

@pstambrecht

Currently the only one Phrase instance can be initialized within an Android project. So it's impossible to use it internally in the SDK.

On some projects it's blocker. The only one solution to support OTA is to expose an interface and let the application to implement it.

The result should look like:

val phrase = Phrase().also{
    it. initialise(...)
}

val someString = phrase.getString(...)

phrase.update(...) // Note: Pass a callback to listen the result or return the result.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions