[Cordova] How to config?

[Cordova] How to config?

  

Hi,


I want set <preference name="OverrideUserAgent" value="Mozilla/5.0 My Browser" />

How do I do that in my mobile app?

I got some issues with safari and need to set the useragent differently with the inapp-browser...


Thanks in advance,


J.

Solution

Hello J.

According to the documentation, OverrideUserAgent doesn't seem to be available in iOS. You can try the AppendUserAgent.

Nevertheless, to set preferences, you can use extensibility configurations as described in the article: Set the Preferences for Your Mobile App

Thanks


Solution