-
Notifications
You must be signed in to change notification settings - Fork 264
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Adds a new badge handling system in the OneSignalNotificationServiceExtension * The SDK now handles badge count logic on the device itself instead of relying on the backend * Adds support for the NSLocationAlwaysAndWhenInUseUsageDescription Info.plist location permissions key
- Loading branch information
Showing
5 changed files
with
4 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+154 KB
(100%)
iOS_SDK/OneSignalSDK/Framework/OneSignal.framework/Versions/A/OneSignal
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -143,7 +143,7 @@ - (void)testUnauthenticatedEmail { | |
[OneSignal setEmail:@"[email protected]" withSuccess:nil withFailure:nil]; | ||
|
||
[UnitTestCommonMethods runBackgroundThreads]; | ||
NSLog(@"LAST REQ: %@", OneSignalClientOverrider.lastHTTPRequest); | ||
|
||
//check to make sure the OSRequestCreateDevice HTTP call was made, and was formatted correctly | ||
XCTAssertTrue([NSStringFromClass([OSRequestUpdateDeviceToken class]) isEqualToString:OneSignalClientOverrider.lastHTTPRequestType]); | ||
XCTAssertEqual(OneSignalClientOverrider.lastHTTPRequest[@"app_id"], @"b2f7f966-d8cc-11e4-bed1-df8f05be55ba"); | ||
|
@@ -165,8 +165,6 @@ - (void)testUnauthenticatedEmail { | |
|
||
[UnitTestCommonMethods runBackgroundThreads]; | ||
|
||
NSLog(@"LAST HTTP TYPE: %@", OneSignalClientOverrider.lastHTTPRequestType); | ||
NSLog(@"LAST HTTP REQ: %@", OneSignalClientOverrider.lastHTTPRequest); | ||
//check to make sure the server gets updated with the new email | ||
XCTAssertTrue([NSStringFromClass([OSRequestUpdateDeviceToken class]) isEqualToString:OneSignalClientOverrider.lastHTTPRequestType]); | ||
XCTAssertEqual(OneSignalClientOverrider.lastHTTPRequest[@"app_id"], @"b2f7f966-d8cc-11e4-bed1-df8f05be55ba"); | ||
|