diff --git a/Framework/Pushwoosh.framework/Versions/A/Headers/Pushwoosh.h b/Framework/Pushwoosh.framework/Versions/A/Headers/Pushwoosh.h index f3801f83..37b01a99 100644 --- a/Framework/Pushwoosh.framework/Versions/A/Headers/Pushwoosh.h +++ b/Framework/Pushwoosh.framework/Versions/A/Headers/Pushwoosh.h @@ -18,7 +18,7 @@ #endif -#define PUSHWOOSH_VERSION @"6.5.11" +#define PUSHWOOSH_VERSION @"6.5.12" @class Pushwoosh, PWMessage, PWNotificationCenterDelegateProxy; diff --git a/Framework/Pushwoosh.framework/Versions/A/Pushwoosh b/Framework/Pushwoosh.framework/Versions/A/Pushwoosh index 1a640067..e66921b9 100644 Binary files a/Framework/Pushwoosh.framework/Versions/A/Pushwoosh and b/Framework/Pushwoosh.framework/Versions/A/Pushwoosh differ diff --git a/XCFramework/Pushwoosh.xcframework/Info.plist b/XCFramework/Pushwoosh.xcframework/Info.plist index 3d3e0a90..95af9336 100644 --- a/XCFramework/Pushwoosh.xcframework/Info.plist +++ b/XCFramework/Pushwoosh.xcframework/Info.plist @@ -6,34 +6,34 @@ LibraryIdentifier - ios-arm64 + ios-arm64_x86_64-simulator LibraryPath Pushwoosh.framework SupportedArchitectures arm64 + x86_64 SupportedPlatform ios + SupportedPlatformVariant + simulator LibraryIdentifier - ios-arm64_x86_64-maccatalyst + ios-arm64 LibraryPath Pushwoosh.framework SupportedArchitectures arm64 - x86_64 SupportedPlatform ios - SupportedPlatformVariant - maccatalyst LibraryIdentifier - ios-arm64_x86_64-simulator + ios-arm64_x86_64-maccatalyst LibraryPath Pushwoosh.framework SupportedArchitectures @@ -44,7 +44,7 @@ SupportedPlatform ios SupportedPlatformVariant - simulator + maccatalyst CFBundlePackageType diff --git a/XCFramework/Pushwoosh.xcframework/ios-arm64/Pushwoosh.framework/Headers/Pushwoosh.h b/XCFramework/Pushwoosh.xcframework/ios-arm64/Pushwoosh.framework/Headers/Pushwoosh.h index f3801f83..37b01a99 100644 --- a/XCFramework/Pushwoosh.xcframework/ios-arm64/Pushwoosh.framework/Headers/Pushwoosh.h +++ b/XCFramework/Pushwoosh.xcframework/ios-arm64/Pushwoosh.framework/Headers/Pushwoosh.h @@ -18,7 +18,7 @@ #endif -#define PUSHWOOSH_VERSION @"6.5.11" +#define PUSHWOOSH_VERSION @"6.5.12" @class Pushwoosh, PWMessage, PWNotificationCenterDelegateProxy; diff --git a/XCFramework/Pushwoosh.xcframework/ios-arm64/Pushwoosh.framework/Pushwoosh b/XCFramework/Pushwoosh.xcframework/ios-arm64/Pushwoosh.framework/Pushwoosh index e4f9bd16..46a6265d 100755 Binary files a/XCFramework/Pushwoosh.xcframework/ios-arm64/Pushwoosh.framework/Pushwoosh and b/XCFramework/Pushwoosh.xcframework/ios-arm64/Pushwoosh.framework/Pushwoosh differ diff --git a/XCFramework/Pushwoosh.xcframework/ios-arm64_x86_64-maccatalyst/Pushwoosh.framework/Versions/A/Headers/Pushwoosh.h b/XCFramework/Pushwoosh.xcframework/ios-arm64_x86_64-maccatalyst/Pushwoosh.framework/Versions/A/Headers/Pushwoosh.h index f3801f83..37b01a99 100644 --- a/XCFramework/Pushwoosh.xcframework/ios-arm64_x86_64-maccatalyst/Pushwoosh.framework/Versions/A/Headers/Pushwoosh.h +++ b/XCFramework/Pushwoosh.xcframework/ios-arm64_x86_64-maccatalyst/Pushwoosh.framework/Versions/A/Headers/Pushwoosh.h @@ -18,7 +18,7 @@ #endif -#define PUSHWOOSH_VERSION @"6.5.11" +#define PUSHWOOSH_VERSION @"6.5.12" @class Pushwoosh, PWMessage, PWNotificationCenterDelegateProxy; diff --git a/XCFramework/Pushwoosh.xcframework/ios-arm64_x86_64-maccatalyst/Pushwoosh.framework/Versions/A/Pushwoosh b/XCFramework/Pushwoosh.xcframework/ios-arm64_x86_64-maccatalyst/Pushwoosh.framework/Versions/A/Pushwoosh index 9c48b5c3..e6f6208e 100755 Binary files a/XCFramework/Pushwoosh.xcframework/ios-arm64_x86_64-maccatalyst/Pushwoosh.framework/Versions/A/Pushwoosh and b/XCFramework/Pushwoosh.xcframework/ios-arm64_x86_64-maccatalyst/Pushwoosh.framework/Versions/A/Pushwoosh differ diff --git a/XCFramework/Pushwoosh.xcframework/ios-arm64_x86_64-simulator/Pushwoosh.framework/Headers/Pushwoosh.h b/XCFramework/Pushwoosh.xcframework/ios-arm64_x86_64-simulator/Pushwoosh.framework/Headers/Pushwoosh.h index f3801f83..37b01a99 100644 --- a/XCFramework/Pushwoosh.xcframework/ios-arm64_x86_64-simulator/Pushwoosh.framework/Headers/Pushwoosh.h +++ b/XCFramework/Pushwoosh.xcframework/ios-arm64_x86_64-simulator/Pushwoosh.framework/Headers/Pushwoosh.h @@ -18,7 +18,7 @@ #endif -#define PUSHWOOSH_VERSION @"6.5.11" +#define PUSHWOOSH_VERSION @"6.5.12" @class Pushwoosh, PWMessage, PWNotificationCenterDelegateProxy; diff --git a/XCFramework/Pushwoosh.xcframework/ios-arm64_x86_64-simulator/Pushwoosh.framework/Pushwoosh b/XCFramework/Pushwoosh.xcframework/ios-arm64_x86_64-simulator/Pushwoosh.framework/Pushwoosh index a4535cba..5882dc50 100755 Binary files a/XCFramework/Pushwoosh.xcframework/ios-arm64_x86_64-simulator/Pushwoosh.framework/Pushwoosh and b/XCFramework/Pushwoosh.xcframework/ios-arm64_x86_64-simulator/Pushwoosh.framework/Pushwoosh differ diff --git a/XCFramework/Pushwoosh.xcframework/ios-arm64_x86_64-simulator/Pushwoosh.framework/_CodeSignature/CodeResources b/XCFramework/Pushwoosh.xcframework/ios-arm64_x86_64-simulator/Pushwoosh.framework/_CodeSignature/CodeResources index 65f8c767..a895306e 100644 --- a/XCFramework/Pushwoosh.xcframework/ios-arm64_x86_64-simulator/Pushwoosh.framework/_CodeSignature/CodeResources +++ b/XCFramework/Pushwoosh.xcframework/ios-arm64_x86_64-simulator/Pushwoosh.framework/_CodeSignature/CodeResources @@ -50,7 +50,7 @@ Headers/Pushwoosh.h - deX9WCCNnZou6goP3bOR/MRdOEM= + PE1CXH9yHWdzlMj+fCq8jPH6cF0= Info.plist @@ -148,7 +148,7 @@ hash2 - 6h9oRu4q6E6l8LE/a8uondagMKiFa7BDpDhMw6K2sAE= + zihst3Kq8ClTlMs5D/CKnkhybrgnQFzSraRQvebtoRQ= Modules/module.modulemap diff --git a/XCFramework/PushwooshGeozones.xcframework/Info.plist b/XCFramework/PushwooshGeozones.xcframework/Info.plist index f42c6173..e8f806d5 100644 --- a/XCFramework/PushwooshGeozones.xcframework/Info.plist +++ b/XCFramework/PushwooshGeozones.xcframework/Info.plist @@ -6,18 +6,15 @@ LibraryIdentifier - ios-arm64_x86_64-simulator + ios-arm64 LibraryPath PushwooshGeozones.framework SupportedArchitectures arm64 - x86_64 SupportedPlatform ios - SupportedPlatformVariant - simulator LibraryIdentifier @@ -36,15 +33,18 @@ LibraryIdentifier - ios-arm64 + ios-arm64_x86_64-simulator LibraryPath PushwooshGeozones.framework SupportedArchitectures arm64 + x86_64 SupportedPlatform ios + SupportedPlatformVariant + simulator CFBundlePackageType diff --git a/iOS_SDK/Pushwoosh/Pushwoosh.podspec b/iOS_SDK/Pushwoosh/Pushwoosh.podspec index 92f0acbc..ffb054f8 100644 --- a/iOS_SDK/Pushwoosh/Pushwoosh.podspec +++ b/iOS_SDK/Pushwoosh/Pushwoosh.podspec @@ -5,7 +5,7 @@ Pod::Spec.new do |s| s.name = "Pushwoosh" - s.version = "6.5.11" + s.version = "6.5.12" s.summary = "Push notifications library by Pushwoosh." s.platform = :ios diff --git a/iOS_SDK/Pushwoosh/Pushwoosh/Network/Requests/Registration/PWRegisterDeviceRequest.m b/iOS_SDK/Pushwoosh/Pushwoosh/Network/Requests/Registration/PWRegisterDeviceRequest.m index 74ef94c5..b5af2b78 100644 --- a/iOS_SDK/Pushwoosh/Pushwoosh/Network/Requests/Registration/PWRegisterDeviceRequest.m +++ b/iOS_SDK/Pushwoosh/Pushwoosh/Network/Requests/Registration/PWRegisterDeviceRequest.m @@ -28,7 +28,7 @@ @implementation PWRegisterDeviceRequest - (instancetype)init { if (self = [super init]) { - self.cacheable = NO; + self.cacheable = YES; } return self; } diff --git a/iOS_SDK/Pushwoosh/Pushwoosh/Notifications/PWPushNotificationsManager/PWPushNotificationsManager.common.m b/iOS_SDK/Pushwoosh/Pushwoosh/Notifications/PWPushNotificationsManager/PWPushNotificationsManager.common.m index a7728395..dc6c3fc5 100644 --- a/iOS_SDK/Pushwoosh/Pushwoosh/Notifications/PWPushNotificationsManager/PWPushNotificationsManager.common.m +++ b/iOS_SDK/Pushwoosh/Pushwoosh/Notifications/PWPushNotificationsManager/PWPushNotificationsManager.common.m @@ -27,7 +27,7 @@ #import "PWInAppManager+Internal.h" -const NSTimeInterval kRegistrationUpdateInterval = 5 * 60; +const NSTimeInterval kRegistrationUpdateInterval = 24 * 60 * 60; @interface PWPushNotificationsManagerCommon () @@ -152,7 +152,8 @@ - (void)sendDevTokenToServer:(NSString *)deviceID triggerCallbacks:(BOOL)trigger NSDate *lastReg = [PWPreferences preferences].lastRegTime; if (lastReg) { NSTimeInterval secondsBetween = [[NSDate date] timeIntervalSinceDate:lastReg]; - if (secondsBetween < kRegistrationUpdateInterval) { + + if ([[PWPreferences preferences].pushToken isEqualToString:deviceID] && secondsBetween < kRegistrationUpdateInterval) { PWLogInfo(@"Registered for push notifications: %@", deviceID); [self sendTokenToDelegate:deviceID triggerCallbacks:triggerCallbacks]; diff --git a/iOS_SDK/Pushwoosh/Pushwoosh/Public/Pushwoosh.h b/iOS_SDK/Pushwoosh/Pushwoosh/Public/Pushwoosh.h index f3801f83..37b01a99 100644 --- a/iOS_SDK/Pushwoosh/Pushwoosh/Public/Pushwoosh.h +++ b/iOS_SDK/Pushwoosh/Pushwoosh/Public/Pushwoosh.h @@ -18,7 +18,7 @@ #endif -#define PUSHWOOSH_VERSION @"6.5.11" +#define PUSHWOOSH_VERSION @"6.5.12" @class Pushwoosh, PWMessage, PWNotificationCenterDelegateProxy; diff --git a/iOS_SDK/Pushwoosh/PushwooshXCFramework.podspec b/iOS_SDK/Pushwoosh/PushwooshXCFramework.podspec index c80dd015..2d1ec8c5 100644 --- a/iOS_SDK/Pushwoosh/PushwooshXCFramework.podspec +++ b/iOS_SDK/Pushwoosh/PushwooshXCFramework.podspec @@ -5,7 +5,7 @@ Pod::Spec.new do |s| s.name = "PushwooshXCFramework" - s.version = "6.5.11" + s.version = "6.5.12" s.summary = "Push notifications library by Pushwoosh." s.platform = :ios diff --git a/iOS_SDK/Pushwoosh/build/XCBuildData/3ab3655adfa3ac88d9a7a06159a1c56e.xcbuilddata/task-store.msgpack b/iOS_SDK/Pushwoosh/build/XCBuildData/3ab3655adfa3ac88d9a7a06159a1c56e.xcbuilddata/task-store.msgpack index 1ac6d205..a438a1ea 100644 Binary files a/iOS_SDK/Pushwoosh/build/XCBuildData/3ab3655adfa3ac88d9a7a06159a1c56e.xcbuilddata/task-store.msgpack and b/iOS_SDK/Pushwoosh/build/XCBuildData/3ab3655adfa3ac88d9a7a06159a1c56e.xcbuilddata/task-store.msgpack differ diff --git a/iOS_SDK/Pushwoosh/build/XCBuildData/build.db b/iOS_SDK/Pushwoosh/build/XCBuildData/build.db index cabada44..99ec2997 100644 Binary files a/iOS_SDK/Pushwoosh/build/XCBuildData/build.db and b/iOS_SDK/Pushwoosh/build/XCBuildData/build.db differ diff --git a/iOS_SDK/Pushwoosh/buildI/XCBuildData/31bd206d1e51e1bdf54fbbe471b480ef.xcbuilddata/task-store.msgpack b/iOS_SDK/Pushwoosh/buildI/XCBuildData/31bd206d1e51e1bdf54fbbe471b480ef.xcbuilddata/task-store.msgpack index 3e15d093..7724fdee 100644 Binary files a/iOS_SDK/Pushwoosh/buildI/XCBuildData/31bd206d1e51e1bdf54fbbe471b480ef.xcbuilddata/task-store.msgpack and b/iOS_SDK/Pushwoosh/buildI/XCBuildData/31bd206d1e51e1bdf54fbbe471b480ef.xcbuilddata/task-store.msgpack differ diff --git a/iOS_SDK/Pushwoosh/buildI/XCBuildData/7756546ab06d39be652f8bcdba402ae0.xcbuilddata/task-store.msgpack b/iOS_SDK/Pushwoosh/buildI/XCBuildData/7756546ab06d39be652f8bcdba402ae0.xcbuilddata/task-store.msgpack index bd38122f..b519da1b 100644 Binary files a/iOS_SDK/Pushwoosh/buildI/XCBuildData/7756546ab06d39be652f8bcdba402ae0.xcbuilddata/task-store.msgpack and b/iOS_SDK/Pushwoosh/buildI/XCBuildData/7756546ab06d39be652f8bcdba402ae0.xcbuilddata/task-store.msgpack differ diff --git a/iOS_SDK/Pushwoosh/buildI/XCBuildData/build.db b/iOS_SDK/Pushwoosh/buildI/XCBuildData/build.db index c0968cd5..87dd4ea1 100644 Binary files a/iOS_SDK/Pushwoosh/buildI/XCBuildData/build.db and b/iOS_SDK/Pushwoosh/buildI/XCBuildData/build.db differ