question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] call node does like string value on android

See original GitHub issue

I update an SVG path by calling something like

this. _wholeInPath = concat(
   ///strings
)

...

call([ this._wholeInPath ], ([ wholeIntPath, ]) => {
    this._loopInElement && this._loopInElement.setNativeProps({ d: wholeIntPath })
}),

it does the job on iOS, but on android I end up with a cast issue

screenshot_20190109-142722

after looking at the JSCallNode.java, the evaluate function return indeed a Double,

not sure what type can be used here to sort my issue without breaking the case when we need a Double.

does someone has an idea, what I should do ?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
osdnkcommented, Apr 20, 2019
0reactions
Hani-Ghazicommented, Mar 23, 2020

I am on 1.7 and it’s crashing on android, IOS is fine tho

any suggestions?

I also have the same issue here using @react-navigation/material-top-tabs 5.1.1

Read more comments on GitHub >

github_iconTop Results From Across the Web

Top 10 Most Common Node.js Developer Mistakes - Toptal
One common Node.js issue related to using callbacks is calling them more than once. Typically, a function provided by a package to do...
Read more >
String resources | Android Developers
An array of strings that can be referenced from the application. Note: A string array is a simple resource that is referenced using...
Read more >
Object.prototype.toString() - JavaScript - MDN Web Docs
The toString() method returns a string representing the object. This method is meant to be overridden by derived objects for custom type ...
Read more >
Process | Node.js v19.3.0 Documentation
The Node.js process will exit immediately after calling the 'exit' event ... <string> | <null> a parsed JSON object or a serializable primitive...
Read more >
Groovy Language Documentation
If the GString is ever passed to a method taking a String, the expression value inside the placeholder is evaluated to its string...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found