Skip to content

Is this codebase is active ? Can you review the code ?  #14

Open
@cullsin

Description

@cullsin

Hi,

Thanks for the app. Can you suggest me whether the code is working fine? Also, can you suggest the params that I am passing for the config are latest? I am getting an error in initialize.

  componentDidMount() {

const initsuccess = (response) => { 
    alert(JSON.stringify(response));
}

const initfail = ( response ) => { 
    alert(JSON.stringify(response));
}

RNFirebasePhoneAuth.initFirebase(config.project_id, 
        config.client[0].client_info.mobilesdk_app_id,
        config.client[0].api_key[0].current_key,
        config.firebase_url,
        initsuccess, 
        initfail
        );

const callBackSuccess = (response) => { 
    alert(JSON.stringify(response));
}

const callBackFailure = (response) => { 
    alert(JSON.stringify(response));
}

let phoneNumber = "+91988600000";
RNFirebasePhoneAuth.sendOTP(phoneNumber, callBackSuccess, callBackFailure);
 }

I am getting the below errror,

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions