function signInWithPhoneNumber(
  firebase,
  dispatch,
  phoneNumber,
  applicationVerifier,
  options = {}
) {
  return login(dispatch, firebase, {
    phoneNumber,
    applicationVerifier,
    ...options
  })
}
Asynchronously signs in using a phone number and create's
user profile. This method sends a code via SMS to the given phone
number, and returns a firebase.auth.ConfirmationResult. Internally
calls `firebase.auth().signInWithPhoneNumber`.
@param {object} firebase - Internal firebase object
@param {Function} dispatch - Action dispatch function
@param {string} phoneNumber - Phone number
@param {object} applicationVerifier - Phone number
@param {object} options - Options object
@returns {Promise} Resolves with auth