Open wangtingshun opened 2 years ago
public static void goTrustWallet(Activity activity, Session.Config config){ try { Intent intent = new Intent(Intent.ACTION_VIEW); intent.setPackage("com.wallet.crypto.trustapp"); intent.setData(Uri.parse(config.toWCUri())); activity.startActivity(intent); } catch (Exception e) { e.printStackTrace(); IntentUtils.launchAppDetail(activity, "com.wallet.crypto.trustapp"); } Log.i("LoginActivity","Trust:"+"https://link.trustwallet.com/wc?uri="+config.toWCUri()); }
I can't evoke the authorization page
public static void goTrustWallet(Activity activity, Session.Config config){ try { Intent intent = new Intent(Intent.ACTION_VIEW); intent.setPackage("com.wallet.crypto.trustapp"); intent.setData(Uri.parse(config.toWCUri())); activity.startActivity(intent); } catch (Exception e) { e.printStackTrace(); IntentUtils.launchAppDetail(activity, "com.wallet.crypto.trustapp"); } Log.i("LoginActivity","Trust:"+"https://link.trustwallet.com/wc?uri="+config.toWCUri()); }
I can't evoke the authorization page