Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undefined is not an object (evaluating 'ChromeManager.openURL') #31

Open
waqarmobi opened this issue Aug 10, 2018 · 6 comments
Open

undefined is not an object (evaluating 'ChromeManager.openURL') #31

waqarmobi opened this issue Aug 10, 2018 · 6 comments

Comments

@waqarmobi
Copy link

whatsapp image 2018-08-10 at 17 30 31

Trying to run on iOS. if I delete chrome app on my iphone the code works perfectly but opens up in Safari.

@alihesari
Copy link

alihesari commented Aug 14, 2018

+1 I have the same issue.

@waqarmobi
Copy link
Author

I ended up not using it for the application and used a WebView wrapper to open the url instead.

@nadav2051
Copy link

nadav2051 commented Feb 28, 2019

I had a similar issue, the problem was that the podspec on the 'develop' branch apparently did not install correctly the DBChromeManager.h/c that is located in the ios/ folder.

I've solved the problem by manually including DBChromeManager.h/c in my IOS project.

@mthahzan
Copy link

mthahzan commented Jul 2, 2019

In case someone's here due to a similar issue undefined is not an object (evaluating 'ChromeManager.default.openURL'), make sure your import is correct.

It should be

import {Customtabs} from 'react-native-custom-tabs';

Not

import Customtabs from 'react-native-custom-tabs';

@San10694
Copy link

@nadav2051 where did you put DBChromeManager.h file exactly? I am having same problem

@KamalGangwar
Copy link

KamalGangwar commented Jul 1, 2020

In case someone's here due to a similar issue undefined is not an object (evaluating 'ChromeManager.default.openURL'), make sure your import is correct.

It should be

import {Customtabs} from 'react-native-custom-tabs';

Not

import Customtabs from 'react-native-custom-tabs';

No, it is not working

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants