![]() |
Re: [Announce] Rockpool - Pebble daemon for Sailfish
Quote:
|
Re: [Announce] Rockpool - Pebble daemon for Sailfish
Quote:
Are we sure that apps aren't working because of this? |
Re: [Announce] Rockpool - Pebble daemon for Sailfish
If the account token is useless beyond recognizing a user, I'd guess it shouldn't matter. The Pebble doc doesn't suggest otherwise. I.e., implementing the account system just for this seems pointless.
|
Re: [Announce] Rockpool - Pebble daemon for Sailfish
There are two ways we can implement it - in the GUI only (make a login handhsake, obtain token, stream it down straight to the daemon via DBus - ugly and silica only.
Or we can do it right way - actually extend appstoreclient to do the login, add simple credentials entry dialog, add accountToken attribute to the pebble object, make it sync downwards via dbus to store in the libpebble/jskit. That way rokwork guys would just need to add their version of the simple credentials dialog. Worth checking with them though if they're planning to add this feature, it's quite an obvious miss. |
Re: [Announce] Rockpool - Pebble daemon for Sailfish
As per docs accountToken _may_ be used by apps to store user-specific data. It doesn't say it's an OAuth token which could be used by 3d parties to auth user against the store.
What it obviously carries back is user's store interaction: eg. which apps are marked by user as being liked. eg below is what I captured from my android client: Code:
GET https://dev-portal.getpebble.com/api/users/me?access_token=<accessToken> To nail down app problem to the wrong usage of the accountToken we need to dump js code and see whether it attempts using it. But I still am thinking we should rather return empty string, since token is returned only when logged in to the store. Proper app then should suggest user to log into the store if it requires certain interaction with it using the token. |
Re: [Announce] Rockpool - Pebble daemon for Sailfish
Quote:
The docs are saying Quote:
Quote:
|
Re: [Announce] Rockpool - Pebble daemon for Sailfish
oh wait, developer's watchapps, so it seems it's developer specific, has nothing to do with user. Red herring then.
|
Re: [Announce] Rockpool - Pebble daemon for Sailfish
Ok guys, so we need certain extensive testing of the gecko build to prove it worth merging - i.e. that despite fixed known bugs we didn't introduce some other.
Implemented functionality is similar to that of webkit - only itemSelector is implemented. @abranson - would you prefer me posting it in the own openrepo or you can build and put in your with some tag (eg. gecko-test)? |
Re: [Announce] Rockpool - Pebble daemon for Sailfish
Quote:
I should do the same with the qtwebsockets branch. Is it easy to rename packages/rpms like that? How many places do you have to change it? |
Re: [Announce] Rockpool - Pebble daemon for Sailfish
Oh, I forgot about warehouse, was thinking people are just pulling it down manually :) in that case simple file renaming would suffice.
I don't know how warehouse is working - whether it uses metadata from inside RPM (parsing) or from the file name. Let me look onto the warehouse code to understand what does it consider as an update and what as a separate side packet. In general i think worth creating second repo - rockpool-beta with all these packages. |
All times are GMT. The time now is 21:55. |
vBulletin® Version 3.8.8