Skip to content

Instantly share code, notes, and snippets.

@troy-lamerton
Last active March 29, 2019 14:05
Show Gist options
  • Save troy-lamerton/23bd08b05517bc44f009159447f4468b to your computer and use it in GitHub Desktop.
Save troy-lamerton/23bd08b05517bc44f009159447f4468b to your computer and use it in GitHub Desktop.

Logs recorded

This is all the logs from starting the iOS app until the native prompt appeared. The device is an iPad 2018 9.7 inch with iOS 12.1.4 (16D57).

default	14:41:01.585096 +0100	clashofstreamers	UnityIAP: Requesting 45 products
default	14:41:01.585434 +0100	clashofstreamers	[com.gamingforgood.clashofstreamers] Getting pending notification requests (sync)
default	14:41:01.587509 +0100	clashofstreamers	[com.gamingforgood.clashofstreamers] Got 0 pending notification
default	14:41:01.589342 +0100	clashofstreamers	[com.gamingforgood.clashofstreamers] Getting pending notification requests (sync)
default	14:41:01.589707 +0100	clashofstreamers	[com.gamingforgood.clashofstreamers] Got 0 pending notification
default	14:41:01.600958 +0100	clashofstreamers	UnityIAP: Requesting product data...
default	14:41:01.634910 +0100	clashofstreamers	{"msg":"CLClientIsLocationServicesEnabled", "event":"activity"}
default	14:41:01.638716 +0100	clashofstreamers	{"msg":"CLInternalGetAuthorizationStatus", "event":"activity"}
default	14:41:01.640815 +0100	clashofstreamers	{"msg":"CLLocationManager", "event":"activity", "_cmd":"initWithEffectiveBundleIdentifier:bundle:", "self":"0x281701cc0", "identifier":"", "bundle":""}
default	14:41:01.641229 +0100	clashofstreamers	{"msg":"state transition", "event":"state_transition", "state":"LocationManager", "id":"0x281701cc0", "property":"init", "new":{"previousAuthorizationStatusValid":false,"paused":false,"requestingLocation":false,"updatingVehicleSpeed":false,"desiredAccuracy":-1,"allowsBackgroundLocationUpdates":false,"dynamicAccuracyReductionEnabled":false,"distanceFilter":-1,"allowsLocationPrompts":true,"activityType":0,"persistentMonitoringEnabled":true,"pausesLocationUpdatesAutomatically":0,"updatingVehicleHeading":false,"batchingLocation":false,"showsBackgroundLocationIndicator":false,"updatingLocation":false,"requestingRanging":false,"updatingHeading":false,"previousAuthorizationStatus":0,"allowsMapCorrection":true,"matchInfoEnabled":false,"allowsAlteredAccessoryLocations":false,"updatingRanging":false,"courtesyPromptNeeded":false,"headingFilter":1}}
default	14:41:01.641605 +0100	clashofstreamers	{"msg":"state transition", "event":"state_transition", "state":"LocationManager", "id":"0x281701cc0", "property":"lifecycle", "old":"0x0", "new":"0x283ff6e60"}
default	14:41:01.641890 +0100	clashofstreamers	{"msg":"CLClientCreateWithBundleIdentifierAndPath", "event":"activity", "effectiveBundleIdentifier":"", "effectiveBundlePath":""}
default	14:41:01.642168 +0100	clashofstreamers	#Warning Setting CLCommon's runloop after it was already established
default	14:41:01.642316 +0100	clashofstreamers	{"msg":"client allocated", "client":"0x137648f00"}
default	14:41:01.642983 +0100	clashofstreamers	{"msg":"_CLClientCreateConnection", "event":"activity", "client":"0x137648f00"}
default	14:41:01.643437 +0100	clashofstreamers	{"msg":"Sending cached messages to daemon", "event":"activity"}
default	14:41:01.798762 +0100	clashofstreamers	{"msg":"state transition", "event":"state_transition", "state":"LocationManager", "id":"0x281701cc0", "property":"pausesLocationUpdatesAutomatically", "old":{"type":"decode failure","raw value":0,"expected type":"Generic"}, "new":{"type":"decode failure","raw value":1,"expected type":"Generic"}}
default	14:41:01.799274 +0100	clashofstreamers	{"msg":"CLLocationManager", "event":"activity", "_cmd":"setDelegate:", "self":"0x281701cc0", "delegate":"0x281701d40"}
default	14:41:01.799588 +0100	clashofstreamers	{"msg":"CLLocationManager", "event":"activity", "_cmd":"requestAlwaysAuthorization", "self":"0x281701cc0", "SEL":"requestAlwaysAuthorization"}
default	14:41:01.799918 +0100	clashofstreamers	{"msg":"CLLocationManager", "event":"activity", "_cmd":"setAllowsBackgroundLocationUpdates:", "self":"0x281701cc0", "allows":1}
default	14:41:01.800008 +0100	clashofstreamers	{"msg":"state transition", "event":"state_transition", "state":"LocationManager", "id":"0x281701cc0", "property":"allowsBackgroundLocationUpdates", "old":0, "new":1}
default	14:41:01.800309 +0100	clashofstreamers	{"msg":"CLLocationManager", "event":"activity", "_cmd":"startUpdatingLocation", "self":"0x281701cc0"}
default	14:41:01.800399 +0100	clashofstreamers	{"msg":"state transition", "event":"state_transition", "state":"LocationManager", "id":"0x281701cc0", "property":"updatingLocation", "old":0, "new":1}
default	14:41:01.857580 +0100	clashofstreamers	{"msg":"state transition", "event":"state_transition", "state":"LocationManager", "id":"0x281701cc0", "property":"previousAuthorizationStatus", "old":"NotDetermined", "new":"AuthorizedWhenInUse"}
default	14:41:01.857656 +0100	clashofstreamers	{"msg":"state transition", "event":"state_transition", "state":"LocationManager", "id":"0x281701cc0", "property":"previousAuthorizationStatusValid", "old":0, "new":1}
default	14:41:02.055958 +0100	clashofstreamers	VERBOSE: oneSignalApplicationWillResignActive
default	14:41:02.208014 +0100	clashofstreamers	dt at rate 200 Hz = 4932 us, scaleFactor = 0.986400
default	14:41:02.208328 +0100	clashofstreamers	delivering locations to client's delegate
default	14:41:02.208546 +0100	clashofstreamers	{"msg":"CLLocationManager", "event":"activity", "_cmd":"stopUpdatingLocation", "self":"0x281701cc0"}
default	14:41:02.209838 +0100	clashofstreamers	{"msg":"state transition", "event":"state_transition", "state":"LocationManager", "id":"0x281701cc0", "property":"updatingLocation", "old":1, "new":0}
default	14:41:02.211277 +0100	clashofstreamers	VERBOSE: HTTP Request (OSRequestSendLocation) with URL: https://onesignal.com/api/v1/players/1ba81701-879c-4ac6-bea9-51dd952c0f45, with parameters: {
  "app_id" : "163bcfd6-4058-4a49-9101-67abe4ea3fe6",
  "loc_bg" : true,
  "loc_acc_vert" : 10,
  "lat" : 51.742435797122504,
  "net_type" : 0,
  "loc_acc" : 65,
  "long" : 14.654183977742184
}
default	14:41:02.211332 +0100	clashofstreamers	Task <3E9745B8-9176-4FE5-955B-BAF5AEF176AB>.<1> resuming, QOS(0x19)
default	14:41:02.211384 +0100	clashofstreamers	Task <3E9745B8-9176-4FE5-955B-BAF5AEF176AB>.<1> {strength 0, tls 4, ct 0, sub 0, sig 1, ciphers 0, bundle 0, builtin 0}
default	14:41:02.213866 +0100	clashofstreamers	delivering locations to client's delegate
default	14:41:02.214093 +0100	clashofstreamers	{"msg":"CLLocationManager", "event":"activity", "_cmd":"stopUpdatingLocation", "self":"0x281701cc0"}
default	14:41:02.214171 +0100	clashofstreamers	{"msg":"state transition", "event":"state_transition", "state":"LocationManager", "id":"0x281701cc0", "property":"updatingLocation", "old":0, "new":0}
default	14:41:02.219596 +0100	clashofstreamers	TIC Enabling TLS [5:0x282ed3900]
default	14:41:02.219631 +0100	clashofstreamers	TIC TCP Conn Start [5:0x282ed3900]
default	14:41:02.279101 +0100	clashofstreamers	[C5 Hostname#1b138eb5:443 tcp, url: https://onesignal.com/api/v1/players/1ba81701-879c-4ac6-bea9-51dd952c0f45, tls] start
default	14:41:02.335299 +0100	clashofstreamers	nw_connection_report_state_with_handler_locked [C5] reporting state preparing
default	14:41:02.336525 +0100	clashofstreamers	Task <3E9745B8-9176-4FE5-955B-BAF5AEF176AB>.<1> setting up Connection 5
default	14:41:02.356637 +0100	clashofstreamers	nw_endpoint_flow_protocol_connected [C5.1 IPv4#cab1cf8c:443 in_progress channel-flow (satisfied)] Transport protocol connected
default	14:41:02.357917 +0100	clashofstreamers	TIC TLS Event [5:0x282ed3900]: 1, Pending(0)
default	14:41:02.358032 +0100	clashofstreamers	TIC TLS Event [5:0x282ed3900]: 2, Pending(0)
default	14:41:02.503301 +0100	clashofstreamers	TIC TLS Event [5:0x282ed3900]: 2, Pending(0)
default	14:41:02.551932 +0100	clashofstreamers	TIC TLS Event [5:0x282ed3900]: 11, Pending(0)
default	14:41:02.552105 +0100	clashofstreamers	TIC TLS Event [5:0x282ed3900]: 14, Pending(0)
default	14:41:02.554285 +0100	clashofstreamers	TIC TLS Trust Result [5:0x282ed3900]: 0
default	14:41:02.704866 +0100	clashofstreamers	nw_endpoint_flow_protocol_connected [C5.1 IPv4#cab1cf8c:443 in_progress channel-flow (satisfied)] Output protocol connected
default	14:41:02.705673 +0100	clashofstreamers	nw_connection_report_state_with_handler_locked [C5] reporting state ready
default	14:41:02.706577 +0100	clashofstreamers	TIC TLS Event [5:0x282ed3900]: 20, Pending(0)
default	14:41:02.706691 +0100	clashofstreamers	TIC TCP Conn Connected [5:0x282ed3900]: Err(16)
default	14:41:02.740404 +0100	clashofstreamers	TIC TCP Conn Event [5:0x282ed3900]: 1
default	14:41:02.740463 +0100	clashofstreamers	TIC TCP Conn Event [5:0x282ed3900]: 8
default	14:41:02.740557 +0100	clashofstreamers	TIC TLS Handshake Complete [5:0x282ed3900]
default	14:41:02.740769 +0100	clashofstreamers	new connection to <private> config 0x281272880
default	14:41:02.741816 +0100	clashofstreamers	Task <3E9745B8-9176-4FE5-955B-BAF5AEF176AB>.<1> now using Connection 5
default	14:41:02.742008 +0100	clashofstreamers	nw_endpoint_flow_protocol_connected [C5.1 IPv4#cab1cf8c:443 ready channel-flow (satisfied)] Output protocol connected
default	14:41:02.742306 +0100	clashofstreamers	Task <3E9745B8-9176-4FE5-955B-BAF5AEF176AB>.<1> sent request, body S
default	14:41:02.924762 +0100	clashofstreamers	Task <3E9745B8-9176-4FE5-955B-BAF5AEF176AB>.<1> received response, status 200 content U
default	14:41:02.924894 +0100	clashofstreamers	Task <3E9745B8-9176-4FE5-955B-BAF5AEF176AB>.<1> done using Connection 5
default	14:41:02.924948 +0100	clashofstreamers	Task <3E9745B8-9176-4FE5-955B-BAF5AEF176AB>.<1> response ended
default	14:41:02.926055 +0100	clashofstreamers	VERBOSE: network response (OSRequestSendLocation): {
    success = 1;
}
default	14:41:04.685006 +0100	clashofstreamers	UnityIAP: Received 45 products
default	14:41:04.685165 +0100	clashofstreamers	UnityIAP: No localized title for: com.clashofstreamers.90offdeal. Have your products been disapproved in itunes connect?
default	14:41:04.696233 +0100	clashofstreamers	UnityIAP: No localized title for: com.clashofstreamers.weeklysale03. Have your products been disapproved in itunes connect?
default	14:41:04.696742 +0100	clashofstreamers	UnityIAP: No App Receipt found

Unwanted native prompt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment