Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 71111

Issue opening URLs in Reddit app

$
0
0

@winningtech wrote:

I’m using the inappbrowser plugin to display external URLs. It’s working fine, except when trying to open in the Reddit app on Android.

My URL is like this

https://www.reddit.com/r/subreddit/comments/abc123/foo-bar/

Clicking on the link displays the web page in the inappbrowser as it should, but when I click the “Open in Reddit” button this happens:

The web page at reddit://reddit/r/subreddit/comments/abc123/foo-bar 
could not be loaded because:

net::ERR_UNKNOWN_URL_SCHEME

How do I fix this?

Edit: here’s my function for opening the url. As you can see it’s pretty basic.

showMap(item) {
    const browser = this.iab.create(item.link, '_blank', 'location=no, toolbar=yes');
}

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 71111

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>