Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

Web view disallowing local files?

$
0
0

When attempting to use a local set of files for a website more or less hosted on the phone were getting errors and the CSS/JS doesn’t seem to be functioning. However the app works on Desktop Safari, and it fails on desktop Chrome. We are however able to fix desktop chrome by using an option "Chrome's -allow-file-access-from-files”. Is there anything from a webforms prospective that would allow this type of option to be enabled?

The debug output appears as follows:
[ResourcesManager] creating new AssetManager and set to /data/app/com.google.android.webview-1/base.apk
[LibraryLoader] Time to load native libraries: 6 ms (timestamps 4230-4236)
[LibraryLoader] Expected native library version number "",actual native library version number ""
[WebViewChromiumFactoryProvider] Binding Chromium to main looper Looper (main, tid 1) {2d2ca33b}
[LibraryLoader] Expected native library version number "",actual native library version number ""
[chromium] [INFO:library_loader_hooks.cc(120)] Chromium logging enabled: level = 0, default verbosity = 0
[BrowserStartupController] Initializing chromium process, singleProcess=true
[art] Attempt to remove local handle scope entry from IRT, ignoring
[SysUtils] ApplicationContext is null in ApplicationStatus
[chromium] [WARNING:resource_bundle.cc(285)] locale_file_path.empty()
[libEGL] validate_display:255 error 3008 (EGL_BAD_DISPLAY)
[libEGL] validate_display:255 error 3008 (EGL_BAD_DISPLAY)
[Adreno-EGL] : EGL 1.4 QUALCOMM build: ()
[Adreno-EGL] OpenGL ES Shader Compiler Version: E031.25.01.03
[Adreno-EGL] Build Date: 10/28/14 Tue
[Adreno-EGL] Local Branch: LA.BF.1.1_RB1_20141028_021_patches2
[Adreno-EGL] Remote Branch:
[Adreno-EGL] Local Patches:
[Adreno-EGL] Reconstruct Branch:
[AudioManagerAndroid] Requires BLUETOOTH permission
[art] Attempt to remove local handle scope entry from IRT, ignoring
[AwContents] onDetachedFromWindow called when already detached. Ignoring
[Activity] performCreate Call secproduct feature valuefalse
[Activity] performCreate Call debug elastic valuetrue
[Choreographer] Skipped 120 frames! The application may be doing too much work on its main thread.
[OpenGLRenderer] Initialized EGL, version 1.4
[OpenGLRenderer] HWUI protection enabled for context , &this =0xa0122088 ,&mEglDisplay = 1 , &mEglConfig = 8
[OpenGLRenderer] Enabling debug mode 0
[chromium] [WARNING:data_reduction_proxy_config.cc(423)] SPDY proxy OFF at startup
[BindingManager] Cannot call determinedVisibility() - never saw a connection for the pid: 10128
[BindingManager] Cannot call determinedVisibility() - never saw a connection for the pid: 10128
[Timeline] Timeline: Activity_idle id: android.os.BinderProxy@3f85e6cd time:76835227
[Timeline] Timeline: Activity_idle id: android.os.BinderProxy@3f85e6cd time:76835230
[Adreno-ES20] : Invalid texture format! Returning error!
[Adreno-ES20] : Framebuffer color attachment incomplete. Returning GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT!
[chromium] [INFO:CONSOLE(8)] "Uncaught ReferenceError: $ is not defined", source: file:///android_asset/ (8)
[chromium] [INFO:CONSOLE(3)] "Uncaught TypeError: Cannot set property 'mobile' of undefined", source: file:///android_asset/scripts/jquery.mobile-1.4.5.min.js (3)
[Adreno-ES20] : Invalid texture format! Returning error!
[Adreno-ES20] : Framebuffer color attachment incomplete. Returning GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT!
[ViewRootImpl] ViewPostImeInputStage ACTION_DOWN
[BindingManager] Cannot call determinedVisibility() - never saw a connection for the pid: 10128
[chromium] [INFO:CONSOLE(8)] "Uncaught ReferenceError: $ is not defined", source: file:///android_asset/Symptoms.html (8)
[chromium] [INFO:CONSOLE(3)] "Uncaught TypeError: Cannot set property 'mobile' of undefined", source: file:///android_asset/scripts/jquery.mobile-1.4.5.min.js (3)
[chromium] [INFO:CONSOLE(203)] "Uncaught ReferenceError: jQuery is not defined", source: file:///android_asset/Symptoms.html (203)
[IInputConnectionWrapper] showStatusIcon on inactive InputConnection


Viewing all articles
Browse latest Browse all 77050

Trending Articles



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