preTesting
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import 'package:blind_master/BlindMasterResources/fcm_service.dart';
|
||||
import 'package:blind_master/BlindMasterResources/apns_service.dart';
|
||||
import 'package:blind_master/BlindMasterResources/secure_transmissions.dart';
|
||||
import 'package:blind_master/BlindMasterScreens/Startup/create_user_screen.dart';
|
||||
import 'package:blind_master/BlindMasterScreens/Startup/forgot_password_screen.dart';
|
||||
@@ -62,7 +62,7 @@ class _LoginScreenState extends State<LoginScreen> {
|
||||
backgroundColor: Colors.orange[700],
|
||||
duration: Duration(seconds: 4),
|
||||
content: Text(
|
||||
"Your account has not been verified. Please check your email from blindmasterapp@wahwa.com and verify your account.",
|
||||
"Your account has not been verified. Please check your email from account-services@blindmaster.wahwa.com and verify your account.",
|
||||
textAlign: TextAlign.center,
|
||||
style: TextStyle(fontSize: 15),
|
||||
),
|
||||
@@ -85,7 +85,7 @@ class _LoginScreenState extends State<LoginScreen> {
|
||||
if (token.isEmpty) throw Exception('Token Not Received');
|
||||
final storage = FlutterSecureStorage();
|
||||
await storage.write(key: 'token', value: token);
|
||||
await FcmService.register();
|
||||
await ApnsService.register();
|
||||
|
||||
} catch(e) {
|
||||
if (!mounted) return;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import 'dart:async';
|
||||
import 'dart:convert';
|
||||
|
||||
import 'package:blind_master/BlindMasterResources/fcm_service.dart';
|
||||
import 'package:blind_master/BlindMasterResources/apns_service.dart';
|
||||
import 'package:blind_master/BlindMasterResources/secure_transmissions.dart';
|
||||
import 'package:blind_master/BlindMasterScreens/home_screen.dart';
|
||||
import 'package:blind_master/BlindMasterScreens/Startup/login_screen.dart';
|
||||
@@ -51,7 +51,7 @@ class _SplashScreenState extends State<SplashScreen> {
|
||||
}
|
||||
|
||||
nextScreen = HomeScreen();
|
||||
await FcmService.register();
|
||||
await ApnsService.register();
|
||||
} else {
|
||||
nextScreen = LoginScreen();
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@ class _VerificationWaitingScreenState extends BaseVerificationWaitingScreenState
|
||||
String get title => "Verify Your Email";
|
||||
|
||||
@override
|
||||
String get mainMessage => "We've sent a verification link to your email from blindmasterapp@wahwa.com";
|
||||
String get mainMessage => "We've sent a verification link to your email from account-services@blindmaster.wahwa.com";
|
||||
|
||||
@override
|
||||
String get instructionMessage => "Click the link in the email to verify your account. This page will automatically update once verified.";
|
||||
@@ -29,7 +29,7 @@ class _VerificationWaitingScreenState extends BaseVerificationWaitingScreenState
|
||||
|
||||
@override
|
||||
Future<bool> checkStatus() async {
|
||||
final uri = Uri.parse('https://wahwa.com').replace(path: 'verification_status');
|
||||
final uri = Uri.parse('https://blindmaster.wahwa.com').replace(path: 'verification_status');
|
||||
|
||||
final response = await http.get(
|
||||
uri,
|
||||
@@ -49,7 +49,7 @@ class _VerificationWaitingScreenState extends BaseVerificationWaitingScreenState
|
||||
@override
|
||||
Future<void> resendVerification() async {
|
||||
final localHour = DateTime.now().hour;
|
||||
final uri = Uri.parse('https://wahwa.com').replace(path: 'resend_verification');
|
||||
final uri = Uri.parse('https://blindmaster.wahwa.com').replace(path: 'resend_verification');
|
||||
|
||||
final response = await http.post(
|
||||
uri,
|
||||
|
||||
Reference in New Issue
Block a user