react-native-custom-tabs
react-native-custom-tabs copied to clipboard
Please help, "openURL" function undefined
Hi, I'm trying to test the functionality of this library, so I put CustomTabs.openUrl('https://www.google.com) like from the example in the readme inside of the ComponentWillMount function for one of my components. The app is giving the error "undefined is not a function "CustomTabs.openUrl...".
Details: I am importing the library like so: var CustomTabs = require( 'react-native-custom-tabs');
Have you followed all the installation steps?
Might be the way you're importing the CustomTabs component. Have you tried the following?
import { CustomTabs } from 'react-native-custom-tabs';
I have the same problem only in iOS How can I fix it?
Having the same problem too only with iOS. How do I fix this?
I can't find any solution to this issue as well. im using android