Chrome Custom Tab support in capacitor


Is there any way to make Browser Tab work with a capacitor react project.
I found that it’s supported in ionic. I’m relatively new to ionic and capacitor.
I’m trying to use this ionic plugin in my react capacitor

but I’m getting this error

Module not found: Can't resolve '@angular/core' in '/Users/userid/Desktop/projectname-irc/node_modules/@ionic-native/browser-tab'


I found custom tabs are not part of capacitor docs, but they were working through BrowserOptions passes in method.

    async function openInBrowserTab() {
        await{ url: '', presentationStyle: 'popover', windowName: '_self' });

Answered By – Viraj Singh

Answer Checked By – Katrina (AngularFixing Volunteer)

Leave a Reply

Your email address will not be published.