hugoloza / gwt-mobile-webkit

Automatically exported from code.google.com/p/gwt-mobile-webkit
2 stars 0 forks source link

Since my last update into geolocation module 0.9.4 my project doesn't work on mac/safari 4.0.4 #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
http://sharemyposition.appspot.com

bodyhtml
/client/7A42A07EB3734AAC7E9D01B5021BDF7D.cache.html:709TypeError: Result of 
expression 
'(Id(),Hd).create' [undefined] is not a function.

it's working properly on my Firefox 3.5.7 and iPhone.

Original issue reported on code.google.com by smaucourt on 14 Jan 2010 at 1:20

GoogleCodeExporter commented 9 years ago
Can you try the latest in Subversion? I made some (minor) changes to the API 
selection routine. See 
[BuildingFromSource] for instructions.

Original comment by bguijt on 14 Jan 2010 at 2:08

GoogleCodeExporter commented 9 years ago
i confirm this issue. Doesn't work too on my iMac... working properly on FF 
3.5.7, Android 1.6 & iPhone 3.1.2. 
i'm going to try the lastest version.

Original comment by smaucourt on 15 Jan 2010 at 7:45

GoogleCodeExporter commented 9 years ago
Well, I *can't* confirm the issue (Safari 4.0.4, OS X 10.6): the page 
http://sharemyposition.appspot.com/ 
yields the correct warning "Geolocation API is not supported. You need to use a 
iPhone, Android Phone or 
Firefox browser (> 3.5)." and the button is disabled.

However, I think I know what's going on: Perhaps you installed Gears on the 
same system *on a different 
browser*. That way, Safari gets the Gears plugin too, but not properly 
installed. Technically, the page 'sees' 
the window.google.gears.factory attribute, but cannot invoke any operations on 
it. As a result, the Gears API is 
selected in the 'geolocation.api' GWT property selector, but won't work.

At least, that's what happened on my system. On another Mac, I installed Gears 
from a .dmg download, which 
succeeded, and works just fine.

Try removing Library/Internet Plugins/Gears.plugin from your system, restart 
Safari, see what happens. Or 
install Geolocation API from SVN head, which fixes the problem (on my system at 
least).

Original comment by bguijt on 15 Jan 2010 at 2:17

GoogleCodeExporter commented 9 years ago
just a word... "congratulation"... that was exactly this problem .. so under 
mac os leopard + Safari .. REMOVE 
Google Gears ;-)

Original comment by smaucourt on 15 Jan 2010 at 2:29

GoogleCodeExporter commented 9 years ago
Well, only if installed improperly (and you need to remove the plugin before a 
re-install of Gears).

Anyway, I'll close the bug and upload a 'sharper' Geolocation API 0.9.5.

Original comment by bguijt on 15 Jan 2010 at 2:44

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r283.

Original comment by bguijt on 15 Jan 2010 at 2:54

GoogleCodeExporter commented 9 years ago
See also: 
http://groups.google.com/group/gears-users/browse_thread/thread/0d6c98a543ad0a99

Gears is 32bit only (on Mac at least)

Original comment by bguijt on 15 Jan 2010 at 3:24