Comments (7)
The current API support is tracked in the document at:
https://github.com/MobileChromeApps/mobile-chrome-apps/blob/master/docs/APIStatus.md
Some of the samples may not work on all platforms.
If you are having trouble with a specific one, please let us know which
sample app it is.
On Thu, Jan 30, 2014 at 7:05 AM, MrYogi [email protected] wrote:
i tried to run samples from
https://github.com/MobileChromeApps/mobile-chrome-app-samples
samples are running on my android device but i am getting white blank
screen.
i am able to load page successfully only in hello world sample.what are api supported?
any sample from the link i may able to run successfully and not just white
page on device?thanks!
my device:
nexus4 running on 4.4.2. stock.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/61
.
from mobile-chrome-apps.
i tried many,
for instance todomvc sample gives me blank white screen
from mobile-chrome-apps.
I just verified that the todomvc at
https://github.com/GoogleChrome/chrome-app-samples.git
works on Android 4.4.2 on a Nexus 7.
I am using the latest cca installed via npm
Can you verify that you have the latest tools, and where you obtained the
sample app from?
On Thu, Jan 30, 2014 at 8:24 AM, MrYogi [email protected] wrote:
i tried many,
for instance todomvc sample gives me blank white screen—
Reply to this email directly or view it on GitHubhttps://github.com//issues/61#issuecomment-33686941
.
from mobile-chrome-apps.
The mobile supported chrome app samples are listed in a table at the bottom of the README.md: https://github.com/GoogleChrome/chrome-app-samples#mobile-support
If any of those apps are not working for you, that is not expected and we would be pleased for you to report the specific samples. Please also let us know more about your environment.
More generally -- whenever you see a blank white screen when running a chrome app on mobile via the cca
tool, it is a sign of startup issues (and typically javascript syntax errors). It may be a bug in our environment startup code, since we do a bit of magic to simulate the chrome app runtime. More often it is because the application itself is relying on desktop chrome specific features that do not exist inside the mobile WebView.
The best way to find & resolve these issues is by attaching a remote web inspector, then restarting the app (while still having the inspector attached), to catch these startup issues in the console.
Here is a quick guide to do that:
- Launch the cordova based mobile port of your Chrome App on Android / iOS using the
cca
tool - Attach a remote web inspector to the Android / iOS WebView by following one of these guides:
- If your app was stuck at a blank white screen at startup, and the remote inspector console shows no useful error messages, restart the app by manually typing
chrome.runtime.reload()
into the console. - Hopefully you will now see insightful error messages in the logs to help track down the startup issue.
- Please, report back to us if the error was our fault!
Best of Luck.
from mobile-chrome-apps.
as from my question you can see the link of sample apps,
mine device is 4.4.2 nexus 4
@ mmocny : i will inspect and update
thanks for your help!
from mobile-chrome-apps.
@MrYogi I think that @drkemp has identified the root problem here -- you are trying the wrong samples! This is our fault, we should have made that repository less discoverable and offered warnings in the README. Sorry about that!
The correct place to look for samples is: https://github.com/GoogleChrome/chrome-app-samples.git
And again, you can find the list of valid working mobile samples at the bottom: https://github.com/GoogleChrome/chrome-app-samples#mobile-support
from mobile-chrome-apps.
@MrYogi still interested to learn why you were seeing a white screen, but closing this as a not being an issue as currently described.
from mobile-chrome-apps.
Related Issues (20)
- Chome.bluetooth/chrome.bluetoothsocket API not responding
- mobile chrome app does not work under ios10 HOT 9
- Video tutorial on how to Run Chrome Apps on Mobile Using Apache Cordova
- No background scripts found in your manifest.json file
- ChromeSocketsTcp.h not found in iOS project
- Getting only blank screen in iOS
- Update Cordova (android command depreciated) HOT 1
- not installing
- Ran into "Android SDK not found" error even though SDK is installed and `ANDROID_HOME` points to it HOT 4
- mobile app HOT 2
- Chrome Android 6.0 star os mobile app
- Whole document visible black in android HOT 1
- [QUESTION] Where I can find the CI service?
- background-attachment: fixed does not work on Android Chrome
- HID Support
- iOS - window.open() opens new window(tab) but back button is disabled HOT 1
- creating an online app
- ERROR: A problem occurred evaluating root project 'ZZAPP'.
- Bottom toolbar affect the normal operation of the web page
- node pull unresponsive
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mobile-chrome-apps.