Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more features to PowerAuthClientConfiguration #173

Closed
kober32 opened this issue Sep 12, 2023 · 0 comments · Fixed by #191
Closed

Add more features to PowerAuthClientConfiguration #173

kober32 opened this issue Sep 12, 2023 · 0 comments · Fixed by #191
Assignees

Comments

@kober32
Copy link
Member

kober32 commented Sep 12, 2023

Right now, we support the following features in PowerAuthClientConfigurationType:

readonly enableUnsecureTraffic?: boolean
readonly connectionTimeout?: number
readonly readTimeout?: number

as seen here: https://github.com/wultra/react-native-powerauth-mobile-sdk/blob/develop/src/model/PowerAuthClientConfiguration.ts

This is only a subset of features that are available on native platforms, especially custom UserAgent and request interceptors are missing (iOS implementation).

We should add a custom UserAgent and some sort of interceptor to the RN implementation too, or at least some way to inject custom headers to requests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants