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-10-26 18:46:35 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
ca0cec6356ca727c6ee0ba0d864d8c2ae25097f9
ca0cec63
1 parent
7cbab28f
test code for push
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
0 deletions
SwiftWarplyFramework/SwiftWarplyFramework.xcworkspace/xcuserdata/manos.xcuserdatad/UserInterfaceState.xcuserstate
SwiftWarplyFramework/SwiftWarplyFramework/MyApi.m
SwiftWarplyFramework/SwiftWarplyFramework.xcworkspace/xcuserdata/manos.xcuserdatad/UserInterfaceState.xcuserstate
View file @
ca0cec6
No preview for this file type
SwiftWarplyFramework/SwiftWarplyFramework/MyApi.m
View file @
ca0cec6
...
...
@@ -121,6 +121,23 @@ NSString *VERIFY_URL = @"/partners/cosmote/verify";
NSURLCache
*
sharedCache
=
[[
NSURLCache
alloc
]
initWithMemoryCapacity
:
cacheSizeMemory
diskCapacity
:
cacheSizeDisk
diskPath
:
@"nsurlcache"
];
[
NSURLCache
setSharedURLCache
:
sharedCache
];
// TEST CODE FOR PUSH - PUSH FIX
// ===========
// NSSet<UIScene *> * sceneArr = [[UIApplication sharedApplication] connectedScenes];
// UIScene * scene = [[sceneArr allObjects] firstObject];
// NSObject * sceneDelegate = (NSObject *)scene.delegate;
// // for example, try to get variable "window"
// UIWindow *currentKeyWindow = [sceneDelegate valueForKey: @"window"];
// NSLog(@"currentKeyWindow: %@", currentKeyWindow);
// NSLog(@"sceneDelegate: %@", sceneDelegate);
// // ===========
// UIViewController *existingModalController = [[UIApplication sharedApplication].delegate.window.rootViewController topModalViewController];
// NSLog(@"existingModalController: %@", existingModalController);
// NSLog(@"[UIApplication sharedApplication].delegate.window.rootViewController: %@", [UIApplication sharedApplication].delegate.window.rootViewController);
// // ===========
// date = [NSDate date];
// if ([CMPedometer isStepCountingAvailable]) {
// pedometer = [[CMPedometer alloc] init];
...
...
Please
register
or
login
to post a comment