Metamask mobile - eth-token-tracker integration

I’ve cloned MetaMask mobile for studying purpose and i just tried to integrate this library https://github.com/MetaMask/eth-token-tracker to it → but looks like i’m missing something → resulted in

TypeError: undefined is not a constructor (evaluating ‘new(r(d[1]))({address:n,query:t,contractBytecode:u,contractDefaultTxObject:s,contractABI:c})’)

It was halted at this line: const contract = this.TokenContract.at(address)

Could anyone help me check on this one

Hi @user227 were you able to reach out to the team?

No sir. I was able to result the issue above but when i tried to build on android, i got another error

@react-native-clipboard/clipboard/android/src/main/java/com/reactnativecommunity/clipboard/ClipboardModule.java:86: error: method clearString() is already defined in class ClipboardModule
public void clearString() {
^
1 error

FAILURE: Build completed with 2 failures.

Ok thanks for the update is it with the same library can you share the steps to reproduce pls

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.