I have an app which has been running on iGoogle for 2+ years that
suddenly stopped working a short time ago.  The problem is that the
__MODULE_ID__ is always set to 0 now.  I am using the legacy API and I
could easily change to the newer gadgets api, but the
gadgets.prefs.getModuleId() is also returning 0 in all of my tests.
Is this a bug, or am I missing something?


Actually, I do not really use the module ID Directly.  I simply use it
to determine if I am on a platform that supports storage of
preferences.  (ie iGoogle does, Google Toolbar does not).
Historically, (at least according to my tests) the module_id was set
on platforms which supported persistent storage and was not on
platforms that did not.

Any ideas on how to get the module ID, or even better, how to
determine if persistent storage is supported?

(Just FYI - one approach is to set a preference and then check for it
on the next hit.  This does work, but its a pretty poor user
experience for the app to work incorrectly on the first use)

-- 
You received this message because you are subscribed to the Google Groups 
"iGoogle Developer Forum" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/Google-Gadgets-API?hl=en.

Reply via email to