Sends a transaction request on the onSendTransaction method. You have to implement the OnSendEthereumTransactionListener or OnSendTronTransactionListener to complete the request. You have to handle the request with onSendTransaction. A simpler way to handle the request is to use the PaymentSheet.
When the processing is completed, the result must be sent to the WebView. onActivityResult must be overrided including the CucumberWebView.onActivityResult.
Ethereum
Deprecated:
createEthereumPaymentSheetActivityIntent() without EthereumTransactionType parameter API has been deprecated in 1.2.00.
Use createEthereumPaymentSheetActivityIntent(Context, String, HardwareWallet, EthereumTransactionType, String, BigInteger, String, BigInteger) instead.
CucumberWebView uses the CucumberWebViewClient. If you want to use your WebViewClient, you have to inherit CucumberWebViewClient class.
webView = view.findViewById(R.id.cucumberWebView);
try {
webView.setWebViewClient(customWebViewClient);
}catch(IllegalArgumentException e){
//customWebViewClient is not a CucumberWebViewClient
}
Manage Your Cookies
We use cookies to improve your experience on our website and to show you relevant
advertising. Manage you settings for our cookies below.
Essential Cookies
These cookies are essential as they enable you to move around the website. This
category cannot be disabled.
Company
Domain
Samsung Electronics
developer.samsung.com, .samsung.com
Analytical/Performance Cookies
These cookies collect information about how you use our website. for example which
pages you visit most often. All information these cookies collect is used to improve
how the website works.
Company
Domain
Samsung Electronics
.samsung.com
Functionality Cookies
These cookies allow our website to remember choices you make (such as your user name, language or the region your are in) and
tailor the website to provide enhanced features and content for you.
Company
Domain
Samsung Electronics
developer.samsung.com, google.account.samsung.com
Preferences Submitted
You have successfully updated your cookie preferences.