Comments (9)
Hi! I can’t see any reference to WalletConnect other than the init that occurs when launching the wallet. Is there any extra info available?
from metamask-mobile.
Play Console Log
Exception v6.c: Error: [ethjs-query] the Eth object requires that the first input 'provider' must be an object, got 'undefined' (i.e. 'const eth = new Eth(provider);'), js engine: hermes, stack:
Eth@1:2775775
NonceTracker@1:7371352
TransactionController@1:7358673
Engine@1:2709815
init@1:2716810
anonymous@1:5988908
onPersistComplete@1:5708523
rehydrate@1:5776201
_rehydrate@1:5767164
anonymous@1:5767258
anonymous@1:363065
_callTimer@1:362347
callTimers@1:364149
__callFunction@1:266653
anonymous@1:265020
__guard@1:265972
callFunctionReturnFlushedQueue@1:264978
at com.facebook.react.modules.core.ExceptionsManagerModule.reportException (ExceptionsManagerModule.java:72)
at java.lang.reflect.Method.invoke
at com.facebook.react.bridge.JavaMethodWrapper.invoke (JavaMethodWrapper.java:372)
at com.facebook.react.bridge.JavaModuleWrapper.invoke (JavaModuleWrapper.java:188)
at com.facebook.jni.NativeRunnable.run (NativeRunnable.java)
at android.os.Handler.handleCallback (Handler.java:971)
at android.os.Handler.dispatchMessage (Handler.java:107)
at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage (MessageQueueThreadHandler.java:27)
at android.os.Looper.loopOnce (Looper.java:206)
at android.os.Looper.loop (Looper.java:296)
at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run (MessageQueueThreadImpl.java:228)
at java.lang.Thread.run (Thread.java:1012)
from metamask-mobile.
@christopherferreira9 Digging into a little deeper:
We can see two logs
WalletConnectV2::init()
, which indicates WCV2 is initializing (indicating it's most likely a cold start from a deeplink)Error: Engine does not exist
, which happens when you try to access Engine.context without it being defined
So far, I can see WCV2 being initialized in Nav/App/index.js
, which is a flow that is mounted post rehydration (onPersistComplete). At the same time, onPersistComplete
is where Engine is initialized. Both happens in parallel and I suspect we're seeing the issue because WCV2 is initializing faster than the Engine being initialized. You can probably reproduce the same error message by wrapping EngineService.initalizeEngine(store);
in a timer.
from metamask-mobile.
Hey @Cal-L , I was just looking at it with Chris
For the init flow:
- store initialize
- onPersistComplete is triggered
- Engine initializes via EngineService.initalizeEngine(store);
- ConnectedRoot opens Nav/App/Index.js (after engine has initialized)
- WalletConnectV2::init() is triggered
I don't think it is wallet connect / sdk related.
Any other ideas?
from metamask-mobile.
Sentry Issue: METAMASK-MOBILE-29SX
from metamask-mobile.
@abretonc7s @christopherferreira9 Digging into a bit more, we found that to be the case as well. The WC message is just for initialization. I will reassign this to platform for now. Thanks for the investigation!
from metamask-mobile.
Related Issues (20)
- Reduce enzyme usage in unit test down to 50% - [1 of 3]
- Reduce enzyme usage in unit test down to 50% - [3 of 3]
- Reduce enzyme usage in unit test down to 50% - [2 of 3]
- [Bug]: [TypeError: undefined is not an object (evaluating 'networkConfiguration.nickname')] HOT 1
- [Bug]: PPOM - No blockaid data is included in Metrics events for transactions triggered from inside the wallet HOT 4
- [Bug]: PPOM - Enabling Blockaid lands me to the Experimental Settings page
- [Bug]: Asset's type is always ETH in the notification HOT 1
- Migrate and remove MIXPANEL_METAMETRICS_ID in app storage
- fix: update to use Segment instead of Mixpanel in injectHomePageScripts in app/components/Views/BrowserTab/index.js
- remove mixpanel env vars and secrets -> to be done by Bitrise admin
- [Bug]: can't reveal my secret phrase using my password HOT 1
- [Bug]: Misalignment issue on transaction confirmation screen
- Technical Research: Add automated coverage for analytics
- IS_TEST flag is not being sourced correctly, leading to the E2E tests failing to run on some engineers' machines.
- fix: Wrong authentication property key for Segment event in app/core/SecureKeychain.js HOT 1
- [Sentry] IllegalArgumentException: Invalid parent node provided
- TypeError: Cannot read property 'toString' of undefined
- fix: add identify metrics call at metrics instance setup
- [Sentry] JSApplicationIllegalArgumentException: Error while updating property 'src' of a view managed by: RCTImageView HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from metamask-mobile.