diff --git a/iOS_SDK/Framework/OneSignal.framework/Versions/A/OneSignal b/iOS_SDK/Framework/OneSignal.framework/Versions/A/OneSignal index 08731f931..b301517f3 100644 Binary files a/iOS_SDK/Framework/OneSignal.framework/Versions/A/OneSignal and b/iOS_SDK/Framework/OneSignal.framework/Versions/A/OneSignal differ diff --git a/iOS_SDK/OneSignal/OneSignal.m b/iOS_SDK/OneSignal/OneSignal.m index 62635ff55..4be1db748 100755 --- a/iOS_SDK/OneSignal/OneSignal.m +++ b/iOS_SDK/OneSignal/OneSignal.m @@ -81,7 +81,7 @@ @implementation OneSignal -NSString* const ONESIGNAL_VERSION = @"020301"; +NSString* const ONESIGNAL_VERSION = @"020302"; static NSString* mSDKType = @"native"; static BOOL coldStartFromTapOnNotification = NO; @@ -473,7 +473,7 @@ + (void)postNotification:(NSDictionary*)jsonData { } + (void)postNotification:(NSDictionary*)jsonData onSuccess:(OSResultSuccessBlock)successBlock onFailure:(OSFailureBlock)failureBlock { - NSMutableURLRequest* request = [httpClient requestWithMethod:@"GET" path:@"notifications"]; + NSMutableURLRequest* request = [httpClient requestWithMethod:@"POST" path:@"notifications"]; NSMutableDictionary* dataDic = [[NSMutableDictionary alloc] initWithDictionary:jsonData]; dataDic[@"app_id"] = app_id;