wcandillon / can-it-be-done-in-react-native

⚛️ 📺 Projects from the “Can it be done in React Native?” YouTube series
https://www.youtube.com/wcandillon
MIT License
4.05k stars 1.3k forks source link

the-10-min / 3DTransformations failed to start in iPhone XR #117

Open pravynandas opened 4 years ago

pravynandas commented 4 years ago

All other examples in the 10 min folder works great, except 3DTransformations which throws this error.

[3292,{"type":"value","value":"<>"}] is not usable as a native method argument

Stack trace: node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:319:8 in enqueueNativeCall node_modules\react-native\Libraries\BatchedBridge\NativeModules.js:137:10 in fn node_modules\react-native-reanimated\src\core\AnimatedNode.js:143:29 in nativeInitialize http://192.168.2.51:19001/node_modules%5Cexpo%5CAppEntry.bundle?platform=ios&dev=true&minify=false&hot=false:141646:32 in __attach node_modules\react-native-reanimated\src\core\AnimatedNode.js:173:13 in addChild node_modules\react-native-reanimated\src\core\AnimatedNode.js:97:26 in attach node_modules\react-native-reanimated\src\core\AnimatedNode.js:173:13 in __addChild node_modules\react-native-reanimated\src\core\AnimatedNode.js:97:26 in attach node_modules\react-native-reanimated\src\core\AnimatedNode.js:173:13 in addChild node_modules\react-native-reanimated\src\core\AnimatedNode.js:97:26 in __attach node_modules\react-native-reanimated\src\core\AnimatedNode.js:173:13 in addChild node_modules\react-native-reanimated\src\core\AnimatedNode.js:97:26 in attach node_modules\react-native-reanimated\src\core\AnimatedNode.js:173:13 in __addChild node_modules\react-native-reanimated\src\core\AnimatedNode.js:97:26 in attach node_modules\react-native-reanimated\src\core\AnimatedNode.js:173:13 in addChild node_modules\react-native-reanimated\src\core\AnimatedNode.js:97:26 in __attach node_modules\react-native-reanimated\src\core\AnimatedNode.js:173:13 in addChild node_modules\react-native-reanimated\src\core\AnimatedNode.js:97:26 in attach node_modules\react-native-reanimated\src\core\AnimatedNode.js:173:13 in __addChild node_modules\react-native-reanimated\src\core\AnimatedNode.js:97:26 in attach node_modules\react-native-reanimated\src\core\AnimatedNode.js:173:13 in addChild node_modules\react-native-reanimated\src\core\AnimatedNode.js:97:26 in __attach node_modules\react-native-reanimated\src\core\AnimatedNode.js:173:13 in addChild node_modules\react-native-reanimated\src\core\AnimatedNode.js:97:26 in attach http://192.168.2.51:19001/node_modules%5Cexpo%5CAppEntry.bundle?platform=ios&dev=true&minify=false&hot=false:144661:21 in AnimatedProps http://192.168.2.51:19001/node_modules%5Cexpo%5CAppEntry.bundle?platform=ios&dev=true&minify=false&hot=false:144641:29 in createOrReusePropsNode node_modules\react-native-reanimated\src\createAnimatedComponent.js:142:6 in AnimatedComponent#_attachProps http://192.168.2.51:19001/node_modules%5Cexpo%5CAppEntry.bundle?platform=ios&dev=true&minify=false&hot=false:144361:27 in AnimatedComponent node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:8251:26 in constructClassInstance node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:12940:6 in updateClassComponent node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:307:15 in invokeGuardedCallbackImpl node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:531:36 in invokeGuardedCallback node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:20488:8 in beginWork$$1 node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:19370:24 in performUnitOfWork node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:19347:39 in workLoopSync node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:18997:22 in renderRoot [native code]:null in renderRoot node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:18709:28 in runRootCallback [native code]:null in runRootCallback node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:5642:32 in runWithPriority$argument_1 node_modules\scheduler\cjs\scheduler.development.js:643:23 in unstable_runWithPriority node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:5638:22 in flushSyncCallbackQueueImpl node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:5627:28 in flushSyncCallbackQueue node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:18556:30 in scheduleUpdateOnFiber node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:7799:17 in classComponentUpdater.enqueueSetState node_modules\react\cjs\react.development.js:325:31 in Component.prototype.setState http://192.168.2.51:19001/node_modules%5Cexpo%5CAppEntry.bundle?platform=ios&dev=true&minify=false&hot=false:127662:27 in node_modules\@react-navigation\core\lib\module\getChildNavigation.js:1:1478 in actionHelpers.actionName src\Examples\Examples.tsx:95:19 in Thumbnail.props.onPress node_modules\react-native-reanimated\src\core\AnimatedCall.js:9:27 in listener node_modules\react-native\Libraries\vendor\emitter\EventEmitter.js:190:12 in emit node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:436:47 in callFunction node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:111:26 in guard$argument_0 node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:384:10 in guard node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:110:17 in __guard$argument_0 [native code]:null in callFunctionReturnFlushedQueue ...

MoeMamdouh commented 4 years ago

@pravynandas Did you fix it?

pravynandas commented 4 years ago

Unfortunately nope @MoeMamdouh .

MoeMamdouh commented 4 years ago

@pravynandas I fixed it by changing the react-native-redash version to "react-native-redash": "13.6.0" hope it help you