-
Notifications
You must be signed in to change notification settings - Fork 109
Unable to load any site via tile or URL on emulator (Use System WebView) #854
Comments
@AaronMT I can't reproduce. I think I've seen this before and I've had to restart, or cold boot (through the AS UI), the AVD to get it to work again. Can you try it and see if you can still repro? |
I've deleted and created a new AVD and this is still reproducible for me. I see 'firefox:home' attempt to load for each tile, and on new URL input (I see the bottom left URL read 'Firefox:home' bubble fade away) |
04-24 18:46:58.341 4046-4046/org.mozilla.tv.firefox.debug E/com.amazon.android.webkit.android.AndroidWebViewDelegate: Method not supported in Android WebView |
@AaronMT Which version AVD are you using?
These log statements are expected: Android has these methods to call but they log them telling you they don't do anything. We keep them in just in case. |
@AaronMT Can you connect to sites in Chrome? When I was in the PDX office, the wifi actually blocked DNS to my device. See https://groups.google.com/a/mozilla.com/forum/#!topic/firefox-tv/n36LZVGfEnw |
I'm using Android TV (1080p) (Android 8.0, API 26 x86) and this is at home network. It's not a network issue as I can visit a website via
However not actually via tile or entering a URL. I recloned, rebuilt same issue with amazonWebViewDebug. My take is that this still started happening with the Firefox:home changes Fire TV stick does work. |
Let's try and match up environments here SDK: Android 8.1 (Oreo) API 26 installed Also noticed no feed loaded with the Pocket mega-tile. I can confirm the emulator has network activity based on outside app activity in the Google apps. |
I made an emulator image, and I also see this. Settings > About > privacy policy does load. To load the pocket feed, you'll need to build master with the Pocket API key, see README (PR #911 to update this). Lower priority because the only Amazon Fire TV devices that exist are API 22 and 25, but we should fix this at some point. |
…uilding with API keys
I commented out this line:
And it works. Under the hood, We could try:
|
Playing around with this some more, we need to move the focus change listener back to the WebView too: the delegate doesn't receive the focus change events. |
…uilding with API keys
Small because we need to 1) switch to system webview, 2) comment out above-mentioned line. |
@liuche - can this be unblocked now since we've moved to system webview? |
…d of loadUrl for JS.
…us change listener.
Master :facce66
Tap on any tile or load a URL from the address-bar, nothing loads.
However loading a URL directly from ADB works
adb shell am start -a android.intent.action.VIEW -n "org.mozilla.tv.firefox.debug/org.mozilla.focus.MainActivity" -d "http://www.google.ca"
This is happening in my AVD, have not tried hardware.
The text was updated successfully, but these errors were encountered: