TF-3278 Handle open app via deep link at MailboxDashboard screen
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
import 'dart:convert';
|
||||
import 'dart:typed_data';
|
||||
|
||||
import 'app_logger.dart';
|
||||
|
||||
import 'package:core/utils/app_logger.dart';
|
||||
import 'package:core/domain/exceptions/string_exception.dart';
|
||||
|
||||
class StringConvert {
|
||||
@@ -17,6 +16,15 @@ class StringConvert {
|
||||
return text ?? '';
|
||||
}
|
||||
|
||||
static String decodeBase64ToString(String text) {
|
||||
try {
|
||||
return utf8.decode(base64Decode(text));
|
||||
} catch (e) {
|
||||
logError('StringConvert::decodeBase64ToString:Exception = $e');
|
||||
return text;
|
||||
}
|
||||
}
|
||||
|
||||
static List<String> extractStrings(String input) {
|
||||
try {
|
||||
// Check if the input is URL encoded
|
||||
|
||||
Reference in New Issue
Block a user