CAKE-192 | parse_address_from_domain.dart fixed and split on 2 files (current and parse_address_from_domain_alert.dart), then moved to the entities directory; used one channel for native calls; removed unneeded spaces; fixed handle of unstoppable domain error in the MainActivity.java

This commit is contained in:
OleksandrSobol 2021-07-07 16:50:55 +03:00
parent bb219e4da2
commit f995342491
8 changed files with 97 additions and 100 deletions

View file

@ -1,9 +1,9 @@
import 'package:flutter/services.dart';
const channel = MethodChannel('com.cakewallet.cake_wallet/unstoppable-domain');
const channel = MethodChannel('com.cake_wallet/native_utils');
Future<String> fetchUnstoppableDomainAddress(String domain, String ticker) async {
String address;
var address = '';
try {
address = await channel.invokeMethod(