hey, thanks for the issue, could you please provide some code?
hey, thanks for the issue, could you please provide some code?
Sure. Here is a snipet :
ethereum.enable()
.then(function (accounts) {
if (ethereum.isStatus) {
web3 = new Web3(ethereum); // Here I inject web3.js API v0.20.6
}
web3.personal.sign(
"This is a test msg to be signed.",
accounts[0],
function(err, sig) {
if (sig != null) {
console.log(sig);
}
});
});
Works well in a browser with Metamask.
In Status, it displays the signing screen, but message isn't displayed, and password isn't accepted ("wrong password" toast message) even with correct password.
Issue present in both normal and dev modes.
I use Status version 0.12.1 (status-go vv0.24.0-beta.1) and I run it on Android 9.
Here is a screenshot :

thanks @FabioBonfiglio i'll take a look!
web3.currentProvider.sendAsync(
{method: "personal_sign",
params: [web3.toHex(message) account[0]],
from : account[0]},
cb);
if you need a workaround for now
This workaround works and now the password is accepted and I'm able to sign the message.
However, in the case of a long content, message is truncated and only the last lines are displayed :

@FabioBonfiglio you can scroll a message, but yes it's a bad UX, will be addressed in the new wallet UI soon
@FabioBonfiglio you can scroll a message, but yes it's a bad UX, will be addressed in the new wallet UI soon
Unable to scroll here.
Looking forward to the new UI then :)