FAQ |
Kalender |
![]() |
#4 | ||
|
|||
Medlem
|
Nu har jag kommit en bit på vägen.
Det ser ut som den kan prata med Urban Airship då den hämtar informationen jag har sparat. Samt ser i consolen när jag skickar ny information. MEN jag har inga devises när jag är inne på kontrollpanelen.... Får följande svar i consolen: 2012-11-14 11:28:35.766 UAPhonegapSample[2261:907] Multi-tasking -> Device: YES, App: YES 2012-11-14 11:28:36.039 UAPhonegapSample[2261:907] Application windows are expected to have a root view controller at the end of application launch 2012-11-14 11:28:39.585 UAPhonegapSample[2261:907] PluginResult:toJSONString - {"status":1,"message":"wifi","keepCallback":fal se} 2012-11-14 11:28:39.587 UAPhonegapSample[2261:907] PluginResult toSuccessCallbackString: cordova.callbackSuccess('NetworkStatus0',{"status" :1,"message":"wifi","keepCallback":false}); 2012-11-14 11:28:39.602 UAPhonegapSample[2261:907] PluginResult:toJSONString - {"status":1,"message":{"name":"Kristers iPhone","uuid":"XXXX","platform":"iPhone","version ":"6.0.1","cordova":"2.0.0"},"keepCallback":fa lse} 2012-11-14 11:28:39.604 UAPhonegapSample[2261:907] PluginResult toSuccessCallbackString: cordova.callbackSuccess('Device1',{"status":1,"mes sage":{"name":"Kristers iPhone","uuid":"XXXX","platform":"iPhone","version ":"6.0.1","cordova":"2.0.0"},"keepCallback":false} ); 2012-11-14 11:28:40.433 UAPhonegapSample[2261:907] [M] => +[UAirship takeOff:] [Line 229] App Key: XXXXX 2012-11-14 11:28:40.436 UAPhonegapSample[2261:907] [M] => +[UAirship takeOff:] [Line 230] App Secret: XXXXX 2012-11-14 11:28:40.439 UAPhonegapSample[2261:907] [M] => +[UAirship takeOff:] [Line 231] Server: https://device-api.urbanairship.com 2012-11-14 11:28:40.494 UAPhonegapSample[2261:907] [M] => -[UAirship configureUserAgent] [Line 349] Setting User-Agent for UA requests to UAPhonegapSample 1.0 (iPhone; iPhone OS 6.0.1; UALib 1.3.3; 0DJN4LxsRY64o1GrpwILdg; sv_SE) 2012-11-14 11:28:40.506 UAPhonegapSample[2261:907] [M] => -[UAAnalytics initWithOptions:] [Line 105] Analytics logging not enabled 2012-11-14 11:28:40.550 UAPhonegapSample[2261:907] Reachability Flag Status: -R -----l- networkStatusForFlags 2012-11-14 11:28:40.604 UAPhonegapSample[2261:907] [M] => -[UAUser migrateUser] [Line 187] Migrating User Info: { UAUserRecoveryKey = 0; UAUserRecoveryKeySent = 0; UAUserTagsKey = ( ); UAUserUrlKey = "https://device-api.urbanairship.com/api/user/RSwthrECQk-Xm0DYsCoqXA/"; } 2012-11-14 11:28:40.656 UAPhonegapSample[2261:907] [M] => -[UAUser loadUser] [Line 268] User Info: { UAUserRecoveryKey = 0; UAUserRecoveryKeySent = 0; UAUserTagsKey = ( ); UAUserUrlKey = "https://device-api.urbanairship.com/api/user/RSwthrECQk-Xm0DYsCoqXA/"; } 2012-11-14 11:28:40.670 UAPhonegapSample[2261:907] PluginResult:toJSONString - {"status":1,"message":{"message":"","extras":{}}," keepCallback":false} 2012-11-14 11:28:40.673 UAPhonegapSample[2261:907] PluginResult toSuccessCallbackString: cordova.callbackSuccess('PushNotificationPlugin2', {"status":1,"message":{"message":"","extras":{}}," keepCallback":false}); 2012-11-14 11:28:40.680 UAPhonegapSample[2261:907] PluginResult:toJSONString - {"status":1,"message":1,"keepCallback":false} 2012-11-14 11:28:40.683 UAPhonegapSample[2261:907] PluginResult toSuccessCallbackString: cordova.callbackSuccess('PushNotificationPlugin3', {"status":1,"message":1,"keepCallback":false}); 2012-11-14 11:28:40.705 UAPhonegapSample[2261:907] PluginResult:toJSONString - {"status":1,"message":1,"keepCallback":false} 2012-11-14 11:28:40.710 UAPhonegapSample[2261:907] PluginResult toSuccessCallbackString: cordova.callbackSuccess('PushNotificationPlugin4', {"status":1,"message":1,"keepCallback":false}); 2012-11-14 11:28:40.733 UAPhonegapSample[2261:907] PluginResult:toJSONString - {"status":1,"message":1,"keepCallback":false} 2012-11-14 11:28:40.739 UAPhonegapSample[2261:907] PluginResult toSuccessCallbackString: cordova.callbackSuccess('PushNotificationPlugin5', {"status":1,"message":1,"keepCallback":false}); 2012-11-14 11:28:40.763 UAPhonegapSample[2261:907] PluginResult:toJSONString - {"status":1,"message":"","keepCallback":false} 2012-11-14 11:28:40.765 UAPhonegapSample[2261:907] PluginResult toSuccessCallbackString: cordova.callbackSuccess('PushNotificationPlugin6', {"status":1,"message":"","keepCallback":false}) ; 2012-11-14 11:28:40.768 UAPhonegapSample[2261:907] PluginResult:toJSONString - {"status":1,"message":"Woot","keepCallback":fal se} 2012-11-14 11:28:40.771 UAPhonegapSample[2261:907] PluginResult toSuccessCallbackString: cordova.callbackSuccess('PushNotificationPlugin7', {"status":1,"message":"Woot","keepCallback":false} ); 2012-11-14 11:28:40.779 UAPhonegapSample[2261:907] PluginResult:toJSONString - {"status":1,"message":{"tags":["Iphone"]},"keepCallback":false} 2012-11-14 11:28:40.783 UAPhonegapSample[2261:907] PluginResult toSuccessCallbackString: cordova.callbackSuccess('PushNotificationPlugin8', {"status":1,"message":{"tags":["Iphone"]},"keepCallback":false}); 2012-11-14 11:28:40.798 UAPhonegapSample[2261:907] PluginResult:toJSONString - {"status":1,"message":{"endHour":0,"startHour":0," startMinute":0,"endMinute":0},"keepCallback":false } 2012-11-14 11:28:40.801 UAPhonegapSample[2261:907] PluginResult toSuccessCallbackString: cordova.callbackSuccess('PushNotificationPlugin9', {"status":1,"message":{"endHour":0,"startHour":0," startMinute":0,"endMinute":0},"keepCallback":false }); 2012-11-14 11:28:40.809 UAPhonegapSample[2261:907] [M] => -[PushNotificationPlugin registerForNotificationTypes:withDict:] [Line 231] PushNotificationPlugin: register for notification types 2012-11-14 11:28:40.811 UAPhonegapSample[2261:907] [M] => -[PushNotificationPlugin registerForNotificationTypes:withDict:] [Line 239] bitmask value: 7 2012-11-14 11:28:40.826 UAPhonegapSample[2261:907] PluginResult:toJSONString - {"status":1,"message":"OK","keepCallback":false } 2012-11-14 11:28:40.829 UAPhonegapSample[2261:907] PluginResult toSuccessCallbackString: cordova.callbackSuccess('PushNotificationPlugin10' ,{"status":1,"message":"OK","keepCallback":false}) ; 2012-11-14 11:28:40.835 UAPhonegapSample[2261:907] [INFO] No incoming message 2012-11-14 11:28:40.863 UAPhonegapSample[2261:907] [M] => -[UAPush updateRegistration] [Line 583] Checking registration state 2012-11-14 11:28:40.887 UAPhonegapSample[2261:907] PluginResult:toJSONString - {"status":1,"message":"OK","keepCallback":false } 2012-11-14 11:28:40.889 UAPhonegapSample[2261:907] PluginResult toSuccessCallbackString: cordova.callbackSuccess('PushNotificationPlugin11' ,{"status":1,"message":"OK","keepCallback":false}) ; 2012-11-14 11:28:40.894 UAPhonegapSample[2261:907] [M] => -[UAPush updateRegistration] [Line 583] Checking registration state 2012-11-14 11:28:40.914 UAPhonegapSample[2261:907] PluginResult:toJSONString - {"status":1,"message":"OK","keepCallback":false } 2012-11-14 11:28:40.916 UAPhonegapSample[2261:907] PluginResult toSuccessCallbackString: cordova.callbackSuccess('PushNotificationPlugin12' ,{"status":1,"message":"OK","keepCallback":false}) ; 2012-11-14 11:28:40.920 UAPhonegapSample[2261:907] PluginResult:toJSONString - {"status":1,"message":"OK","keepCallback":false } 2012-11-14 11:28:40.926 UAPhonegapSample[2261:907] PluginResult toSuccessCallbackString: cordova.callbackSuccess('PushNotificationPlugin13' ,{"status":1,"message":"OK","keepCallback":false}) ; 2012-11-14 11:28:40.930 UAPhonegapSample[2261:907] [INFO] Got alias: Woot 2012-11-14 11:28:40.935 UAPhonegapSample[2261:907] [M] => -[UAUser listenForDeviceTokenReg] [Line 969] ListenForDeviceTokenReg 2012-11-14 11:28:41.365 UAPhonegapSample[2261:907] [M] => -[PushNotificationPlugin application:didFailToRegisterForRemoteNotification sWithError:] [Line 541] PushNotificationPlugin: Failed To Register For Remote Notifications With Error: Error Domain=NSCocoaErrorDomain Code=3000 "ingen giltig aps-environment-behörighetssträng hittades för programmet" UserInfo=0x2df2d0 {NSLocalizedDescription=ingen giltig aps-environment-behörighetssträng hittades för programmet} 2012-11-14 11:28:41.381 UAPhonegapSample[2261:907] [M] => -[PushNotificationPlugin raiseRegistration:withpushID:] [Line 225] js callback: window.pushNotification.registrationCallback({"val id":false,"pushID":""}); 2012-11-14 11:28:55.630 UAPhonegapSample[2261:907] [M] => +[UAKeychainUtils getDeviceID] [Line 269] Retrieved device id info from keychain. 2012-11-14 11:28:55.632 UAPhonegapSample[2261:907] [M] => +[UAKeychainUtils getDeviceID] [Line 273] Device ID result is not nil. 2012-11-14 11:28:55.634 UAPhonegapSample[2261:907] [M] => +[UAKeychainUtils getDeviceID] [Line 282] Loaded Device ID: FFA216C8-203E-4C26-B945-476121C4C9F7 2012-11-14 11:28:55.637 UAPhonegapSample[2261:907] [M] => +[UAKeychainUtils getDeviceID] [Line 283] Loaded Model Name: iPhone3,1 2012-11-14 11:28:56.263 UAPhonegapSample[2261:907] [M] => -[UAAnalytics requestDidSucceed:response:responseData:] [Line 467] Analytics data sent successfully. Status: 200 |
||
![]() |
![]() |
|
|