Delay switching to readerMode

Please provide the following:

  1. SDK Version: 41.0.1
  2. Platforms(Android/iOS/web/all): IOS
  3. Add the appropriate “Tag” based on what Expo library you have a question on. done

I have a button that when pressed, opens a web browser which i have flagged with readerMode: true. However, what happens is that the browser first loads the web page in regular mode and 2.5 seconds later it enters readerMode. My questions are these:

  1. Is there way to load the url straight into readerMode?
  2. can i preload the url and show the browser only after readerMode is entered?

this is the way I am opening the browser:


    const handlePress = async (item: ArticleEntity) => {
        await WebBrowser.openBrowserAsync(
            'https://www.cnn.com/2021/05/10/sport/mandaloun-kentucky-derby-medina-spirit/index.html',
            {
                readerMode: true,
            },
        );
    };

Hey @angelxmoreno, I’ll have to raise this question internally as I’m not very familiar with the nuances of the webbrowser module. We’ll follow up here with potential solutions or what the best path moving forward will be.

Cheers,
Adam

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.