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

Passbase Initialization fails, documentation does not match module function #34

Open
tautvilas opened this issue Oct 13, 2022 · 0 comments

Comments

@tautvilas
Copy link

await PassbaseSDK.initialize(RNConfigReader.PASSBASE_API_KEY); fails with error:
Error: required_option_api_key_is_missing

I have checked the module code and I see that it requires another param:
const initialize = async (publishableApiKey: string, customerPayload: string, onSuccess: Function, onFailure: Function) => {

missing customerPayload throws this error, but I don't see anywhere in the docs what this customerPayload is supposed to be.
https://docs.passbase.com/react-native#2.-initialize-the-sdk

Passbase version: 3.2.1

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

No branches or pull requests

1 participant