Toggle navigation
Toggle navigation
This project
Loading...
Sign in
open-source
/
warply_sdk_framework
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
Manos Chorianopoulos
2022-09-22 17:40:48 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
3cd260c7c6872bbfcc4245dc9e5d3b4864de5cdb
3cd260c7
1 parent
417ed0a0
fix sendDeviceInfoIfNecessary
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
SwiftWarplyFramework/SwiftWarplyFramework/Warply/managers/WLPushManager.m
SwiftWarplyFramework/SwiftWarplyFramework/Warply/managers/WLPushManager.m
View file @
3cd260c
...
...
@@ -365,11 +365,11 @@ static const char* jailbreak_apps[] =
BOOL
application_data_has_changed
=
!
[[
self
applicationData
]
isEqualToDictionary
:
oldApplicationData
];
// TODO: DELETE
NSLog
(
@"oldDeviceInfo: %@"
,
oldDeviceInfo
);
NSLog
(
@"device_info_has_changed: %@"
,
device_info_has_changed
);
NSLog
(
@"oldApplicationData: %@"
,
oldApplicationData
);
NSLog
(
@"application_data_has_changed: %@"
,
application_data_has_changed
);
NSLog
(
@"_isMissingDeviceInfo: %@"
,
_isMissingDeviceInfo
);
//
NSLog(@"oldDeviceInfo: %@",oldDeviceInfo);
//
NSLog(@"device_info_has_changed: %@",device_info_has_changed);
//
NSLog(@"oldApplicationData: %@",oldApplicationData);
//
NSLog(@"application_data_has_changed: %@",application_data_has_changed);
//
NSLog(@"_isMissingDeviceInfo: %@",_isMissingDeviceInfo);
if
(
device_info_has_changed
||
application_data_has_changed
||
_isMissingDeviceInfo
)
{
[
self
sendDeviceInfo
];
...
...
@@ -414,11 +414,11 @@ static const char* jailbreak_apps[] =
BOOL
application_data_has_changed
=
!
[[
self
applicationData
]
isEqualToDictionary
:
oldApplicationData
];
// TODO: DELETE
NSLog
(
@"oldDeviceInfo: %@"
,
oldDeviceInfo
);
NSLog
(
@"device_info_has_changed: %@"
,
device_info_has_changed
);
NSLog
(
@"oldApplicationData: %@"
,
oldApplicationData
);
NSLog
(
@"application_data_has_changed: %@"
,
application_data_has_changed
);
NSLog
(
@"_isMissingDeviceInfo: %@"
,
_isMissingDeviceInfo
);
//
NSLog(@"oldDeviceInfo: %@",oldDeviceInfo);
//
NSLog(@"device_info_has_changed: %@",device_info_has_changed);
//
NSLog(@"oldApplicationData: %@",oldApplicationData);
//
NSLog(@"application_data_has_changed: %@",application_data_has_changed);
//
NSLog(@"_isMissingDeviceInfo: %@",_isMissingDeviceInfo);
// if (device_info_has_changed || application_data_has_changed || _isMissingDeviceInfo) {
[
self
sendDeviceInfo
:
newDeviceToken
];
...
...
Please
register
or
login
to post a comment