I am learning PWA following the project https://github.com/gokulkrishh/demo-progressive-web-app.
When I go to: http://localhost:3000/, it shows the same page as on https://demopwa.surge.sh/
Now even when the port is not used, I think it shows a cached copy whenever I go to this url.
How can I avoid seeing be aforementioned website after opening http://localhost:3000/ ?
If you have installed the app, enter chrome://apps/ in the address bar and right-click on the app icon and select "Remove from Chrome..."
And then make sure to clear out the browser cache
Related
Hi I was trying to install the hololens 1st gen emulator off of the official website but the download link doesn't work, I am wondering if it just me or is the download link actually broken? I tried with the microsoft archive for the previous releases for the emulators as well but none of the 1st gen ones work
The link: https://learn.microsoft.com/en-us/windows/mixed-reality/develop/install-the-tools?tabs=unity
We have reproduced this issue with some third-party browsers. The actual behavior is the browser pops up a new tab and closes immediately without any download task starts.
For now, it is recommended that you use the Edge browser, after checking it can work fine on this link. Or, the workaround for some third-party browsers is to right-click the emulator download link and select copy address link, then paste it into the address bar.
I recently added apple touch icons to my website. When I add the site to my favorites on my iPad or my wife's 4S it uses the icon. I think that's only because I had never bookmarked the site on those devices before.
On my iPhone, I had previously bookmarked the website in my favorites and it used the generic first number/letter of the website's name as the touch icon. Now that I've got touch icons on there, I can't get it to use them. I've tried clearing the website data on Safari on my phone, closing the browser and reopening it, even shutting off and restarting the phone. No matter what I do, it still uses the generic touch icon. Is there anything I can do to get it to update?
Here's the website: 3to1video.com
I just bookmarked it on my iPhone and added to the home screen and can see the Icon. It did take a while(2s) to get the icon.
Try and see if you get it with a faster web connection and wait for the icon to appear before saving it.
Also Try adding it as a home screen icon and see if that works.
Nice site btw.
Okay, I finally got it to work. It had to do with where in the header the
<link rel="apple-touch-icon" href="apple-touch-icon-57x57-precomposed.png" />
was located. I'm using Squarespace and I had to put it in the header section on the main page rather than the header section of the code injection. Not sure exactly why that made it work in this one instance, but at least it's fixed.
I got it to work too, for my website.
I have an iPhone 6. The deal is, when you want the bookmarks, the favorites, and the Home Screen to work, but you already had favorites before, you have to :
RESET your iPhone
Just clearing all website data will not work.
Am facing an unusual problem on blackberry, after i have signed my app with the 3 keys and say "load onto device" via Eclipse Java Plugin for Blackberry - the app loads successfully on the device, but when i click on it to launch it - does not open up, nor even a error or a dialog pops up. Please Help - Cant find a solution for this!
I have often had this issue using the 9800 device. After loading apps to the device it starts "not launching". If you go to options -> application manager -> your app's permissions you might see some permissions as custom. Setting these to "allow" fixes it. After a while it stopped launching even when allowed, deleting the app and letting the device reboot fixes it.
This is my personal experience, I don't know what the official bug/fix is
Implement logging in your application. Log every step on the application startup and write log to a text file, located on device SD Card.
When your application has been installed and you have tried to launch it, check this text file to find out, what is going wrong with your application.
Also there is internal logging mechanism, you may employ it, instead of logging to text file.
From my point of view internal log is more suitable for simple logging purposes. If you want complex logging, then text file located on SDCard is preferred.
Try to start the app, then check the device event log. To open the event log viewer, hold 'Alt' and then press L,G,L,G. You will likely see an error explaining the problem in the event log viewer.
I have an application that I recently moved to another computer, where it won't run. Previously the application had a different name and a different target. I updated the new information and it runs fine on the original computer, but I can't get it to run on the iOS Simulator on the new computer. The play button is completely greyed out. Anyone have any ideas?
UPDATE: 8/8/2011 13:44
I'm not sure if this helps, but when I go to the Product menu and select "Edit Schemes" it is listing the old application target (which it says is missing). However, I can't find a way to change that in that menu.
FOUND SOLUTION:
I found that by going into the Product menu and selecting "Manage Schemes" that a new window came up. In this window I clicked a button that says, "Autocreate schemes now" and a new scheme with the new app name appeared. Then I went into the Product menu and clicked "Edit Scheme" and another window came up. In this menu, the new scheme was available from the "Scheme" drop down. I selected it, and now all is well.
Thank you, everyone, for your help.
In most all cases, this is caused by the configured SDK version of the application not being present on the newer computer. To adjust this, go to the project settings and adjust the Base SDK to a version that is present on the new computer.
We're developing an html5 offline webapp for the ipod touch/iphone. We have the manifests and everything working correctly, but we can't figure out why our app will not reopen after the 'tab' in iphone safari is closed.
For example's sake, here's what works:
1) open the url to the offline-enabled html file in safari on the ipod touch
2) exit safari, turn wifi off
3) go back into safari where the dynamic webapp is in a window, hit refresh
4) app works offline!
however, if we do this, the offline app dissapears:
5) add a bookmark to the app's url (or a home screen icon)
6) close the 'tab' or window in safari
7) open the bookmark or the home screen icon
8) error message: "Cannot Open Page: Safari cannot open page because it is not connected to the internet."
I've googled on the issue a bit, and you know how it goes, I'll find the answer 2 seconds after hitting 'post' here.. but anyway my gut feeling is that the current latest iphone OS version of safari is trying to dns lookup on the url and erroring out rather than realizing it has the locally stored app already on the device.
anyone run into this? is there some flag i can set in my manifest or something to fix this?
You probably do not have your server properly configured. The Apple docs do not make this clear.
If your server is running Apache (most likely), you need to edit this file: /user/local/apache2/conf/mime.types
Add this line to the end:
text/cache-manifest manifest
You will need to restart Apache so the settings take effect. Could be something like
restart_apache from the shell.
What's happening here is that the server needs to return the cache file back to you with the proper content type set. If you don't do this, the file will probably come back as 'text'. If set properly, it will come back with a type of 'cache-manifest'.
To test what mime type a document is being returned as, use web-sniffer.net. Enter the url to your manifest file - you will see the result displayed in Content-Type:
Tip: Check that whenever you make changes to the files in the manifest that you change something in the manifest itself to indicate that those files need to be downloaded. And watch out for cached files that might not be checked for changes based on their expiration settings
It seems Safari (and thus the iPhone) expects all files to be listed in the manifest - even the main file of the app. I was using default.asp as the main page of my app and not including this in the manifest. My app was run from mydomain.com/myapp/ and thus the browser never saw the "default.asp". Also, according to the HTML5 spec, the main page need not be in the manifest but apparently Safari sees that a little differently.
My solution was to avoid using default.asp and calling my app app.asp and adding "app.asp" to the manifest. Hope this helps.