Remove the default Android/IoS spinner

Welcome! Forums Unity Plugins In-App Web Browser Remove the default Android/IoS spinner

Tagged: 

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #576
    sebastien
    Participant

    Hello everyone, hello kokosoft !

    I have a problem …
    I am making a webview for my website and this one have already a preloader.
    You spinner is in front of the preloader and it’s really ugly 🙁

    Do you know where i can remove the default android spinner and put mine or none ?

    Thanks a lot for your script !

    Regards,

    #579
    PiotrPiotr
    Keymaster

    Maybe there simply should be option to disable spinner provided by plugin?
    Something like DisplayOptions.shouldShowDefaultSpinner? Would that work?

    #580
    sebastien
    Participant

    Thank you for your answer !

    But I tried your code line and it’s not working :'(

    InAppBrowser.DisplayOptions options = new InAppBrowser.DisplayOptions();
    options.hidesTopBar = true;
    options.shouldShowDefaultSpinner = false;
    InAppBrowser.OpenURL(url, options);

    Picture here : Click here
    As you see, shouldShowDefaultSpinner method is not found

    Help ! ^^

    • This reply was modified 3 years, 10 months ago by sebastien.
    • This reply was modified 3 years, 10 months ago by sebastien.
    • This reply was modified 3 years, 10 months ago by sebastien.
    #586
    PiotrPiotr
    Keymaster

    Well… I proposed that API. Not saying it already exists 😀

    #626
    PiotrPiotr
    Keymaster

    Hey sebastien,
    I’ve sent you beta version of plugin with that feature on your email. Check it out please.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.