View Single Post
Posts: 207 | Thanked: 482 times | Joined on Mar 2016
#206
Ahha, it worked right after install, now when I relaunch it it also shows me "Re-open" stuff.
Now, restarted daemon (to debug) and again got new token page. something strange


Edit: Ok, so to me it works differently. When I click settings when app is not running I'm getting Re-open page.
But subsequent reuqest (swipe right, click settings again) opens Create New Token page.

Code:
[D] JSKitManager::startJsApp:216 - starting JS app "Authenticator" 
[D] JSKitManager::loadJsFile:187 - evaluating js file ":/jskitsetup.js" 
[D] JSKitManager::loadJsFile:195 - JS script evaluated 
[D] JSKitManager::loadJsFile:187 - evaluating js file ":/typedarray.js" 
[D] JSKitManager::loadJsFile:195 - JS script evaluated 
[D] JSKitManager::startJsApp:250 - loaded script "undefined" 
[D] JSKitPebble::invokeCallbacks:357 - invoking callback "ready" "function() { \[code\] }" 
[D] JSKitPebble::sendAppMessage:55 - sendAppMessage QMap(("AMReadTokenList", QVariant(int, 1) ) )  
[D] AppMsgManager::mapAppKeys:168 - Have appkeys: ("AMReadTokenList_Result", "AMSetTokenListOrder", "AMSetUTCOffset", "AMClearTokens", "AMReadTokenList_Finished", "AMReadTokenList", "AMDeleteToken", "AMCreateToken_Name", "AMUpdateToken", "AMCreateToken", "AMCreateToken_ID") 
[D] AppMsgManager::send:88 - Queueing appmsg 4 to QUuid("{da96ea4e-7793-4301-9d9a-68714a902730}") with dict QMap((6, QVariant(int, 1) ) )  
[D] JSKitManager::loadJsFile:187 - evaluating js file ":/cacheLocalStorage.js" 
[D] JSKitManager::loadJsFile:195 - JS script evaluated 
[D] JSKitManager::startJsApp:274 - going to launch config for QUuid("{da96ea4e-7793-4301-9d9a-68714a902730}") 
[D] JSKitManager::showConfiguration:50 - requesting configuration 
[D] JSKitPebble::invokeCallbacks:357 - invoking callback "showConfiguration" "function() { \[code\] }" 
[D] AppMsgManager::handlePushMessage:358 - Received appmsg PUSH from QUuid("{da96ea4e-7793-4301-9d9a-68714a902730}") with QMap((8, QVariant(int, 1) ) )  
[D] AppMsgManager::mapAppKeys:199 - checking app key 8 "AMReadTokenList_Finished" 
[D] AppMsgManager::handlePushMessage:361 - Mapped dict QMap(("AMReadTokenList_Finished", QVariant(int, 1) ) )  
[D] AppMsgManager::handlePushMessage:374 - ACKing transaction 1 
[D] JSKitManager::handleAppMessage:109 - handling app message QUuid("{da96ea4e-7793-4301-9d9a-68714a902730}") QMap(("AMReadTokenList_Finished", QVariant(int, 1) ) )  
[D] JSKitPebble::invokeCallbacks:357 - invoking callback "appmessage" "function() { \[code\] }" 
[D] JSKitManager::loadJsFile:187 - evaluating js file ":/cacheLocalStorage.js" 
[D] JSKitManager::loadJsFile:195 - JS script evaluated 
[D] AppMsgManager::handleAckMessage:404 - Got  ACK  to transaction 4 
[D] JSKitPebble::sendAppMessage:55 - sendAppMessage QMap(("AMSetUTCOffset", QVariant(double, 7200) ) )  
[D] AppMsgManager::mapAppKeys:168 - Have appkeys: ("AMReadTokenList_Result", "AMSetTokenListOrder", "AMSetUTCOffset", "AMClearTokens", "AMReadTokenList_Finished", "AMReadTokenList", "AMDeleteToken", "AMCreateToken_Name", "AMUpdateToken", "AMCreateToken", "AMCreateToken_ID") 
[D] AppMsgManager::send:88 - Queueing appmsg 5 to QUuid("{da96ea4e-7793-4301-9d9a-68714a902730}") with dict QMap((0, QVariant(double, 7200) ) )  
[D] AppMsgManager::handleAckMessage:404 - Got  ACK  to transaction 5
here it failed to open proper page, and then next attempt

Code:
[D] JSKitManager::showConfiguration:50 - requesting configuration 
[D] JSKitPebble::invokeCallbacks:357 - invoking callback "showConfiguration" "function() { \[code\] }"
worked ok.

Also added alert-box control to gecko bcz the page complains that my token is invalid (cannot decode token). Without alert box clicking on Add button does nothing. Only in logs it's seen that page attempts to raise alert (AsyncMessage: embed:alert)

But settings page accepted token Blah Blah. So now my authenticator can authenticate me for Blah
I've tried to enter OAuth token, seems it's for something different

Last edited by ruff; 2016-04-07 at 13:09.