Skip to content

[Feature] - Add support for language prop on Android #22

@JonatanSalas

Description

@JonatanSalas

Motivation

  • Enable users to configure locale from React-Native side
  • Give parity with IOS which is currently supported

Current Limitations

We've to workaround the current way to configure locale for the PX Android library. In the examples they recommend modifying the context from the Application class by initializing an instance of the PXBehaviourConfigurer class.

The problem with that, is that our library is called as a function which receives parameters and starts an Activity. I'll have to review if constantly modifying the context from a runtime function call instead of modifying at startup would imply a perf issue.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions