We learn how to add Google Account Pick System in Sketchware without any mod or Plugin
Required:
Firebase Setup in Project
Components: intent, File Pick
• Fast Create A UI + UX Level Design Login Pages
• Now Add a Google Login Images. if you don't have
Take Form The link
Download Link: Download Now
• Now add event on Image Click
• Now add A Add Source Direct Block
• Now @ here add the Down ⬇️ Below Cord
This cord will Pick the ACCOUNT
Intent intent = com.google.android.gms.common.AccountPicker.newChooseAccountIntent(null, null, new String[]{"com.google"}, false, null, null, null, null);
startActivityForResult(intent, 94);
• Now Add File Pick Components
• Now in File Pick One File Pick Event
Add this Cord in Add Source Direct block
This will help the Get User Email + Password For Singup in Firebase Auth
};
break;
case 94:
try {
_onAccountPicked(_data.getStringExtra(android.accounts.AccountManager.KEY_ACCOUNT_NAME).toString(), _data.getStringExtra(android.accounts.AccountManager.KEY_ACCOUNT_TYPE).toString());
} catch (Exception e) {
};
if (false) {
• Now On More Block Creat a Block With name
onAccountPicked | Make sure Set This name or It's will not work.
Then in more block in string variable add Email and Password