I'm trying to use WebDataRocks(npm) with React(v16.14.0) and its failing with the below error "React.createClass is not a function"
Does it support React(v16.14.0)?
You are right, there was an issue with React v16.14.0.
The PropTypes have been moved from React to their own package prop-types, so they need to be imported separately.
The webdatarocks.react.js file got updated and now it works well with React v16.14.0. Here is a link to a WebDataRocks sample React project on GitHub for reference.
Related
So I'm trying to include Tidy-HTML5 into an app I'm making. I've run into some issue lately that I don't really know how to solve.
I created this wrapper package, since Tidy-HTML5 is a pure C library and does not support Swift Package Manager.
When I add this package as a dependency in my main project it works fine. That is I need to do the following:
import SwiftTidyHTML
import tidy
But this only works if I build for macOS, if I build for iOS I get an error that tidy cannot be found.
Any help would be really appreciated.
Thanks in advance.
I am trying to migrate form react-native-unimodules to expo modules. I followed this documentation and everything is fine in Android, But in iOS getting mentioned error in AppDelegate.h.
This is how my AppDelegate.h looks like this,
In documentation it’s been mentioned just to add import <Expo/Expo.h>. But there isn’t much description about this line.
Will this file be created automatically?
https://docs.expo.dev/bare/installing-expo-modules/#manual-installation
yarn add expo is featured in the above.
im trying to integrate react-native-qrcode-scanner into my project. I do all they say in the installation guide but get following error :
I see that this line of code inside this library fails :
return PermissionsIOS.requestPermission(
PermissionsIOS being imported as
const PermissionsIOS = NativeModules.ReactNativePermissions
So it seems like permissions was not loaded into the project.
Any ideas?
Ok, I found it. The thing is that by some strange reason react-native link react-native-permissions didnt work out. I've read installation on react-native-permissions's page. It says that one of 3 following must be done :
Installation via pods - made only worse
running react-native link react-native-permissions - didnt work in first place
Manual linkage with XCode
Only 3rd alternative did the trick for me.
I am trying to build WebRTC to get updated library file. I have successfully
built the framework.There is a demo in the source code.At first I am trying to run demo app(AppRTCMobile) with the built framework.Problem is that some files are missing in the framework.It is targeting to import some files from webrtc/modules/audiodevice/ios/obj and showing error for not to be able to import the files.So I can't run the demo and continue afterwards.I followed the below link to build WebRTC:
https://webrtc.org/native-code/ios/
Can Aynone help?
RTCAudioSession.h is never included in WebRTC.framwork, hope it may include soon.
Possible workaround's:
Remove/comment RTCAudioSession related stuff in ARDVideoCallViewController
OR manually add RTCAudioSession.h file in WebRTC.framwork/Headers/
Hey I'm trying to make the phone gap IOS work together with the Torch plugin.
The cordova app(2.1.0) ready was displaying before i proceeded with the torch plugin installation.
Though now i get an error when trying to compile it. I know absolutely nothing about IOS developing, so I'm pleading you guys for help. Here is a screenshot of the errors in the Torch.h:
Also errors in Torch.m:
Screenshot of package explorer:
after using Elio' .h changes it resulted in it compiling, but .m file is now giving these errors:
I've written a torch plugin for Cordova 2.2.0. You cn find it here:
https://github.com/tomschreck/iOS-Torch-Plugin
I think the problem is in the preprocessor macro of the torch plugin, anyway saw that you use cordova 2.1.0 you can remove this part on the plugin : try this.