The Following 5 Users Say Thank You to ruff For This Useful Post: | ||
|
2016-03-31
, 07:50
|
Posts: 287 |
Thanked: 862 times |
Joined on Dec 2015
|
#152
|
The Following 2 Users Say Thank You to abranson For This Useful Post: | ||
|
2016-03-31
, 08:54
|
|
Moderator |
Posts: 3,718 |
Thanked: 7,419 times |
Joined on Dec 2009
@ Bize Her Yer Trabzon
|
#153
|
yeah, i think this is it, see https://developer.pebble.com/guides/...#account-token
Since we don't give users ability to login - the accounToken is always empty, and the current implementation is faking it:
It means all apps relying on account token won't work till we fix that. It also means that current implementation guarantees anonymity %)Code:// We do not have any account system, so we just fake something up. ... if (token.isEmpty()) { token = QUuid::createUuid().toString();
unfortunately my mitmproxy dump from android has been done with already logged in account, so I don't have that exchange captured. Need to re-iterate the process.
BTW it was the same on pebbled, the implementation in jskitobjects.cpp is identical,
The Following 2 Users Say Thank You to HtheB For This Useful Post: | ||
|
2016-03-31
, 09:16
|
Posts: 287 |
Thanked: 862 times |
Joined on Dec 2015
|
#154
|
|
2016-03-31
, 10:51
|
Posts: 207 |
Thanked: 482 times |
Joined on Mar 2016
|
#155
|
From a libpebble standpoint the code would probably be identical in RockWork and RockPool, but what about the appstore client?
The Following 4 Users Say Thank You to ruff For This Useful Post: | ||
|
2016-03-31
, 11:42
|
Posts: 287 |
Thanked: 862 times |
Joined on Dec 2015
|
#156
|
We're also reusing native code implementation from rockwork mostly, of course we have own platfrom layer in main.cpp but the rest is mostly as-is. We can rename main.cpp to rockpool.cpp to avoid conflicts and then keep rest of the code shared.
Our QML part is also independent now since we've moved it to sailfish-specific dirs (pages/covers).
It's a pity we don't have track log for bazaar - so we cannot say what actually changed since initial import. And unfortunately during the initial import you didn't preserve original state so we also don't have a track of how far we deviated from them during the import.
From what I can see we have only servicecontrol.cpp, pebble.cpp and main.cpp (of course) changed since initial import.
These are topics to settle down if we targeting the merge though.
The Following 3 Users Say Thank You to abranson For This Useful Post: | ||
|
2016-03-31
, 11:50
|
Posts: 207 |
Thanked: 482 times |
Joined on Mar 2016
|
#157
|
The Following 3 Users Say Thank You to ruff For This Useful Post: | ||
|
2016-03-31
, 12:04
|
Posts: 287 |
Thanked: 862 times |
Joined on Dec 2015
|
#158
|
Oh, excellent, so you should be in a better position to say what has changed
We can probably merge pebble and servicecontrol files, just need to move service name definition to some external file, bcz changes there are mostly fixes (missing calls).
We could even make libpebbleclient.so lib and strip down platform part to mere initialization.
The Following 2 Users Say Thank You to abranson For This Useful Post: | ||
|
2016-03-31
, 12:21
|
Posts: 207 |
Thanked: 482 times |
Joined on Mar 2016
|
#159
|
The Following 2 Users Say Thank You to ruff For This Useful Post: | ||
|
2016-03-31
, 13:46
|
Posts: 287 |
Thanked: 862 times |
Joined on Dec 2015
|
#160
|
unfortunately my mitmproxy dump from android has been done with already logged in account, so I don't have that exchange captured. Need to re-iterate the process.
BTW it was the same on pebbled, the implementation in jskitobjects.cpp is identical,