Suggestions for the UI (my designer skills are not that good, so I can't create these images, sorry about that)
1. A permission in the manifest file that allows for any app to request for user information - so that during installation of the app, the user can view the permissions needed for the app 2. If the application is requesting for this information for the first time, then the user is prompted with a message: 'MyCoolApp is requesting for your name and email address. Do you wish to share this information?". The icon beside this message will be a Yellow warning symbol (warning since, the user might always suspect any app requesting for personal information) 3. There will be checkbox below the message - 'Remember this decision for this app' 4. There will be four buttons - No / e-mail only / Name only / Both e-mail and name 5. At the app level there must be settings that will allow the user to reset the 'remember my decision' status [ Am guessing something like this exists for location tracking, so the same can be used here too] User says, 'No': On the top right (or left in the case of LtoR languages) corner / bottom corner, a blue-filled circle is displayed, with an user image (the bust ) and a red-line across it. This is to signify that there is no user information shared with the application. Blue so as to give a neutral color for the user. Tooltip: Name and e-mail are not shared with the app User says 'Name only': Same as above, the icon now has a blue circle, with a user image with an overlay of a N in white. The letter 'N' since using a name like John / JDoe might not be identified by all users - not sure on this one though. Tooltip: Name is shared with the app User says 'email only': Same as above, icon now has the standard email icon representation - with a blue circle with an 'e' in a circle or a white circle with a blue 'e'. Tooltip: e-mail address is shared with the app. User says 'both' : A green circle, with a user-bust. Tooltip: Name and e-mail address are shared with the app Like I said, these are just my suggestions. Please let me know what you think. Also, is there a permission in the manifest already for getting this user information? Regards, On Tue, Sep 4, 2012 at 1:11 AM, Jonas Sicking <[email protected]> wrote: > On Sat, Sep 1, 2012 at 2:54 PM, Myk Melez <[email protected]> wrote: >> [adding to: and reply-to: dev-webapi, which seems more appropriate for this >> question] >> >> >> Appists! >> >> felipiz on IRC during today's Apps Challenge in Brazil asked whether there's >> an API to get personal information about the user of an app, for example >> their name and primary email address, so it isn't necessary for each app >> that wants such info to ask the user for it. >> >> I looked at the list of new WebAPIs <https://wiki.mozilla.org/WebAPI>but >> didn't see anything like that (unless Contacts provides it). Has it been >> considered, and are there any plans to provide it? > > We haven't looked at anything like this so far, no. > > It seems like something we could do, but as always with these things, > we'd have to come up with good UI which makes it clear to the user > what is happening. > > / Jonas > _______________________________________________ > dev-webapps mailing list > [email protected] > https://lists.mozilla.org/listinfo/dev-webapps _______________________________________________ dev-webapps mailing list [email protected] https://lists.mozilla.org/listinfo/dev-webapps
