Some of the pangea lib's dependencies must be adjusted to the environment. E.g. the key chain access and some sort of that. You can find the spec's here:
JsonRpcNodeInterface
The
JsonRpcNodeInterfaceexported bysrc/specification/jsonRpcNode.jsis an interface that must be implemented for ethereum nodes.
OsDependenciesInterface
The
OsDependenciesInterfaceexported bysrc/specification/osDependencies.jsmust be implemented for every environment. It contain's useful method's for cryptography (like randombytes, etc)
SecureStorageInterface
The
SecureStorageInterfaceexported bysrc/specification/secureStorageInterface.jsmust be implemented by every environment in order to store values secure.