Skip to content

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

@tautvilas

Description

@tautvilas

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions