-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsignup.page.ts
130 lines (115 loc) · 38.3 KB
/
signup.page.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
import { Component, OnInit } from '@angular/core';
import { NavController, AlertController } from "@ionic/angular";
import { AngularFireAuth } from "@angular/fire/auth";
import { AngularFirestore } from "@angular/fire/firestore";
import { AngularFireStorage } from "@angular/fire/storage";
@Component({
selector: 'app-signup',
templateUrl: './signup.page.html',
styleUrls: ['./signup.page.scss'],
})
export class SignupPage implements OnInit {
loaderText: string;
percent: any = '';
// no user png in base64 format(if user not upload profile picture this will be uploaded)
resultSrc: any = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAYAAAB5fY51AAAgAElEQVR4Xu2dCXic1XX3//edGWm0y7ZkC1m2ZWMgbMmXxglUGlEMScG0wZbAbmma4Bk5KEtDoCHhS6AYk4Q0ZCGh2QzWSE6apLGCJJOU5SvFFI0Uwue0CWtsvMi2LNuyLGvXaJb39Lljm3iTNMs77zLveZ+Hh8X3nnPu79z5c+ede88V4IcJnEWg9reb54jJ6CKhiDISmANS50CIOVAxhwSVAKKEQIUCwg0g52T3IgAKACeAgpP/bQRABIAKYOjkf5sgUFBADAPUL0j0Q8ExEB2DUI4JwjFS6TBlO/a1XXX7MU4OEzidgGAc9iOwessWR2TRxIWIRC8lISpFlJYIgcVEqIRA5WmCYzScERC6hUA3EfaSQ+wRRN1wOt5y7svZ3bJmTdToANm/vgRYsPTlrbu327ZvLJkYz36PokSvJCGuJ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azy9aowN0CeF+a3LBZcxH4HyHo2/nBI7/4XcPjYXOFlhnRsGDpkMdLNj+wnAQ+B8JNvI9LB+B6upD7qASeFoRv7bj9oW16urajLxYsHbN+0Y/vvxSq4w4B+hjfUK0j+PS4GiDCT+BQN779sa+8lR4XbPVsAixYBsyJpY89li2Kj94iVKyDENfyqsuAJCTjMlbqhV4kBZtosPTJXXfeOZmMGe6TPAEWrOTZadLz8p+sXxqK0DohcDtvi9AEaTqMHCbC5iyn2GTHssTpAJqsTRasZMlp3G/1ltWO14KXflAl3AZCLYBCjV2wucQIDAPUrijiZ1e633q+ZU1LNLHu3DodBFiw0kE1RZuyJlduad4NiDpuAeivARSnaJK7x0dgEBC/hiP65PjRsee4FlV80PRsxYKlJ+0kfMkjQJNj0escwvFXAN0oL/1Jwgx3mZrALkA8G6Xov2fnOV7gIzPmniosWObOzznRyXdeYVWVwrVCkLiWgFyLDcHQcAUwToJeBPCMS1Ge5XdShqYjYecsWAkjM0+H2DlGUI0Q5AFQBQhZ9ibfPBGaIRIaAfBbAF1EIhCG6ODzfGbIS3IxsGAlx82UvWSF1AP71PcoRFVCCClgNQDmmzLY9AV1EKAOIupShehasEj5A1fwTB9svS2zYOlNXGd/S/1fLFUU17sBvJuEuEIQyX++HECOzqFo7U5ezvAGCfGqIHodwKuqGn51l+9rR7V2xPbMQ4AFyzy50C0SuYXi1ZFLlpJTuQyESgFRCdBiAioBLDbR18oxWexOAN2A2Eugbgh0i4j65rsLduzirQa6TRnTOGLBMk0qzBOIXJWpzqxFzmh0LoQoAcQcAcyRfweoVAXJfy4AkCeArJORz5J/F0D2qR8CYi+4gVO7wY/LPydAFq4bA2hEgTgGiKMAHSPgmPw7iPojDkefEgnt49WSeeaEWSL5XzCYkbKNlNW0AAAAAElFTkSuQmCC';
uname: string;
email: string;
pwd: string;
errMsg: string;
constructor(
public af: AngularFireAuth,
public fs: AngularFirestore,
public nav: NavController,
public alertCtrl: AlertController,
public storage: AngularFireStorage
) { }
ngOnInit() {
}
async presentAlert() {
const errorAlert = await this.alertCtrl.create({
header: 'Oops',
message: this.errMsg,
buttons: [
{ text: 'ok' }
]
})
await errorAlert.present();
}
selectFile() {
//Getting photo from user
let file = (<HTMLInputElement>document.getElementById('file')).files[0];
if (file) {
//if user has photo,that will be uploaded
//display preview photo using file reader
let reader = new FileReader();
reader.onload = (e) => {
this.resultSrc = reader.result;
}
reader.readAsDataURL(file);
}
else {
//if user has no photo,that will be uploaded
// no user png in base64 format(if user not upload profile picture this will be uploaded)
this.resultSrc = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAYAAAB5fY51AAAgAElEQVR4Xu2dCXic1XX3//edGWm0y7ZkC1m2ZWMgbMmXxglUGlEMScG0wZbAbmma4Bk5KEtDoCHhS6AYk4Q0ZCGh2QzWSE6apLGCJJOU5SvFFI0Uwue0CWtsvMi2LNuyLGvXaJb39Lljm3iTNMs77zLveZ+Hh8X3nnPu79z5c+ede88V4IcJnEWg9reb54jJ6CKhiDISmANS50CIOVAxhwSVAKKEQIUCwg0g52T3IgAKACeAgpP/bQRABIAKYOjkf5sgUFBADAPUL0j0Q8ExEB2DUI4JwjFS6TBlO/a1XXX7MU4OEzidgGAc9iOwessWR2TRxIWIRC8lISpFlJYIgcVEqIRA5WmCYzScERC6hUA3EfaSQ+wRRN1wOt5y7svZ3bJmTdToANm/vgRYsPTlrbu327ZvLJkYz36PokSvJCGuJMK7BXD5aSsj3WPSyOEEAW8IgVcF0Wuq6ngtJ3fyDz9f1tCvkX02Y0ICLFgmTEqyIV27bZuz2LnrPVCcVUJVqyBEDYD5ydqzaL+DIOogRemCGukajCz9w4vLl8uvpfxkAAEWLAsnce22JveQCzVQyCNUVBFwNYB8Cw8pHaGPCOC3pKALqggUhdHRvNwbTIcjtpl+AixY6WesqYfVXZuWqqpyYxRYIYBrAeRq6iDzjY0T8KIDeEZR1GdbqtbtyvwhZ84IWbBMnsvVr6/PihyvvI4E/ZUC3EjAUpOHbKnwBLBLB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wucQIDAPUrijiZ1e633q+ZU1LNLHu3DodBFiw0kE1RZuyJlduad4NiDpuAeivARSnaJK7x0dgEBC/hiP65PjRsee4FlV80PRsxYKlJ+0kfMkjQJNj0escwvFXAN0oL/1Jwgx3mZrALkA8G6Xov2fnOV7gIzPmniosWObOzznRyXdeYVWVwrVCkLiWgFyLDcHQcAUwToJeBPCMS1Ge5XdShqYjYecsWAkjM0+H2DlGUI0Q5AFQBQhZ9ibfPBGaIRIaAfBbAF1EIhCG6ODzfGbIS3IxsGAlx82UvWSF1AP71PcoRFVCCClgNQDmmzLY9AV1EKAOIupShehasEj5A1fwTB9svS2zYOlNXGd/S/1fLFUU17sBvJuEuEIQyX++HECOzqFo7U5ezvAGCfGqIHodwKuqGn51l+9rR7V2xPbMQ4AFyzy50C0SuYXi1ZFLlpJTuQyESgFRCdBiAioBLDbR18oxWexOAN2A2Eugbgh0i4j65rsLduzirQa6TRnTOGLBMk0qzBOIXJWpzqxFzmh0LoQoAcQcAcyRfweoVAXJfy4AkCeArJORz5J/F0D2qR8CYi+4gVO7wY/LPydAFq4bA2hEgTgGiKMAHSPgmPw7iPojDkefEgnt49WSeeaEWSL5XzCYkbKNlNW0AAAAAElFTkSuQmCC';
}
}
signup() {
//show preloader when signup btn is clicked
document.getElementById('signupLoader').style.display = "block";
//show status with loadertext variable
this.loaderText="Creating User...";
this.af.auth.createUserWithEmailAndPassword(this.email, this.pwd).then(userData => {
//show status with loadertext variable
this.loaderText = 'Uploading Profile Picture...';
//store userid(ie., user uid) in local storage
localStorage.setItem('userid', userData.user.uid)
//upload picture to storage
let task = this.storage.ref('ProfilePicture/' + userData.user.uid).putString(this.resultSrc, 'data_url');
task.snapshotChanges().subscribe(data => {
//get percentage of file upload
this.percent = Math.floor((data.bytesTransferred / data.totalBytes) * 100) + '%';
});
task.then(() => {
this.percent = '';
//show status with loadertext variable
this.loaderText = 'Setting Up...';
//after file upload get file url from storage
this.storage.ref('ProfilePicture/' + userData.user.uid).getDownloadURL().subscribe(url => {
this.fs.collection('users').doc(userData.user.uid).set({
Name: this.uname,
Email: this.email,
Photo: url,
Bio: 'Hey there,I am a new user',
UID: userData.user.uid,
}).then(() => {
//update use displayName anf photoURL
this.af.auth.currentUser.updateProfile({
displayName: this.uname,
photoURL: url,
}).then(() => {
this.nav.navigateRoot('/home');
}).catch(err => {
document.getElementById('signupLoader').style.display = "none";
alert('Try Again');
})
}).catch(err => {
document.getElementById('signupLoader').style.display = "none";
alert('Try Again');
})
})
}).catch(err => {
document.getElementById('signupLoader').style.display = "none";
alert('Try Again');
})
}).catch(err => {
document.getElementById('signupLoader').style.display = "none";
this.errMsg = err.message;
this.presentAlert();
})
}
goto_login() {
//back to login page
this.nav.pop();
}
}