LedgerHQ / ledger-live-mobile

⛔️ DEPRECATED - Ledger Live (Mobile)
https://ledger.com/live
Apache License 2.0
381 stars 116 forks source link

Unable to create `accountCreationInfo` on iOS #390

Closed meriadec closed 5 years ago

meriadec commented 5 years ago

We encounter a throw when trying to instanciate an accountCreationInfo in the add accounts process:

https://github.com/meriadec/ledger-live-mobile/blob/e7da30278c7f420eb39f317ca7f19d153b289240/src/libcore/index.js#L179-L185

Error:

Unknown argument type 'NSDataArray' in method -[RCTCoreLGAccountCreationInfo initWithIndex:owners:derivations:publicKeys:chainCodes:withResolver:rejecter:]. Extend RCTConvert to support this type.
reactConsoleErrorHandler @ ExceptionsManager.js:84
console.error @ YellowBox.js:59
logToConsole @ RCTLog.js:47
logIfNoNativeHook @ RCTLog.js:30
__callFunction @ MessageQueue.js:349
(anonymous) @ MessageQueue.js:106
__guard @ MessageQueue.js:297
callFunctionReturnFlushedQueue @ MessageQueue.js:105
t @ RNDebuggerWorker.js:1
gre commented 5 years ago

The issue was that some fields needed getValue() I went more far than this error, now stuck at another error on iOS. (Just try to run the ads accounts to see it)