Sketchware

Sketchware

  • Docs
  • Community
  • Blog

›Components

The Basics

  • Getting Started
  • Creating a New Project
  • Designing Your App
  • Programming Your App
  • Adding Components
  • Adding Resources

Firebase

  • Getting Started
  • Linking Android App
  • Project Settings
  • Setting Database Rules
  • Enabling Login Methods
  • Enabling Firebase Storage

AdMob

  • Getting Started
  • Creating Ad Unit
  • Sketchware AdMob Settings

Publishing

  • Getting Started
  • Creating a Service Account
  • First Time Publishing

Components

  • Intent
  • SharedPreference
  • Calendar
  • Vibrator
  • Timer
  • Dialog
  • MediaPlayer
  • SoundPool
  • ObjectAnimator
  • Camera
  • FilePicker
  • Gyroscope
  • Firebase DB
  • Firebase Auth
  • Firebase Storage

Firebase Auth

Firebase Auth component is used to authenticate users.

Example

Creating a new user with given username and password.

example



Blocks

create user with email and password

Create a new user with given email and password.

create user

TypeExplanationRequired
Firebase AuthFirebase Auth ComponentYes
StringEmailYes
StringPasswordYes

sign in user with email and password

Sign in a user with given email and password.

sign in user

TypeExplanationRequired
Firebase AuthFirebase Auth ComponentYes
StringEmailYes
StringPasswordYes

sign in anonymously

Sign in a user with an anonymous credential.

sign in anonymously

TypeExplanationRequired
Firebase AuthFirebase Auth ComponentYes

is logged in

True if logged in.

is logged in

get email

Retrieve the email of the current user.

get email

get Uid

Retrieve the unique identification of the current user.

get uid

send password reset email to

Send a password reset email to the given email.

create user

TypeExplanationRequired
Firebase AuthFirebase Auth ComponentYes
StringEmail addressYes

sign out

Sign out the logged in user.

sign out

Events

onCreateUserComplete

Triggered after create user block is used.

onSignInUserComplete

Triggered after sign in user block is used.

onResetPasswordEmailSent

Triggered after reset password block is used.

← Firebase DBFirebase Storage →
  • Example
  • Blocks
    • create user with email and password
    • sign in user with email and password
    • sign in anonymously
    • is logged in
    • get email
    • get Uid
    • send password reset email to
    • sign out
  • Events
    • onCreateUserComplete
    • onSignInUserComplete
    • onResetPasswordEmailSent
Sketchware
Docs
Getting Started
Community
FacebookSlack
More
BlogMedium
Copyright © 2018 Sketchware