Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

732
Views
com.facebook.react.bridge.readablenativemap cannot be cast to java.lang.string in React Native

I am using React native with Redux-saga. When I try to pass value saga true my back end...I got an error message like this. And I have already tried the same question answer in StackOverflow, But this answer did not work for me. I am a student, so I don't know much more. If anyone can help me with this, I really grateful to you all.❤️

function addUserPassMailChild(email, password) {
    auth()
        .createUserWithEmailAndPassword(email, password)
        .then(() => {
            console.log('User account created & signed in!');
        })
        .catch(error => {
            if (error.code === 'auth/email-already-in-use') {
                console.log('That email address is already in use!');
            }

            if (error.code === 'auth/invalid-email') {
                console.log('That email address is invalid!');
            }

            console.error(error);
        });
}

export function* addUserPassMail(action) {
    const email = action.payload.email;
    const password =action.payload.password;
    console.log(email, password)

    try {
        const emailLogin = yield call(addUserPassMailChild, {email:email, password:password})

        if (emailLogin) {
            // console.log(loginData.additionalUserInfo.profile)
            yield put(AddUserSuccess(emailLogin))
            yield put({
                type: GET_USER_TOKEN_LISTENER,
            })
        }
    } catch (error) {
        console.log(error)
        yield put(AddUserField(error))
    }
}

enter image description here

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Try passing arguments like this:

yield call(addUserPassMailChild, email, password);

Or try getting the arguments like this:

function addUserPassMailChild({email, password}) {
// TODO
}
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!