ios分享的时候,提示初始化未完成,是怎么回事?初始化数据是放在appdelegate里面啦


(laoniu) #1

分享的时候,提示初始化未完成,是怎么回事?初始化数据是放在appdelegate里面啦


#2

查看完整的客户端日志信息,从初始化开始


(laoniu) #3
2018-08-15 15:47:32.261218+0800 newsApp[5547:2843689]  | JIGUANG | I - [JIGUANGService] 
--------------------------- JShare Log ----------------------------
--------------------JShare SDK Version:1.6.0--build:64----------
--------------------JCore Lib Version:1.2.1--build:53-----------------
-----------------AppKey:8d8adb1a7efdc432b95e1c8c----------------
----------------------------------------------------------------
2018-08-15 15:47:32.264532+0800 newsApp[5547:2843689]  | JIGUANG | I - [JIGUANGClientController] Action - setup
2018-08-15 15:47:32.268711+0800 newsApp[5547:2843689]  | JIGUANG | W - [JIGUANGClientController] APNs is not available,please check your provisioning profile and certification
2018-08-15 15:47:32.333418+0800 newsApp[5547:2843689]  | JIGUANG | D - [JIGUANGPageFlow] trySetupSession
2018-08-15 15:47:32.333524+0800 newsApp[5547:2843689]  | JIGUANG | D - [JIGUANGPageFlow] setupSession
2018-08-15 15:47:32.368682+0800 newsApp[5547:2843697]  | JIGUANG | D - [JIGUANGUserActiveReport] report content {
	time = 14:24:38;
	session_id = bfc598cef3489a3cd1f1a06a4298515f;
	duration = 15.4;
	date = 2018-08-15;
	type = active_terminate;
	itime = 1534319252;
	timezone = +8;
}
2018-08-15 15:47:32.381203+0800 newsApp[5547:2843691]  | JIGUANG | D - [JIGUANGHttpSessionController] Action - setupSession
2018-08-15 15:47:32.381619+0800 newsApp[5547:2843691]  | JIGUANG | D - [JIGUANGPageFlow] setupSession
2018-08-15 15:47:32.396966+0800 newsApp[5547:2843691]  | JIGUANG | D - [JIGUANGPageFlow] resetCurrentPage
2018-08-15 15:47:32.412864+0800 newsApp[5547:2843691]  | JIGUANG | D - [JIGUANGUtilities] wifi 信息:{
	itime = 1534319252;
	ssid = 14F-NewBusiness-2;
	mac_address = 78:44:fd:5b:fc:5b;
}
2018-08-15 15:47:32.421710+0800 newsApp[5547:2843691]  | JIGUANG | D - [JIGUANGUtilities] WWAN 信息:{
	radio_type = lte;
	generation = wifi;
	mobile_network_code = 01;
	mobile_country_code = 460;
	itime = 1534319252;
}
2018-08-15 15:47:32.456939+0800 newsApp[5547:2843691]  | JIGUANG | D - [JIGUANGNetworkController] Action - trySetupSession
2018-08-15 15:47:32.457081+0800 newsApp[5547:2843691]  | JIGUANG | D - [JIGUANGHttpSessionController] Action - setupSession
2018-08-15 15:47:32.457187+0800 newsApp[5547:2843691]  | JIGUANG | D - [JIGUANGNetworkController] userDefaut verified: 1, curNetworkStatus: 2
2018-08-15 15:47:32.457858+0800 newsApp[5547:2843691]  | JIGUANG | D - [JIGUANGUtilities] JCOREPostNotificationWithUserInfo name: kJPFNetworkIsConnectingNotification (null)
2018-08-15 15:47:32.458039+0800 newsApp[5547:2843691]  | JIGUANG | D - [JIGUANGSessionController] Action - connect
2018-08-15 15:47:32.458202+0800 newsApp[5547:2843689]  | JIGUANG | D - [JIGUANGSessionController] Action - isSisOnProtect
2018-08-15 15:47:32.458507+0800 newsApp[5547:2843689]  | JIGUANG | D - [JIGUANGSessionController] sis is not on protect
2018-08-15 15:47:32.458565+0800 newsApp[5547:2843689]  | JIGUANG | D - [JIGUANGSessionController] Action - reset sis cache
2018-08-15 15:47:32.458659+0800 newsApp[5547:2843697]  | JIGUANG | D - [JIGUANGAddressController] 开始Sis解析
2018-08-15 15:47:32.458708+0800 newsApp[5547:2843697]  | JIGUANG | D - [JIGUANGAddressController] Action - sendSisRequest
2018-08-15 15:47:32.479569+0800 newsApp[5547:2843718]  | JIGUANG | D - [JIGUANGAddressController] get address :121.46.30.59 from host : s.jpush.cn
2018-08-15 15:47:32.479673+0800 newsApp[5547:2843718]  | JIGUANG | D - [JIGUANGAddressController] Action - sendSisRequest:toDefaultPort:toCustomPort
2018-08-15 15:47:32.479721+0800 newsApp[5547:2843718]  | JIGUANG | D - [JIGUANGUdpSocket] close udp socket,info:
2018-08-15 15:47:32.483963+0800 newsApp[5547:2843690]  | JIGUANG | D - [JIGUANGUdpSocket] send udp data
2018-08-15 15:47:32.484038+0800 newsApp[5547:2843690]  | JIGUANG | D - [JIGUANGUdpSocket] send udp data succeed
2018-08-15 15:47:32.484085+0800 newsApp[5547:2843690]  | JIGUANG | D - [JIGUANGUdpSocket] udp socket begin send behavior
2018-08-15 15:47:34.246142+0800 newsApp[5547:2843718]  | JIGUANG | D - [JIGUANGReport] send report:(
	{
	time = 14:24:38;
	session_id = bfc598cef3489a3cd1f1a06a4298515f;
	duration = 15.4;
	date = 2018-08-15;
	type = active_terminate;
	itime = 1534319252;
	timezone = +8;
}
,
) log succed
2018-08-15 15:47:34.268274+0800 newsApp[5547:2843718]  | JIGUANG | D - [JIGUANGService] Action - setDebugMode
2018-08-15 15:47:34.619463+0800 newsApp[5547:2843697]  | JIGUANG | D - [JIGUANGReport] send report:(
	{
	status = 2;
	level = 94;
	type = battery;
	itime = 1534319252;
}
,
) log succed
2018-08-15 15:47:34.630341+0800 newsApp[5547:2843690]  | JIGUANG | D - [JIGUANGReport] send report:(
	{
	session_id = 25766475e9b53646ead6665584cb699c;
	date = 2018-08-15;
	timezone = +8;
	type = active_launch;
	time = 15:47:32;
	itime = 1534319252;
}
,
) log succed
2018-08-15 15:47:34.643974+0800 newsApp[5547:2843698]  | JIGUANG | D - [JIGUANGReport] send report:(
	{
	itime = 1534319252;
	data = (
	{
	itime = 1534319252;
	cell = (
	{
	radio_type = lte;
	generation = wifi;
	mobile_network_code = 01;
	mobile_country_code = 460;
	itime = 1534319252;
}
,
);
	wifi = (
	{
	itime = 1534319252;
	ssid = 14F-NewBusiness-2;
	mac_address = 78:44:fd:5b:fc:5b;
}
,
);
}
,
);
	type = loc_info;
	network_type = WIFI,;
}
,
) log succed
2018-08-15 15:47:36.619854+0800 newsApp[5547:2843689]  | JIGUANG | D - [JIGUANGAddressController] get address :121.46.30.59 from host : sis.jpush.io
2018-08-15 15:47:36.621597+0800 newsApp[5547:2843689]  | JIGUANG | D - [JIGUANGAddressController] Action - sendSisRequest:toDefaultPort:toCustomPort
2018-08-15 15:47:36.703754+0800 newsApp[5547:2843697]  | JIGUANG | D - [JIGUANGUdpSocket] close udp socket,info:
2018-08-15 15:47:36.717029+0800 newsApp[5547:2843718]  | JIGUANG | D - [JIGUANGUdpSocket] send udp data
2018-08-15 15:47:36.717318+0800 newsApp[5547:2843718]  | JIGUANG | D - [JIGUANGUdpSocket] send udp data succeed
2018-08-15 15:47:36.718153+0800 newsApp[5547:2843718]  | JIGUANG | D - [JIGUANGUdpSocket] udp socket begin send behavior
2018-08-15 15:47:40.800519+0800 newsApp[5547:2843691]  | JIGUANG | D - [JIGUANGAddressController] get address :124.202.138.30 from host : easytomessage.com
2018-08-15 15:47:40.807391+0800 newsApp[5547:2843690]  | JIGUANG | D - [JIGUANGAddressController] Action - sendSisRequest:toDefaultPort:toCustomPort
2018-08-15 15:47:40.909227+0800 newsApp[5547:2843718]  | JIGUANG | D - [JIGUANGUdpSocket] close udp socket,info:
2018-08-15 15:47:40.926989+0800 newsApp[5547:2843698]  | JIGUANG | D - [JIGUANGUdpSocket] send udp data
2018-08-15 15:47:40.927264+0800 newsApp[5547:2843698]  | JIGUANG | D - [JIGUANGUdpSocket] send udp data succeed
2018-08-15 15:47:40.928177+0800 newsApp[5547:2843718]  | JIGUANG | D - [JIGUANGUdpSocket] udp socket begin send behavior
2018-08-15 15:47:45.018651+0800 newsApp[5547:2843718]  | JIGUANG | D - [JIGUANGAddressController] Action - sendSisRequest:toDefaultPort:toCustomPort
2018-08-15 15:47:45.095525+0800 newsApp[5547:2843718]  | JIGUANG | D - [JIGUANGUdpSocket] close udp socket,info:
2018-08-15 15:47:45.109317+0800 newsApp[5547:2843697]  | JIGUANG | D - [JIGUANGUdpSocket] send udp data
2018-08-15 15:47:45.109599+0800 newsApp[5547:2843697]  | JIGUANG | D - [JIGUANGUdpSocket] send udp data succeed
2018-08-15 15:47:45.109797+0800 newsApp[5547:2843697]  | JIGUANG | D - [JIGUANGUdpSocket] udp socket begin send behavior
2018-08-15 15:47:45.163110+0800 newsApp[5547:2843718]  | JIGUANG | D - [JIGUANGAddressController] Action - parse
2018-08-15 15:47:45.306383+0800 newsApp[5547:2843718]  | JIGUANG | D - [JIGUANGAddressController] Action - parse ips address
2018-08-15 15:47:45.371748+0800 newsApp[5547:2843718]  | JIGUANG | D - [JIGUANGAddressController] Action - parseOptionAddress
2018-08-15 15:47:45.428961+0800 newsApp[5547:2843718]  | JIGUANG | D - [JIGUANGUdpSocket] close udp socket,info:
2018-08-15 15:47:45.430998+0800 newsApp[5547:2843718]  | JIGUANG | D - [JIGUANGSessionController] current network, ipv4
2018-08-15 15:47:45.431761+0800 newsApp[5547:2843718]  | JIGUANG | D - [JIGUANGSessionController] Action - connectTcp
2018-08-15 15:47:45.431967+0800 newsApp[5547:2843718]  | JIGUANG | D - [JIGUANGSessionController] Action - connectTcpAddress:
2018-08-15 15:47:45.432223+0800 newsApp[5547:2843718]  | JIGUANG | D - [JIGUANGSessionController] connectTcp:117.121.49.81:7004
2018-08-15 15:47:45.432462+0800 newsApp[5547:2843718]  | JIGUANG | I - [JIGUANGSessionController] connecting with coreAddr 117.121.49.81,port 7004
2018-08-15 15:47:45.447406+0800 newsApp[5547:2843697]  | JIGUANG | D - [JIGUANGTcpSocket] 连接主机成功
2018-08-15 15:47:45.447739+0800 newsApp[5547:2843697]  | JIGUANG | D - [JIGUANGAddressController] Action - sisReport:port
2018-08-15 15:47:45.449543+0800 newsApp[5547:2843697]  | JIGUANG | D - [JIGUANGUdpSocket] send udp data
2018-08-15 15:47:45.449938+0800 newsApp[5547:2843697]  | JIGUANG | D - [JIGUANGUdpSocket] send udp data succeed
2018-08-15 15:47:45.450731+0800 newsApp[5547:2843697]  | JIGUANG | D - [JIGUANGUtilities] JCOREPostNotificationWithUserInfo name: kJPUSHNetworkDidSetupNotification (null)
2018-08-15 15:47:45.525056+0800 newsApp[5547:2843718]  | JIGUANG | D - [JIGUANGSessionController] Action - doSendTcpRequest
2018-08-15 15:47:45.530825+0800 newsApp[5547:2843718]  | JIGUANG | D - [JIGUANGUdpSocket] udp socket begin send behavior
2018-08-15 15:47:45.559980+0800 newsApp[5547:2843718]  | JIGUANG | I - [JIGUANGLogin] 
----- login result -----
uid:19626753709 
registrationID:18171adc0356e57b1e0 
idc:1
2018-08-15 15:47:45.560883+0800 newsApp[5547:2843718]  | JIGUANG | D - [JIGUANGTcpSocket] Got tcp command
2018-08-15 15:47:45.561620+0800 newsApp[5547:2843718]  | JIGUANG | D - [JIGUANGSessionController] Action - onAckOrRespReceived:
2018-08-15 15:47:45.562457+0800 newsApp[5547:2843718]  | JIGUANG | D - [JIGUANGSessionController] Event - onLoginRespond
2018-08-15 15:47:45.566450+0800 newsApp[5547:2843718]  | JIGUANG | D - [JIGUANGUtilities] JCOREPostNotificationWithUserInfo name: kJPUSHNetworkDidLoginNotification (null)
2018-08-15 15:47:45.568269+0800 newsApp[5547:2843718]  | JIGUANG | D - [JIGUANGUtilities] JCOREPostNotificationWithUserInfo name: kJPUSHNetworkDidCloseNotification (null)
2018-08-15 15:47:45.568995+0800 newsApp[5547:2843718]  | JIGUANG | D - [JIGUANGSessionController] Action - reenqueueSendingRequests
2018-08-15 15:47:45.569750+0800 newsApp[5547:2843718]  | JIGUANG | D - [JIGUANGTcpSocket] 关闭TCP连接
2018-08-15 15:47:45.571054+0800 newsApp[5547:2843718]  | JIGUANG | D - [JIGUANGUdpSocket] close udp socket,info:

#4

这个日志中没看到有报错


(laoniu) #5

点击分享的时候,第一下报错,初始化未完成,等一秒,再点击就可以了,是咋回事。。。初始化是在appdelegate里面啊,怎么会影响到里面的分享


#6

将你完整的日志给一下,你给的日志里面并不包含你描述的场景得到的日志,没看到报错信息