Cordova Console Log when Beta Testing - angularjs

I am interested to know if there is any tool to track the js console log of multiple devices for both ios and android.
Basically I am about to beta test my new cordova/ionic/angular app with beta testers and since they are quite a few I want to be able to check the console log of each and every device to see how the app is performing.
If such a tool is not available fire away ideas or current possible approaches you would take?
Thanks

You can configure your own Google Analytics and send whatever you want in it.
https://support.google.com/analytics/answer/2709828?hl=en
For getting your messages:
https://docs.angularjs.org/api/ngMock/service/$log
https://coderwall.com/p/_zporq/logging-in-angular-apps-and-how-to-filter-those-log-messages

Related

How to see if gatsby-plugin-offline is working

I am new to Gatsby so please bear with me.
I want to add offline support to my app such that if a user were to try access it while offline (after having visited it online) it would still show up.
Would gatsby-plugin-offline help me achieve this?
If so, how can I try this out? So far I have tried using the plug-in in my app (all default settings), building the app and then serving it locally on my computer at http://localhost:9000/. When I stop the dev server and try access http://localhost:9000/, it does not show up. How can I test to see if this plugin works?
After gatsby build the public folder should include sw.js file.
Otherwise, you can find whether the service worker is registered on not at Chrome Dev Console over Application > Service Workers.

GAE not starting

i can;t deploy app to GAE anymore.
App deploy was always stuck with time out.
Some days ago app was working fine. I was able to deploy. I'm sure.
I pickup old version, just to eliminate possibility that something wrong with app
I try to deploy with all reasonable parameters.
I try delete all services (except default which i can't delete, however i uploaded basic one line app)
I already try most of advice which i found on web
I try to disable App engine.. It failed, however after some time i was able to Disable it.
Now i'm not able to enable GAE.. i see folowing error:
ERROR: (gcloud.app.deploy) Unable to deploy to application [**************] with status [USER_DISABLED]: Deploying to stopped apps is not allowed.
Any advice is welcome:
- How to enable GAE
- How to avoid time outs during deploy App to GAE
Thanks a lot
The public issue tracker is a good place to put bugs and/or feature requests. For faster and more urgent issues, contact the Google Cloud Platform support team directly and they will be able to assist you.
Your issue could also simple be a propagation delay, so if in 24/48 hours and you still can't, then it's likely a bug. Furthermore, you can always deploy to another project if it's all the same to you.

Force phonegap disconnect

I need to test the online and offline events written in my app. I'm testing the app through my browser so I'd like some code that simulates a disconnect from the internet in phonegap. As in forcing it to go offline then back online, client side. How can I do this?
Have you already tried use PhoneGap Emulation? There is a lot of features.
You can also test directly on device. Android logcat can receive the console.log of browser. I belive this works with xcode too.

App don't work under IE 9

I deployed my app successfully on GAE (Java), and the thing works as expected under Chrome (and others) under MacOS X. Today at work I wanted to test my app on IE 9.0.8 / Vista, and the app won't load.
My app displays a "loading" message on the page until all objects of the UI are loaded. When I load the UI I also fetch some data using RPC. When the job gets done the loading message disapears and my app shows up.
As I don't see any error or Exception / nothing special in the app engine logs, how can I start to find the bug ?
The only difference I see is that, at work, my computer goes online trough many firewall and proxys, but as i can open the page and login it should not be a problem. But anyway, just after I login (using google accounts, not openID) the app "hangs". Ideas ?
You should start by inspecting network connections in IE9 to see if everything loads as expected. See also GWT tricks for IE9.
Try running your GWT app in dev mode, this way you should be able to see the client-side errors in the GWT console. Client-side error messages are not displayed in Web mode, unless you implemented code to handle them.

Where are the GAE Backends logs?

As soon as I figured out how to invoke my app as a Backends app, my log messages stopped appearing.
I found this helpful post which says the Backends logs are kept separately and that I need to switch to Backends view by selecting the named backend from the dropdown at the top of the admin console, but I don't see anything Backends specific in that list to select.
Perhaps this is a clue... when I invoke my app via myapp.appspot.com/dostuff, in the log I see I'm getting the DeadlineExceededError after 60 secs, indicating it's not running as a Backends app. But when I invoke it via mybackend.myapp.appspot.com/dostuff, it continues running as needed, but no log entries!
Seems like I'm missing something. Thanks.
Somehow my app wasn't fully recognized by GAE as a Backend app. And therefore my backend instances weren't available in the drop-list. Seeing that others had similar trouble with a Python 2.7 app (ex.) that had been initially uploaded as a 2.5 app, I created a new app in GAE and uploaded to there and it worked. Sorry I don't have a more definitive answer.
Before all was working well, I also ended up creating an empty /_ah/start handler as suggested by someone in this thread. Also if you're deploying a multi-threaded backend, make sure to check this post out -- there's some important stuff I didn't run across in the docs.

Resources