Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Configurations/Parse-iOS.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

PRODUCT_NAME = Parse
PRODUCT_BUNDLE_IDENTIFIER = com.parse.ios
APPLICATION_EXTENSION_API_ONLY = YES

MACH_O_TYPE = staticlib
DEFINES_MODULE = YES
Expand Down
2 changes: 1 addition & 1 deletion Parse/Internal/Push/PFPushPrivate.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ NS_ASSUME_NONNULL_BEGIN
+ (nullable NSString *)getDeviceTokenFromKeychain;
+ (void)clearDeviceToken;

#if TARGET_OS_IPHONE
#if TARGET_OS_IOS

+ (void)showAlertViewWithTitle:(nullable NSString *)title message:(nullable NSString *)message NS_EXTENSION_UNAVAILABLE_IOS("");
+ (void)playVibrate;
Expand Down
4 changes: 2 additions & 2 deletions Parse/Internal/Push/Utilites/PFPushUtilities.m
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ + (void)clearDeviceToken {
[[[PFKeychainStore alloc] initWithService:@"ParsePush"] removeObjectForKey:@"ParsePush"];
}

#if TARGET_OS_IPHONE
#if TARGET_OS_IOS

+ (void)showAlertViewWithTitle:(NSString *)title message:(NSString *)message {
+ (void)showAlertViewWithTitle:(nullable NSString *)title message:(nullable NSString *)message NS_EXTENSION_UNAVAILABLE_IOS("") {
NSString *cancelButtonTitle = NSLocalizedStringFromTableInBundle(@"OK", @"Parse",
[NSBundle bundleForClass:[self class]],
@"Default alert view cancel button title.");
Expand Down