gfffffffff

Google login Sketchware pro kese banaye ?

Ad Code Here


Google login Sketchware pro kese 


1. Add blocks Google json

ManeActivity.    








Morblock Add void neme
 ( signInWithGoogle )


Add Vanable 





1 - firebaseUser
2 - firebaseUser





1 - GoogleSignInOptions 
2 - options

On Create 




HomeActivity




Morblock Add void neme
 ( extra )


Add sourcedirectly

}
private void clearData() {
            try {
                if (Build.VERSION_CODES.KITKAT <= Build.VERSION.SDK_INT) {
                    ((ActivityManager)getSystemService(ACTIVITY_SERVICE)).clearApplicationUserData();
                } else {
                    Runtime.getRuntime().exec("pm clear " + getApplicationContext().getPackageName());
                }
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
{


Add comment



On create

On create import

java.io.*


Logout button Click


clearData();