Caching the userAgent http header and give the ability to use custom userAgent http headers as an additional option. Background: The method getWebbviewUserAgentAsync can cause the error The WKWWebView was invalidated on iOS. This happened in our app >2k times. Caching the result of getWebbviewUserAgentAsync is fine because it is constant. (expo-constants)
Caching the userAgent http header and give the ability to use custom userAgent http headers as an additional option. Background: The method
getWebbviewUserAgentAsync
can cause the errorThe WKWWebView was invalidated
on iOS. This happened in our app >2k times. Caching the result ofgetWebbviewUserAgentAsync
is fine because it is constant. (expo-constants)